aws/ec2-run

Run EC2 Instance

Launch a new EC2 instance

aws
ec2
launch
create

Command

aws ec2 run-instances --image-id ami-12345678 --count 1 --instance-type t2.micro

Examples

Launch EC2 instance

aws ec2 run-instances --image-id ami-12345678 --count 1 --instance-type t2.micro --key-name mykey --security-groups mysg