Create Instances

POST {{aws_lightsail_base_url}}/?addOns&availabilityZone&blueprintId&bundleId&customImageName&instanceNames&keyPairName&tags&userData&Version=2016-11-28

Request Params

KeyDatatypeRequiredDescription
addOnsnullAn array of objects representing the add-ons to enable for the new instance.
availabilityZonenullThe Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.
blueprintIdnullThe ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints).
bundleIdnullThe bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).
customImageNamenull(Deprecated) The name for your custom image.
instanceNamesnullThe names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: [MyFirstInstance,MySecondInstance]
keyPairNamenullThe name of your key pair.
tagsnullThe tag keys and optional values to add to the resource during create.
userDatanullA launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update.
VersionstringThe version of the API.

Request Body

{"addOns"=>[{"addOnType"=>"string", "autoSnapshotAddOnRequest"=>{"snapshotTimeOfDay"=>"string"}}], "availabilityZone"=>"string", "blueprintId"=>"string", "bundleId"=>"string", "customImageName"=>"string", "instanceNames"=>["string"], "keyPairName"=>"string", "tags"=>[{"key"=>"string", "value"=>"string"}], "userData"=>"string"}