Passer au contenu

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)

demandé il y a un an138 vues
1 réponse
1
Réponse acceptée

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
répondu il y a un an
EXPERT
vérifié il y a un an
EXPERT
vérifié il y a un an
EXPERT
vérifié il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.