DEV Community

عبدالله عياد | Abdullah Ayad for AWS Community Builders

Posted on • Edited on

4

How to make your subnet public in your VPC ?

  1. You need to create and attach an Internet gateway to your VPC. This Internet gateway is a managed service, controlled, configured, and maintained by AWS.

  2. You need to add a default route (entry-point) to the route table associated with your subnet. The route could have a destination value of 0.0.0.0/0, and the target value will be set as your Internet gateway ID.

  3. Any instance that you're required to communicate with external resources on the Internet and beyond, will require a public IP address.

  4. You'll need to ensure that your public subnet NACL is not restricting or blocking expected ingress and egress traffic.



GitHub
LinkedIn
Facebook
Medium

Top comments (0)

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay