1 Answer
- Newest
- Most votes
- Most comments
2
There sure is. Here’s stop
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/stop-instances.html
Example
aws ec2 stop-instances \
--instance-ids i-1234567890abcdef0
And here’s start
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/start-instances.html
Example
aws ec2 start-instances \
--instance-ids i-1234567890abcdef0
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago