Create Instances
POST {{aws_lightsail_base_url}}/?addOns&availabilityZone&blueprintId&bundleId&customImageName&instanceNames&keyPairName&tags&userData&Version=2016-11-28
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
addOns | null | An array of objects representing the add-ons to enable for the new instance. | |
availabilityZone | null | The 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. | |
blueprintId | null | The 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). | |
bundleId | null | The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0). | |
customImageName | null | (Deprecated) The name for your custom image. | |
instanceNames | null | The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: [MyFirstInstance,MySecondInstance] | |
keyPairName | null | The name of your key pair. | |
tags | null | The tag keys and optional values to add to the resource during create. | |
userData | null | A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update. | |
Version | string | The 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"}