Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default AWS VPC vs A new one?

Should I use the AWS Default VPC, or should I create a new one?

What are the differences and advantages to create a new one?

Or, in witch situations should I select between the two?

like image 324
Ofer Velich Avatar asked Jan 18 '15 05:01

Ofer Velich


People also ask

Should you use the default AWS VPC?

Avoid them when using automation. On the networking side, the default VPC enables the assignment of public addresses in public subnets by default. This is a security no-no. If a developer errs in automation or the console, you don't want the instance to be reachable by the Internet.

What are the benefits of a default VPC?

A default VPC is suitable for getting started quickly and for launching public instances such as a blog or simple website. You can modify the components of your default VPC as needed. You can add subnets to your default VPC. For more information, see Create a subnet in your VPC.

What happens by default when you use Amazon VPC to create a new VPC?

AWS will automatically create a default VPC for you and will create a default subnet in each Availability Zone in the AWS region. Your default VPC will be connected to an Internet gateway and your instances will automatically receive public IP addresses, just like EC2-Classic.

Should I delete AWS default VPC?

Can I delete a default VPC? Deleting a default VPC, subnets, and internet gateway doesn't have any direct impact on your other AWS resources in non-default VPCs. Depending on the set up and your network architecture, there might be traffic impact.


1 Answers

The default VPC is a public VPC. It is designed to make it easy to get going with EC2/RDS and other related AWS services. It has an internet gateway and public subnets with corresponding route table. So, it's a good way to go if you don't know how to setup a VPC, you only need publicly accessible resources, or you're playing around or quickly prototyping something.

However, for production or environments in which you need to keep parts of your network private, I would recommend creating your own. This allows you to setup exactly what need. It is more complicated than just using the default but if you already know how to setup a VPC, it's recommended.

like image 186
Kelly Ford Avatar answered Oct 24 '22 20:10

Kelly Ford