Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

Query Athena S3 data

Process S3 data fetched in Athena Query using Step Functions.

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** attribute.

Launch Stack

GitHub icon Visit the GitHub repo for this workflow.

< Back to workflows

Download

git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/step-functions-athena-glue-sam/ cd step-functions-workflows-collection/step-functions-athena-glue-sam/

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete

Abhishek Agawane

Presented by Abhishek Agawane

I am a Cloud Support Engineer (Serverless) at AWS who loves baking pizzas

Follow on LinkedIn