Belajar Sendiri

Commands

aws ec2 create-vpc --cidr-block

aws ec2 create-vpc --cidr-block <cidr>

Risk: Safe

What it does

Fences off a new VPC: your own plot of addresses.

When to use it

To start a network for your servers. A VPC alone costs nothing; some parts inside it do.

Example

$ aws ec2 create-vpc --cidr-block 10.0.0.0/16

A plot with 65,536 private addresses.

$ aws ec2 describe-vpcs

List your VPCs, the default one too.