How to Start, Stop and Terminate Ec2 instance from CLI

Start Ec2 Instance from CLI
aws ec2 start-instances --instance-ids InstanceID


Stop Ec2 Instance from CLI
aws ec2 stop-instances --instance-ids InstanceID


Terminate Ec2 Instance from CLI 
aws ec2 terminate-instances --instance-ids InstanceID

Post a Comment

Mới hơn Cũ hơn