Create Instances From Snapshot

POST {{aws_lightsail_base_url}}/?addOns&attachedDiskMapping&availabilityZone&bundleId&instanceNames&instanceSnapshotName&keyPairName&restoreDate&sourceInstanceName&tags&useLatestRestorableAutoSnapshot&userData&Version=2016-11-28

Request Params

KeyDatatypeRequiredDescription
addOnsnullAn array of objects representing the add-ons to enable for the new instance.
attachedDiskMappingnullAn object containing information about one or more disk mappings.
availabilityZonenullThe Availability Zone where you want to create your instances. Use the following formatting: 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.
bundleIdnullThe bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).
instanceNamesnullThe names for your new instances.
instanceSnapshotNamenullThe name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.
keyPairNamenullThe name for your key pair.
restoreDatenullThe date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.
sourceInstanceNamenullThe name of the source instance from which the source automatic snapshot was created.
tagsnullThe tag keys and optional values to add to the resource during create.
useLatestRestorableAutoSnapshotnullA Boolean value to indicate whether to use the latest available automatic snapshot.
userDatanullYou can create a launch script that configures a server with additional user data. For example, apt-get -y update.
VersionstringThe version of the API.

Request Body

{"addOns"=>[{"addOnType"=>"string", "autoSnapshotAddOnRequest"=>{"snapshotTimeOfDay"=>"string"}}], "attachedDiskMapping"=>{"string"=>[{"newDiskName"=>"string", "originalDiskPath"=>"string"}]}, "availabilityZone"=>"string", "bundleId"=>"string", "instanceNames"=>["string"], "instanceSnapshotName"=>"string", "keyPairName"=>"string", "restoreDate"=>"string", "sourceInstanceName"=>"string", "tags"=>[{"key"=>"string", "value"=>"string"}], "useLatestRestorableAutoSnapshot"=>1, "userData"=>"string"}