A Cloud Guru - Certified Solutions Architect Associate - AWS CLI

10 May 2018

AWS CLI

aws ec2 run-instances \
--image-id ami-xxx \
--count 1 \
--instance-type t2.micro \
--key-name xxx \
--security-group-ids sg-xxx \
--subnet-id subnet-xxx \
--tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=xxx}]'