From de5d3e582ce010fba7a5b7f1cb78c0448aef9031 Mon Sep 17 00:00:00 2001 From: Elijah Shackelford Date: Mon, 12 Oct 2020 06:04:37 -0400 Subject: [PATCH] aws ec2: Add entry --- pages/common/aws-ec2.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pages/common/aws-ec2.md diff --git a/pages/common/aws-ec2.md b/pages/common/aws-ec2.md new file mode 100644 index 0000000000000..ad1cf83674c67 --- /dev/null +++ b/pages/common/aws-ec2.md @@ -0,0 +1,37 @@ +# aws ec2 + +> CLI for AWS EC2. +> Provides secure and resizable computing capacity in the AWS cloud to enable faster development and deployment of applications. +> More information: . + +- Show list of all available EC2 commands: + +`aws ec2 help` + +- Show help for specific EC2 subcommand: + +`aws ec2 {{subcommand}} help` + +- Display information about a specific instance: + +`aws ec2 describe-instances --instance-ids {{instance_id}}` + +- Display information about all instances: + +`aws ec2 describe-instances` + +- Display information about all EC2 volumes: + +`aws ec2 describe-volumes` + +- Delete an EC2 volume: + +`aws ec2 delete-volume --volume-id {{volume_id}}` + +- Create a snapshot from an EC2 volume: + +`aws ec2 create-snapshot --volume-id {{volume_id}}` + +- List available AMIs (Amazon Machine Images): + +`aws ec2 describe-images`