May 2018
Intermediate to advanced
554 pages
13h 51m
English
Virtual Private Cloud (VPC) is a Software-Defined Network. You can configure a virtual network on AWS. Subnets are inside of VPC that define network block (Classless Inter Domain Routing (CIDR)) such as 192.168.1.0/24.
Let's create one VPC and two subnets using the following steps:
$ aws ec2 create-vpc --cidr-block 192.168.0.0/16{ "Vpc": { "CidrBlock": "192.168.0.0/16", "DhcpOptionsId": "dopt-3d901958", "State": "pending", "VpcId": "vpc-69cfbd12", "InstanceTenancy": "default", "Ipv6CidrBlockAssociationSet": [], "CidrBlockAssociationSet": [ { "AssociationId": "vpc-cidr-assoc-c35411ae", "CidrBlock": ...Read now
Unlock full access