mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:33:50 +02:00
aws-lightsail: add page (#8934)
This commit is contained in:
parent
feaae131c7
commit
d3448970d7
1 changed files with 32 additions and 0 deletions
32
pages/common/aws-lightsail.md
Normal file
32
pages/common/aws-lightsail.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# aws lightsail
|
||||
|
||||
> Manage Amazon Lightsail resources using the CLI.
|
||||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lightsail/index.html>.
|
||||
|
||||
- List all virtual private servers, or instances:
|
||||
|
||||
`aws lightsail get-instances`
|
||||
|
||||
- List all bundles (instance plans):
|
||||
|
||||
`aws lightsail list-bundles`
|
||||
|
||||
- List all available instance images, or blueprints:
|
||||
|
||||
`aws lightsail list-blueprints`
|
||||
|
||||
- Create an instance:
|
||||
|
||||
`aws lightsail create-instances --instance-names {{name}} --availability-zone {{region}} --bundle-id {{nano_2_0}} --blueprint-id {{blueprint_id}}`
|
||||
|
||||
- Print the state of a specific instance:
|
||||
|
||||
`aws lightsail get-instance-state --instance-name {{name}}`
|
||||
|
||||
- Stop a specific instance:
|
||||
|
||||
`aws lightsail stop-instance --instance-name {{name}}`
|
||||
|
||||
- Delete a specific instance:
|
||||
|
||||
`aws lightsail delete-instance --instance-name {{name}}`
|
Loading…
Add table
Reference in a new issue