| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/share/doc/awscli/examples/lightsail/ |
Upload File : |
**To delete an instance**
The following ``delete-instance`` example deletes the specified instance. ::
aws lightsail delete-instance \
--instance-name WordPress-1
Output::
{
"operations": [
{
"id": "d77345a3-8f80-4d2e-b47d-aaa622718df2",
"resourceName": "Disk-1",
"resourceType": "Disk",
"createdAt": 1569874357.469,
"location": {
"availabilityZone": "us-west-2a",
"regionName": "us-west-2"
},
"isTerminal": false,
"operationDetails": "WordPress-1",
"operationType": "DetachDisk",
"status": "Started",
"statusChangedAt": 1569874357.469
},
{
"id": "708fa606-2bfd-4e48-a2c1-0b856585b5b1",
"resourceName": "WordPress-1",
"resourceType": "Instance",
"createdAt": 1569874357.465,
"location": {
"availabilityZone": "us-west-2a",
"regionName": "us-west-2"
},
"isTerminal": false,
"operationDetails": "Disk-1",
"operationType": "DetachDisk",
"status": "Started",
"statusChangedAt": 1569874357.465
},
{
"id": "3187e823-8acb-405d-b098-fad5ceb17bec",
"resourceName": "WordPress-1",
"resourceType": "Instance",
"createdAt": 1569874357.829,
"location": {
"availabilityZone": "us-west-2a",
"regionName": "us-west-2"
},
"isTerminal": true,
"operationType": "DeleteInstance",
"status": "Succeeded",
"statusChangedAt": 1569874357.829
}
]
}