The following guide will help you, step by step, automate your Amazon Lightsail server snapshots & volume backups.
Afterwards, you will be able to take snapshots, automatically on your own terms, whether you need to take them daily, weekly, every couple of hours or on-demand using our API.
You will also have the option to choose the number of snapshots to keep on your provider to save snapshot storage cost.
In order for SimpleBackups to manage your Amazon Lightsail Snapshots, a IAM Users to be created with the right policies.
We will create a custom policy first to allow us to manage your Amazon Lightsail Snapshots. The policy will include the least required permissions to manage snapshots.
For your reference, here is the policy to copy and paste:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"lightsail:GetInstance",
"lightsail:GetInstances",
"lightsail:GetInstanceSnapshot",
"lightsail:GetInstanceSnapshots",
"lightsail:CreateInstanceSnapshot",
"lightsail:DeleteInstanceSnapshot",
"lightsail:GetDisk",
"lightsail:GetDisks",
"lightsail:GetDiskSnapshot",
"lightsail:GetDiskSnapshots",
"lightsail:CreateDiskSnapshot",
"lightsail:DeleteDiskSnapshot",
"lightsail:TagResource",
"lightsail:UntagResource",
"lightsail:CopySnapshot"
],
"Resource": "*"
}
]
}
Copy your "access key id" and secret "access key".
With this done, you know have a IAM User with an access key and secret that we'll be able to use in SimpleBackups to automate your Amazon Lightsail Snapshots.
We now have everything we need to connect your AWS account to SimpleBackups.
If saving this provider returns an error, make sure to validate that the IAM User associated to the Access Key you used has the right priviledges.
You're good to go! You can now configure and schedule your Amazon Lightsail instance & disk snapshots.
Free 7-day trial. No credit card required.
Have a question? Need help getting started?
Get in touch via chat or at [email protected]