Athena Federated Query with Amazon RDS

   Go back to the Task List

  « 6. Update Lambda Connector    8: Clean up »

7. Query the Database

Time to query RDS database using Amazon Athena Query Editor.

  1. Goto Athena Management console and click on Query Editor link.

    Athena

  2. On the next screen, select dojordscatalog as the data source and you will find the RDS instance database schemas listed under database field.

    Athena

  3. On the same screen, select public database and you will find customers table listed from the dojodatabase in the public schema in the RDS instance.

    Athena

  4. On the same screen, run the following query to fetch data from the customers table.

    select * from customers
    

    `

    Athena

  5. This finishes the workshop. Follow the next step to clean up the resources so that you don’t incur any cost post the workshop.