Hosting » AWS » What is VPC in AWS and how it works?

What is VPC in AWS and how it works?

Last updated on September 25, 2022 @ 6:00 pm

What is a VPC?

A VPC is a type of AWS account that allows for greater control and isolation of your AWS resources. With a VPC, you can create a separate AWS account for each of your applications or services, each with its own set of resources.

This allows you to more easily manage and monitor your applications and services, and to manage security and access permissions for each separately.

How does a VPC work?

A VPC is a virtual network in AWS. It is a collection of interconnected AWS resources, including EC2 instances, Route 53 DNS servers, and S3 buckets.

Your instances run inside the VPC, and you can use the VPC network to access the resources inside the VPC. You can also use the VPC network to access the resources in other VPCs.

When you create a VPC, you specify the following:

The name of the VPC

The AWS Region in which the VPC is located

The Availability Zone in which the VPC is located

The type of security you want to use for the VPC

The subnet size for the VPC

The DNS server for the VPC

The route table for the VPC

The security group for the VPC

The S3 bucket for the VPC

The EC2 instance type for the VPC

You can also specify an IAM role for the VPC, and a NAT instance for the VPC.

PRO TIP: Please be aware that VPC in AWS is a virtual private cloud that provides you with your own isolated network in the AWS cloud. It is important to understand how it works before using it, as it can be complex and may cause unexpected results if not used correctly.

A VPC can contain one or more subnets. You can use a subnet for your own applications or services, or you can use a subnet for a third-party application or service.

A VPC also has a public and a private subnet. The public subnet is accessible from the internet.

The private subnet is not accessible from the internet, and it is used to isolate your applications or services from each other.

When you create a VPC, you also create a security group for the VPC. The security group allows you to specify the types of traffic that can enter or exit the VPC.

You can use a VPC to create a separate set of resources for each of your applications or services. This allows you to more easily manage and monitor your applications and services, and to manage security and access permissions for each separately.

Conclusion

A VPC is a virtual network in AWS that allows for greater control and isolation of your AWS resources.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.