1 個回答
- 最新
- 最多得票
- 最多評論
0
Hello.
It may be faster to create a new EC2 from a backup using an EC2 snapshot, etc., than to wait for it to stop.
If you wait, it will probably stop someday, but it may take some time, so you may want to consider restoring from a snapshot as a candidate.
https://docs.aws.amazon.com/prescriptive-guidance/latest/backup-recovery/restore.html#instance-from-snapshot
You may be able to forcefully stop it using the following command.
Try running the command from CloudShell.
https://docs.aws.amazon.com/cloudshell/latest/userguide/welcome.html#how-to-get-started
aws ec2 stop-instances --instance-ids "instance-id" --force
相關內容
- 已提問 1 年前
- 已提問 7 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
Yes, that is one option I am exploring. I think however, I will move to move the EBS data into EFS and setup a ASG. I don't think we can use the cloudshell command to force stop it, as it is in a shutting-down state. This is what is stated in the instance availability notice.