How to check Ec2 instance state name

AWS different Instance state name:
pending
running
shutting-down
terminated
stopping
stopped


Check Ec2 instance State name 
aws ec2 describe-instances --instance-ids  i-f7ed6474 --output json | jq -r .Reservations[].Instances[].State.Name
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

0 comments:

Post a Comment