How to Create a VPC: Amazon VPC Getting Started Guide p23

How to Create a VPC

The first object to create is a VPC. When creating the VPC, you simply provide the set of IP addresses you want the VPC to cover. You specify this set of addresses in the form of a Classless Inter-Domain Routing (CIDR) block. For example, For information about CIDR notation and what the "/24" means, go to the Wikipedia article about Classless Inter-Domain Routing. The minimum allowed
size of the block is a /28 netmask (16 IP addresses), and the maximum is a /16 netmask (65,536 IP addresses). For more information about things to consider when determining the size of your VPC, see VPC Sizing (p. 40).
IPアドレス群指定には、Classless Inter-Domain Routing(CIDR)ブロック形式で指定します(ex.。
CIDR書式および"/24"の意味については、WikipediaのClassless Inter-Domain Routingの項を参照してください。
VPCサイズ決定のための考慮点詳細は、VPC Sizing(p.40)を参照してください。

In this example, we'll create a VPC with CIDR range The "/24" means that the VPC will have 256 IP addresses ( -

The response includes the unique ID that Amazon VPC assigns to the VPC and the VPC's current state (pending or available).

To create a VPC

・Use the ec2-create-vpc command.

PROMPT> ec2-create-vpc

VPC pending default

The response includes the unique ID for the VPC (which looks similar to vpc-1a2b3c4d). Copy and paste that value somewhere because you will need it. The response also includes the current state of the VPC (pending). Lastly, the default indicates that the VPC is using the default DHCP options (for more information, see Using DHCP Options (p. 40)).

You need to wait until the VPC's state is available before moving forward. You can get its current state from its description.

To get a VPC's description

・Use the ec2-describe-vpcs command.

PROMPT> ec2-describe-vpcs

VPC available default

0 件のコメント:

Dockerのバージョンが17.xになり、Ubuntu Serverへのインストールがまたちょこっと変わった

ひさしぶりにDockerサイトへ行ったら Dockerのバージョンがかわっていた.. しかも昔Solarisとかがやったマイナーバージョンを メジャーバージョンに繰り上げしやがった。 で、 今後は毎月リリースするらしい。 今は2017年3月だから17.3.x...