CmdID

CmdID / Commands

aws-lightsail

Manage Amazon Lightsail resources. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List all virtual private servers, or instances

aws lightsail get-instancesIdentify

List all bundles (instance plans)

aws lightsail list-bundlesIdentify

List all available instance images, or blueprints

aws lightsail list-blueprintsIdentify

Create an instance

aws lightsail create-instances --instance-names name --availability-zone region --bundle-id nano_2_0 --blueprint-id blueprint_idIdentify
--instance-namesThe names to use for your new Lightsail instances. AWS CLI reference
--availability-zoneThe Availability Zone in which to create your instance. AWS CLI reference
--bundle-idThe bundle of specification information for your virtual private server (or instance), including the pricing plan (medium_x_x). AWS CLI reference
--blueprint-idThe ID for a virtual private server image (app_wordpress_x_x or app_lamp_x_x). AWS CLI reference

Print the state of a specific instance

aws lightsail get-instance-state --instance-name nameIdentify
--instance-nameThe name of the instance to get state information about. AWS CLI reference

Stop a specific instance

aws lightsail stop-instance --instance-name nameIdentify
--instance-nameThe name of the instance (a virtual private server) to stop. AWS CLI reference

Delete a specific instance

aws lightsail delete-instance --instance-name nameIdentify
--instance-nameThe name of the instance to delete. AWS CLI reference