跳至內容

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)

已提問 1 年前檢視次數 141 次
1 個回答
1
已接受的答案

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

專家
已回答 1 年前
專家
已審閱 1 年前
專家
已審閱 1 年前
專家
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。