一个 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
EXPERTE
gefragt vor 5 Monaten33 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen