3 Answers
- Newest
- Most votes
- Most comments
1
The hosts in private subnet can get access to internet by using a network address translation (NAT) gateway that resides in the public subnet. Your bastion host can connect to the internet for software updates using the NAT gateway, but the internet cannot establish connections to the bastion host. So, its up to you if you want your bastion host in the same subnet where your database server is or in a private subnet.
0
Hello,
If you only want the bastion server to connect to SSM, you can configure VPC Endpoints for Instances with no Internet access.
0
If you are only concerned with patches, you could do this:
Then you don't need the NAT Gateway, public subnet, or Internet Gateway.
Relevant content
- asked 3 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Thank you. In this case can't I just add an RDS VPC Endpoint and connect to my RDS instance in my Private Isolated Subnet directly from my local machine without an EC2 instance altogether?