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 4 years ago
Relevant content
asked 2 years ago
asked 5 years ago
