Difference between revisions of "Aws ec2 terminate-instances"
Jump to navigation
Jump to search
(Created page with "https://docs.aws.amazon.com/cli/latest/reference/ec2/terminate-instances.html == See also == * {{EC2}} * {{AWS}} Category:AWS") Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 2: | Line 2: | ||
+ | <pre> | ||
+ | aws ec2 terminate-instances --profile YOUR_PROFILE --instance-ids i-05192273e61157f67 | ||
+ | { | ||
+ | "TerminatingInstances": [ | ||
+ | { | ||
+ | "CurrentState": { | ||
+ | "Code": 32, | ||
+ | "Name": "shutting-down" | ||
+ | }, | ||
+ | "InstanceId": "i-05192273e61157f67", | ||
+ | "PreviousState": { | ||
+ | "Code": 16, | ||
+ | "Name": "running" | ||
+ | } | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | </pre> | ||
== See also == | == See also == |
Revision as of 07:53, 18 April 2021
https://docs.aws.amazon.com/cli/latest/reference/ec2/terminate-instances.html
aws ec2 terminate-instances --profile YOUR_PROFILE --instance-ids i-05192273e61157f67 { "TerminatingInstances": [ { "CurrentState": { "Code": 32, "Name": "shutting-down" }, "InstanceId": "i-05192273e61157f67", "PreviousState": { "Code": 16, "Name": "running" } } ] }
See also
- AWS EC2, Amazon EC2 API,
aws ec2, AWS::EC2
, Amazon EC2 Spot Instances, CPU credits, Instance type, EC2 limitations, 169.254.169.254, Instance metadata and user data (IMDS),InstanceType, InstanceId
, Amazon EC2 Auto Scaling, AWS EC2 Instance Connect, launch template, lifecycle, AWS Security group (SG), Amazon EC2 Recycle Bin, Amazon EC2 Mac Instances, Global View - AWS, Amazon Managed Services, AWS Management & Governance, computing, security, networking, AWS compliance, AWS Outposts AWS Free Tier, AWS certifications, AWS Trusted Advisor, AWS Systems Manager, AWS Config, IAM Access Analyzer, AWS Cost Explorer, AWS Cost Management, AWS Budgets, AWS Organizations, AWS dev: (CodeStar, Cloud9), AWS Partner Network (APN), AWS Resource Access Manager, AWS Quick Starts, AWS Global Accelerator, AWS Elemental MediaStore, AWS Enterprise support, AWS support, AWS Professional Services Consultants, AWS Cloud Map, AWS Marketplace, AWS CLI, AWS Management Console, AWS acceptable use policy, amazonaws.com, Quotas, AWS Support plans, AWS Resource Explorer, AWS Managed Services (AMS), AWS savings, AWS Nitro System, AWS Activate, Serverless, AWS timeline
Advertising: