Start one or more EC2 instances.
Section: EC2 Instances
Launch an instance
bash
bash
aws ec2 run-instances --image-id ami-0123456789abcdef0 --instance-type t3.micro --subnet-id subnet-0123456789abcdef0 --security-group-ids sg-0123456789abcdef0 --count 1Explanation
Specify AMI, instance type, network placement, and security groups.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing EC2 Instances