Step 1. Open your Amazon Web Services & at the bottom of the page there is a option named VPC under Networking column.Click on it.
Step 2. Now click on the button Start VPC Wizard which is available at the top of the page.
Method 1 : VPC with a Single Public Subnet
Step 1. Now we have various configuration of vpc choose the configuration as per your requirements.As fer now i am choosing VPC with a Single Public Subnet.Now click on Select.
Step 2. Now specify following settings as per your requirements as for now i am specified the settings below.After that click on create VPC.
Availability zone : Specify Availablity as per your requirements
Note : Leave rest of the settings default
Step 3. Now your VPC is successfully created.Click on ok to view your vpc.
Step 4. Now your vpc is successfully created and in available state.
Step 5. Now we are going to attach VPC with our EC2 instance.For this we have to create a new instance.
http://cloudneer.com/academy/?kbe_knowledgebase=how-to-create-ec2-instance-in-amazon-aw
Note: If you want to create a new instance click on above link. While creating a new instance in step 3 Configure Instance Details.Under the network settings you can select a desired VPC.
Method 2 : VPC with a Public and Private Subnets
Step 1. Select VPC with public and Private Subnets.Now click on Select.
Step 2. Now specify following settings as per your requirements as for now i am specified the settings below.
VPC name : Specify any name for your vpc
Availability zone : Specify Availablity as per your requirements
Note: Now at the right most side of the page there is a option use a NAT instance instead click on it & specify the below settings.
Instance type : t2.micro
Key pair name : Specify your key pair name
Note : Leave rest of the settings default and click on Create VPC.
Step 3. Now your VPC is successfully created.Click on ok to view your vpc.
Step 4. Now your VPC is successfully created and in available state.
Step 5. Now we are going to attach VPC with our EC2 instance.For this we have to create a new instance.
http://cloudneer.com/academy/?kbe_knowledgebase=how-to-create-ec2-instance-in-amazon-aw
Note: If you want to create a new instance click on above link. While creating a new instance in step 3 Configure Instance Details.Under the network settings you can select a desired VPC.
Method 3 : VPC with Public and Private Subnets and Hardware VPN Access
Step 1. Select VPC with Public and Private Subnets and Hardware VPN Access.Now click on Select.
Step 2. Now specify following settings as per your requirements as for now i am specified the settings below.After that click on Next.
VPC name : Specify any name for your vpc
Availability zone : Specify Availablity as per your requirements
Note : Leave rest of the settings default.
Step 3. Now Configure following settings as per your requirements as for now i am specified the settings below.After that click on Create VPC.
Customer Gateway IP : The Internet-routable ip address of your customer gateway which is external interface to your VPN.
Customer Gateway Name : Specify any name to your Customer Gateway.
VPN Connection name : Specify any name to VPN Connection.
Step 4. Now your VPC is successfully created.Click on ok to view your vpc.
Step 5. Now your vpc is successfully created and in available state.
Method 4 : VPC with a Private Subnet Only and Hardware VPN Access
Step 1. Select VPC with a Private Subnet Only and Hardware VPN Access.Now click on Select.
Step 2. Now specify following settings as per your requirements as for now i am specified the settings below.After that click on Next.
VPC name : Specify any name for your vpc
Availability zone : Specify Availablity as per your requirements
Step 3. Now Configure following settings as per your requirements as for now i am specified the settings below.After that click on Create VPC.
VPN Connection name : Specify any name to VPN Connection.
Step 4. Now your VPC is successfully created.Click on ok to view your vpc.
Step 5. Now your vpc is successfully created and in available state.