Virtual Private Cloud using AWS

Virtual Private Cloud using AWS

Definition:

A VPC is a logically isolated portion of the AWS cloud within a region. A VPC is a virtual network that closely resembles a traditional network that you'd operate in your own data center.

image1

Basic Terminologies:

  1. Public Subnet:

    The Subnet has a direct route to an internet gateway. Resources in a public subnet can access the public internet.

  2. Private Subnet:

    The subnet does not have a direct route to an internet gateway. Resources in private subnet require a NAT device to access the public internet.

  3. Internet Gateway:

    An internet gateway enables resources in your public subnets( such as EC2 instances )to connect the internet if the resources has a public IPv4 address or IPv6 address.

  4. NAT Gateway:

    A NAT gateway is a Network Address Tranlation service. NAT gateway is used so that instances in a private subnet can connect to services outside VPC.

  5. Network ACL:

    Allows or denies specific inbound or outbound traffic at the subnet level.

  6. Security Group:

    Controls the traffic that is allowed to reach and leave the resources that it is associated with.

  7. EC2 instances:

    Amazon Elastic Compute Cloud (EC2) provides on-demand, scalable computing capacity in the aws cloud.

  8. EC2 Auto Scaling:

    It helps you ensure that you have the correct number of amazon EC2 instances available to handle the load for your application.

  9. Application Load Balancer:

    Elastic Load Balancing automatically distributes your incoming traffic across multiple targets, such as EC2 instances, containers, and IP addresses, in one or more Availability Zones.

What did I learn?

I was able to get started using aws. I understood the above terminologies and created a simple VPC in aws with the above mentioned components.