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
Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

4 comments:

  1. Enjoyed reading the article above, really explains everything in detail, the article is very interesting and effective. Thank you and good luck for the upcoming articles AWS Online Training

    ReplyDelete