Weap.io Docs
  • Home
  • Overview
    • What are Provider Snapshots?
    • What are Database Backups?
    • What are File Backups?
  • Provider snapshots
    • Alibaba Cloud
      • Get started
    • AWS EC2
      • Get started
    • AWS Lightsail
      • Get started
    • DigitalOcean
      • Get started
      • Multi-region replication
      • Trigger manual snapshots
    • Exoscale
      • Get started
    • Google Cloud Platform
      • Get started
    • Hetzner
      • Get started
    • OVH
      • Get started
    • Scaleway
      • Get started
    • UpCloud
      • Get started
  • Database backups
    • MySQL backups
      • Get started
      • Encrypted MySQL backups
      • Exclude certain tables from the backups
    • PostgreSQL backups
      • Get started
      • Auto-synchronize your PostgreSQL databases
    • How to decrypt a database backup
  • File Backups
    • Get started
  • Storages
    • Overview
    • How to connect your AWS S3 storage
    • How to connect your Backblaze B2 storage
    • How to connect your Azure Blob Storage
    • How to connect your SFTP storage
  • Encryption keys
    • How to generate an encryption key
Powered by GitBook
On this page
  • 1. Open the Weap.io Provider Snapshots page
  • 2. Generate your AWS Access Key
  • 3. Select the AWS EC2 provider, choose a name for the account and provide your Access key
  • 4. Synchronize the account

Was this helpful?

  1. Provider snapshots
  2. AWS EC2

Get started

Learn how to connect your AWS account in order to schedule automatic snapshots of your EC2 Instances.

PreviousAWS EC2NextAWS Lightsail

Last updated 4 years ago

Was this helpful?

In order to start scheduling automated & frequent native snapshots of your EC2 Instances, you must connect your AWS account.

After connecting the account, Weap.io will automatically import all your EC2 Instances and you will be able to choose the ones that should be backed-up, configure the backup frequency and finally the retention policy.

1. Open the Weap.io Provider Snapshots page

Open your Weap.io dashboard and click the Provider Backups button located in the top menu. On the page just opened, click the button Connect cloud account.

2. Generate your AWS Access Key

In order for Weap.io to be able to create snapshots of your AWS EC2 Instances, you must create an Access Key. Open the AWS Console in a new tab, go to the IAM service and create a new policy using the following JSON:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "WeapIo",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateImage",
        "ec2:DescribeImages",
        "ec2:DeregisterImage",
        "ec2:DescribeInstances",
        "ec2:CreateSnapshot",
        "ec2:DeleteSnapshot",
        "ec2:DescribeSnapshots",
        "ec2:CreateTags",
        "ec2:DescribeVolumes"
      ],
      "Resource": [
        "*"
      ]
    }
  ]
}

Give an intuitive name to the policy to easily recognize it later, for example weap_backups. Now it's time to create a new user (again from the IAM service). Make sure to select Programmatic access as Access type. When done, click the button Next: Permissions

In the Permissions view select the option Attach existing policies directly and search the policy you just created previously. Once found, select it and click the button Next: Tags

The Tags step can be omitted. Click the button Next: Review. In the next view click Create User.

In the last view you will find the Access Key details that must be provided when connecting the AWS account to Weap.io

3. Select the AWS EC2 provider, choose a name for the account and provide your Access key

Go back to Weap.io and in the opened modal select the AWS EC2 provider. Type an intuitive name that will help you easily recognize the account later.

Paste the Access Key ID & Secret generated in the previous step and choose the location of your EC2 instances.

When done, click the Save button.

4. Synchronize the account

After clicking the Save button, the list of your connected accounts will be reloaded and the newly connected account will appear.

The last thing you have to do is clicking the button Synchronize account. By doing that, Weap.io will import all your AWS EC2 Instances. If you don't press the button, Weap.io will automatically run the synchronization after some minutes.

Once synchronized, all your EC2 Instances will be visible and you will be able to configure the backup frequency, retention or even completely pause the backups for some of them.