Skip to main content
All CollectionsActionsAmazon Web Services
Create Lightsail Instances From Snapshots Actions
Create Lightsail Instances From Snapshots Actions
Matt Houser avatar
Written by Matt Houser
Updated over 6 years ago

Description

The Create Lightsail Instances From Snapshots action can be used to create one or more Lightsail instances from Lightsail snapshots.

Settings

Please see Common Action Settings for a description of settings common to all action types.

Instances

Specify the names of the new Lightsail instances. If the new instances should have static IP addresses assigned to them, then specify the static IP names.

Duplicate Instance Resolution Method

If Lightsail instances already exist with the names specified above, this field indicates how to resolve the conflict. Possible options include:

  • None - The action will not create a new instance with the conflicting name.

  • Use Existing Instance - A new instance will not be created. If the instances will be deleted, then the existing instance will be deleted.

Snapshot Identification Method

Indicates the method in which snapshots will be selected for possible deletion. Possible options include:

  • All Snapshots - All instance snapshots will be selected.

  • By Instance Name - Each snapshot's originating instance name will be compared.

  • By Instance Snapshot Name - Each snapshot's name will be compared.

Instance Name

Indicates the comparison to perform on each snapshot's instance's name.

Snapshot Name

Indicates the comparison to perform on each snapshot's name.

Availability Zone

Indicates the availability zone in which the new instances will be created.

Bundle

Indicates the bundle to use when creating the new instances. The bundle determines the instance size and cost of running the instance.

Key Pair Name

Specify the name of the key pair to assign to the new instances. Leave blank to use the default key pair.

Delete the Instance

Indicate whether the new RDS instance should be automatically deleted later. The running time of the instance must also be specified if this is enabled.

Running Duration

Indicate the length of time the RDS instance should remain running before it is deleted. This value is only required if "Delete the Instance" is enabled.

Create a Final Snapshot

Indicates whether a final snapshot should be created of the new RDS instance when it is deleted. This value is only available if "Delete the Instance" is enabled.

Final Snapshot Name

Indicates the snapshot name of the final snapshot when the instance is deleted. This value is only required if "Create a Final Snapshot" is enabled. Macros can be used in the snapshot name to include run-time data.

Amazon Commands Used

The following Amazon AWS commands are used. The access key should have permission to execute all of them.

  • lightsail:AttachStaticIp

  • lightsail:CreateInstanceSnapshot

  • lightsail:CreateInstancesFromSnapshot

  • lightsail:DeleteInstance

  • lightsail:GetInstance

  • lightsail:GetInstanceSnapshot

  • lightsail:GetInstanceSnapshots

  • lightsail:StopInstance

Did this answer your question?