一个 LightSail 实例在 Pending transition 中停留了 4 个月。

0

【以下的问题经过翻译处理】 我在2022年2月12日部署了一个LightSail实例。但是由于它已经处于挂起状态4个月了,所以失败了。我无法通过控制面板或cli删除/停止/启动/重新启动/重置等操作它。cli报告如下错误:

An error occurred (OperationFailureException) when calling the StopInstance operation: You cannot stop an instance while it is in transition. 'CentOS-1' is in transition (pending).

An error occurred (OperationFailureException) when calling the DeleteInstance operation: You cannot delete an instance while it is in transition. 'CentOS-1' is in transition (pending).

它现在开始向我收费,所以请任何人给我建议该怎么办。非常感谢。

ps:重点是,我只有基本支持计划,我知道没有技术支持服务可用于我,但我无法删除lightsail实例,并且在我不使用它的时候每个月都会显示在我的发票中。我试图联系客户账户支持,但他们给我返回了一些无用的文件。

profile picture
专家
已提问 5 个月前29 查看次数
1 回答
0

【以下的回答经过翻译处理】 最终,CLI命令成功运行:

$ aws lightsail stop-instance --region My-Instance_Region --instance-name My-Instance-Name --force

最重要的是首先使用--forceaws lightsail stop-instance中。

CLI返回以下信息:

{
    "operations": [
        {
            "id": "some-uuid",
            "resourceName": "My-Instance-Name",
            "resourceType": "Instance",
            "createdAt": "日期时间",
            "location": {
                "availabilityZone": "xxx",
                "regionName": "xxx"
            },
            "isTerminal": false,
            "operationDetails": "",
            "operationType": "StopInstance",
            "status": "启动",
            "statusChangedAt": "日期时间"
        }
    ]
}
profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则