Header Ads

VPC - Amazon Web Services

VPC (Virtual Private Cloud) is Virtual Network offering of AWS. VPC let you create a logical isolation in which you can deploy your resources. VPC let you create public and private facing subnets. As with other cloud providers address ranges of VPC and subnets are defined in CIDR (Classless Inter-Domain Routing) notation. To know more about CIDR format please read my earlier blog.

AWS does support IPv6 for VPC.

How to create Virtual Private Cloud?
  1. Login to AWS console.
  2. From services menu, select VPC under Networking & Content Delivery section.
  3. You can either create VPC by clicking Launch VPC Wizard or by separately creating VPC and Subnet. We will follow the earlier approach.
  4. Once you click on Launch VPC Wizard, you will be given 4 different options, a Hardware VPN Access helps you to connect AWS VPC and your datacenter, home network or co-location facility.
    • VPC with Single Public Subnet
    • VPC with Public and Private Subnets
    • VPC with Public and Private Subnets and Hardware VPN Access
    • VPC with a Private Subnet Only and Hardware VPN Access.
  5. I will go with VPC with Single Public Subnet option, after clicking that you will be asked for configuring below-mentioned settings
    • IPv4 CIDR block: CIDR should be between /16 and /28 and AWS will reserve 5 IP address for its internal use.
    • IPv6 CIDR block: you can have Azure provided IPv6 IP address ranges for your VPC.
    • VPC name: give your VPC a nice name.
    • Public subnet's IPv4: You can create subnet as small as one IP address by providing CIDR as /32.
    • Availability Zone: based on your location, AWS will ask you to select an availability zone for your subnet.
    • Subnet name: give a nice name for your subnet.
    • Service endpoints: you can select service endpoints (currently Gateway endpoints: S3 and DynamoDb, are supported) from the drop-down box provided, this will help your service to be securely connected to your subnet. However, if you want to connect other services you can create an interface endpoint.
    • You can also Enable DNS hostnames or select Hardware tenancy for your VPC.
  6. Once you are done configuring you will see your VPC in "Your VPC" section.
That's it. Happy Learning.

No comments

Powered by Blogger.