创建 EC2 实例:
aws ec2 run-instances --image-id ami-04b70fa74e45c3917 --count 1 --instance-type c5a.xlarge --key-name "Default SSH Key" --security-groups launch-wizard-1 --block-device-mappings "[{\"DeviceName\": \"/dev/sda1\",\"Ebs\":{\"VolumeSize\":30}}]"
参考:
标签:run,CLI,--,AWS,instances,Amazon,EC2 From: https://www.cnblogs.com/Undefined443/p/18169613