Skip to content

How to restrict Aurora db access to EC2 instances only

0

I want only EC2 instances to be able to access Aurora

How can this be done? Could not find any documentation yet, is there one?

Goal is to avoid that anything else but AWS services such as EC2 can access the db (more security)

asked a year ago134 views
1 Answer
1
Accepted Answer

Hello.

How about setting the RDS Aurora security group's inbound rules to only allow the EC2 security group?
If you set up a security group using the steps in the document below, only AWS resources with a specific security group can connect to RDS Aurora.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/tutorial-ec2-rds-option3.html#option3-task3-connect-rds-database-to-ec2-instance

EXPERT
answered a year ago
EXPERT
reviewed a year ago
EXPERT
reviewed a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.