Command
aws ec2 run-instances --image-id ami-12345678 --count 1 --instance-type t2.microExamples
Launch EC2 instance
aws ec2 run-instances --image-id ami-12345678 --count 1 --instance-type t2.micro --key-name mykey --security-groups mysgaws ec2 run-instances --image-id ami-12345678 --count 1 --instance-type t2.microLaunch EC2 instance
aws ec2 run-instances --image-id ami-12345678 --count 1 --instance-type t2.micro --key-name mykey --security-groups mysg