AWS Create a VPC manually

Source: Internet
Author: User

As a result of development requirements, a set of Elb with the same formal environment should be deployed for testing; the intention to start the Creation Wizard was created, and AWS failed and had to be manual;


1) Enter vpc options = = = "Your vpc==" to create a vpc=== "fill in the name and CIDR block (it is important that the network is not familiar with the recommendations according to the default fill, of course, this network segment will be large, to avoid future extensibility, but not affected; You can fill in the default 10.0.0.0/16)


2) Create subnets, ideas: According to the needs of several network segments (generally at least 3, two public network, according to the AWS 1a and 1b availability zone, plus the Intranet 1a or 1b can be;

Subnet = = "create subnet = =" When filling in "CIDR block", remember to choose 1a, 1b and other partitions; Here we choose three network segments;

Fill in 10.0.0.0/24,10.0.1.0/24;10.0.2.0/24, etc...

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/87/4A/wKiom1faovXyelm0AABjCLRgT7k228.png-wh_500x0-wm_3 -wmp_4-s_1748413616.png "style=" Float:none; "title=" 3.png "alt=" Wkiom1faovxyelm0aabjclrgt7k228.png-wh_50 "/>

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/87/4A/wKiom1faovWTbEPyAABayCUxXC8506.png-wh_500x0-wm_3 -wmp_4-s_497413698.png "style=" Float:none; "title=" 4.png "alt=" Wkiom1faovwtbepyaabaycuxxc8506.png-wh_50 "/>

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/87/47/wKioL1faovbCyX0uAABg3S8WT1s749.png-wh_500x0-wm_3 -wmp_4-s_3451157041.png "style=" Float:none; "title=" 5.png "alt=" Wkiol1faovbcyx0uaabg3s8wt1s749.png-wh_50 "/>


3) Set the routing table; The General 1a 1b of the availability zone to ensure that the external network is through, 1a private subnet only through the above three intranet;

"This is very important to your network's connectivity situation"

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/87/4A/wKiom1fapB-TEyZhAADakL4Q0E4295.png-wh_500x0-wm_3 -wmp_4-s_2792777562.png "title=" Aaa.png "alt=" Wkiom1fapb-teyzhaadakl4q0e4295.png-wh_50 "/>


All_network is the release no_network is outside the network does not pass


4) Create an Internet gateway with the name, select the vpc you just created

5) Here assign the route to the All_network

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/87/47/wKioL1fapsbzg1oFAABmKlhWaQs564.png-wh_500x0-wm_3 -wmp_4-s_714804199.png "title=" Bbb.png "alt=" Wkiol1fapsbzg1ofaabmklhwaqs564.png-wh_50 "/>

Target completion 0.0.0.0/24 Target 2: Select the Internet gateway you just created; the subnet is connected to the network;


How to set up a private subnet, only let the internal Netcom, the outside network does not pass, here according to your choice of private subnet 1a casually open a EC2, to confirm that the network segment to open the minimum default minimum machine (so no cost to produce) association after the shutdown, all access is discarded, both constitute a private subnet , and then set the following diagram in the routing table. Subnet Association is also selected on the setup success;


650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/87/47/wKioL1faqHST7Y5WAAAtyBu1hdU046.png-wh_500x0-wm_3 -wmp_4-s_2292995126.png "title=" Ccc.png "alt=" Wkiol1faqhst7y5waaatybu1hdu046.png-wh_50 "/>


650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/87/4A/wKiom1faqDLy7DOdAABXCLaTFjE549.png-wh_500x0-wm_3 -wmp_4-s_2724685935.png "style=" Float:none; "title=" Ddd.png "alt=" Wkiom1faqdly7dodaabxclatfje549.png-wh_50 "/>


Such

10.0.0.0/24

10.0.1.0/24

10.0.2.0/24

are in a large sub-network, cut 0, 2 network segments can and external network interoperability, 1 can only be accessed through the other two network segments;


The final routing table should be shown this way;

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/87/4A/wKiom1faqjzjVUfJAAAy36AewI8101.png "title=" QQ picture 20160915220242.png "style=" float:left; "alt=" Wkiom1faqjzjvufjaaay36aewi8101.png "/>



AWS Create a VPC manually

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.