Using AWS Step Functions to query Amazon Athena Amazon S3 data

AWS Step Functions → Amazon Athena → AWS Glue → Amazon S3

Using Step Functions to query Athena S3 data.

This serverless pattern uses Amazon Athena allows to analyze data in Amazon S3 using standard SQL.
A Glue crawler creates a database table from the S3 data which is queried by Athena.
Step Functionsis leveraged to query as well as process each result in this data received from Athena with the help of **NextToken**.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/step-functions-athena-glue-sam

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: same delete.

Created by:

Abhishek Agawane

Abhishek Agawane

I am a Cloud Support Engineer (Serverless) at AWS who loves cloud computing