top of page

AWS Aurora IAM Token Access

  • Writer: datafinn
    datafinn
  • May 6, 2018
  • 1 min read

A quick follow-up on the longer post about RDS IAM token access for MySQL.  Aurora is similar with one small-but-not-obvious difference.  The instructions at https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.IAMPolicy.html regarding the IAM policy talk about instances and clusters.  For Aurora it looks like you need to reference the cluster id (cluster-...) and not the instance id.

In the language of the MySQL post the "rds_id" is the "Resource ID" from the Aurora cluster and not from any instance.  This is true even for single-instance clusters.

The same issues with mysql-connector-python vs pymysql exist for Aurora.  So far pymysql has worked fine.

 
 
 

Recent Posts

See All
AWS User Group Talk On Batch

Gave a brief talk to the AWS SG User Group on Batch -- a great service we use a lot. There was sadly no video coverage this month but the...

 
 
 
Pycon APAC Talk On Containers

We presented briefly on our experiences using Docker Containers to improve python software testing. There are many other excellent talks...

 
 
 
Pycon Thailand Talk On XPATH

Check out our recent talk on using XPATH/XML to increase python's already substantial parsing powers: https://www.youtube.com/watch?v=Wsw...

 
 
 

Comments


©2018 by Data Finnovation Pte. Ltd.

  • Black Twitter Icon
  • Black LinkedIn Icon
  • GitHub-Mark-120px-plus
bottom of page