EC2 Instances
Check
Check
aws ec2 describe-instances
aws ec2 describe-instance-status
Start
Start
TODO
Instance state - Start instance
Stop
Stop
Instance state - Stop instance
Reboot
Reboot
TODO
Instance state - Reboot instance
Terminate (Delete)
Terminate (Delete)
aws ec2 terminate-instances --instance-ids i-0xxxxxxxxxxxxx
Once terminated, the Instance will remain visible (with an Instance state of "Terminated) for approximately 1 hour.All data on attached EBS volumes will also be deleted.Instance state - Terminate instance
To see who terminated an instance, you can use CloudTrail...
Basic CloudTrail functionality is free but does require an S3 bucket that you may be charged for.Event history - Lookup attributes - Event name - "TerminateInstances"
Hibernate
Hibernate
TODO
Bibliography
Bibliography
https://aws.amazon.com/cloudtrail/pricing/
Terminatehttps://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html
Linuxhttps://repost.aws/knowledge-center/ec2-install-extras-library-softwarehttps://stackoverflow.com/questions/76082320/alternative-of-amazon-linux-extras-in-amazon-linux-2023
Terminatehttps://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html
Linuxhttps://repost.aws/knowledge-center/ec2-install-extras-library-softwarehttps://stackoverflow.com/questions/76082320/alternative-of-amazon-linux-extras-in-amazon-linux-2023