mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
aws ec2: Add entry (#4661)
This commit is contained in:
parent
40a910e6cf
commit
6b248c8b6e
1 changed files with 37 additions and 0 deletions
37
pages/common/aws-ec2.md
Normal file
37
pages/common/aws-ec2.md
Normal file
|
@ -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: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/index.html>.
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue