Friday, 20 September 2024

Network in AWS - VPC

How to make EC2 instance in private subnet to access internet

  • Create a NAT gateway in public subnet
  • Edit route table associated to the private subnet. add a roue. destination: 0.0.0.0/0 target: that nat gateway

Security group

  • security group is locked down to region and vpc combination
  • security group only set ALLOWED rules

No comments:

Post a Comment