aws ec2 create-vpc --cidr-block 10.0.0.0/16 --query Vpc.VpcId --output text
aws ec2 create-subnet --vpc-id **VPC-ID** --cidr-block 10.0.1.0/24
aws ec2 create-subnet --vpc-id **VPC-ID** --cidr-block 10.0.2.0/24
Use aws ec2 describe-vpcs
to list all VPCs and find the correct VPC ID.