DEV Community

Aadit Unni
Aadit Unni

Posted on • Updated on

Create a VPC with resources to communicate with the Internet

[11/100] #100DaysOfCloud Today, I created a VPC with a Public Subnet and an Internet Gateway that allows an EC2 Instance to communicate with the internet.

Amazon Virtual Private Cloud (Amazon VPC) :
Amazon Virtual Private Cloud (Amazon VPC) enables you to launch Amazon resources into a virtual network that you've defined. This virtual network closely resembles a traditional network that you'd operate in your own data center, with the benefits of using the scalable infrastructure of Amazon. It gives you full control over your virtual networking environment, including resource placement, connectivity, and security.

With VPC, you can control inbound and outbound access for your resources in your own virtual private network and connect your data center with AWS cloud securely along with other VPCs in your AWS accounts and VPCs in other AWS accounts. You can also securely access data on S3 from your resources in VPC without using the internet.

All these along with many other features make VPC a preferred choice for a variety of use cases, such as hosting development and testing environments in AWS VPC. You could also use VPC for creating environments for Proof of Concept (PoC). These environments can be created on short notice and could act as an isolated network accessible only by specific teams or other resources. Since VPC is a software-defined network, it brings loads of flexibility in designing, integrating, and securing your resources in AWS cloud.

You can try to Create a VPC with a Public Subnet and an Internet Gateway that allows an EC2 Instance to communicate with internet yourself by following the steps from the link below :
GitHub

Top comments (0)