1 Answer
- Newest
- Most votes
- Most comments
0
OK, at last, the CLI command works:
$ aws lightsail stop-instance --region My-Instance_Region --instance-name My-Instance-Name --force
The most important thing is use --force
in aws lightsail stop-instance
first.
The CLI retured the following
{ "operations": [ { "id": "some-uuid", "resourceName": "My-Instance-Name", "resourceType": "Instance", "createdAt": "DateTime", "location": { "availabilityZone": "xxx", "regionName": "xxx" }, "isTerminal": false, "operationDetails": "", "operationType": "StopInstance, "status": "Started", "statusChangedAt": "DateTime" } ] }
answered 3 years ago
Relevant content
- asked 8 months ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago