AWS

How IAM authentication works with RDS?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

For example:

  1. EC2 instance uses IAM role to make an API call to get auth token
  2. The token, with SSL encryption, is used for accessing the RDS instance

Note: The token has a lifetime of 15 minutes