1.1awscli 安装
msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi
1.2AWS登录
aws configure
1.3cli 指令
aws ec2 create-vpc --cidr-block 10.0.0.0/16 #VPC
# aws ec2 create-key-pair --key-name MyKeyPair --query "KeyMaterial" --output text > MyKeyPair.pem 创建密钥
aws ec2 create-subnet --vpc-id vpc-***** --cidr-block 10.0.1.0/24 #子网
aws ec2 create-subnet --vpc-id vpc-***** --cidr