Direkt zum Inhalt

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)

gefragt vor einem Jahr138 Aufrufe
1 Antwort
1
Akzeptierte Antwort

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

EXPERTE
beantwortet vor einem Jahr
EXPERTE
überprüft vor einem Jahr
EXPERTE
überprüft vor einem Jahr
EXPERTE
überprüft vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.