The following gets you from the state of not having an S3 account to getting Duplicator Pro backing up on S3 as quickly as possible. If you already have an S3 account you should be able to adapt the procedure for your needs.
1. Create an Amazon Web Services (AWS) Account
Follow this link to create an account.
2. Create a Bucket
A bucket is a storage area that you use to group data together. You can think of it like a virtual drive. For our purposes we’ll assume you don’t already have a bucket and the bucket you’ll create will be dedicated to Duplicator Pro backups. This doesn’t have to be the case however – you can use existing buckets and put different types of data in a single bucket.
- When at the AWS console service list, click S3 in the Storage & Content Delivery area.
- Note: You can return to the service list at any time by clicking the orange box in the upper left-hand corner.
- Click Create Bucket.
- Set the name to something you’ll remember and is unique. It’s recommended you name the bucket to be something similar to a domain name. For instance backups.mydomain.com.
- For the region, select the closest location to your web server.
3. Create a Security Policy
You’ll now need to create a security policy. The policy describes what the user can do. In this case we’ll be creating a policy that says a user can fully access the bucket we created in the previous step.
- Go back to the AWS console service list and click IAM (Identity and Access Management) in the Security & Identity area.
- Click on the Policies link on the left menu
- Click the Create Policy button.
- Click the JSON tab.
- Copy and paste the policy defined on this page into the JSON text area.
- Note: Be sure to to replace BUCKETNAME with the name of your bucket as the Duplicator policy page instructs.
- Click the Review policy button.
- Name the policy “Duplicator Backup Policy” (or name this anything you want.)
- Click the Create policy button.
- Go back to the tab where you are creating the user from above.
4. Create a User
- Click on the Users link on the left menu
- Click the Add User button and add a new user with the name of your choice.
- Check Programmatic access.
- Click Next.
- Click on Attach existing policies directly.
- Search for the policy you created in the previous step, check it then click Next.
- Click Next (No tags).
- Click Create User.
5. Copy User Access and Secret Access Keys
You’ll now be presented with a screen that displays your Access Key ID and secret access key. While keeping this tab open, open a second tab to your website’s admin panel. Note: If you accidentally close the first tab or ever need to get the key information for a user in the future you can do so by going to the Users list > Click User > Security Credentials tab.
- In the second tab, go to Duplicator Pro > Storages
- Create a new Storage Endpoint
- Choose Amazon S3 for the Type
- Copy/Paste the Access Key from the first tab into the Access Key field.
- Copy/Paste the Secret Key from the first tab into the Secret Key field.
- Fill in the bucket and the region.
- Unless you have a strong preference you can leave the Storage Folder and Storage Class fields alone.
7. Test Storage Endpoint
Now that things are configured you can see if the configuration worked properly by clicking the Test S3 Connection button. If it reports success you are good to go. If not, go through the previous steps and make sure you didn’t miss anything.
The following articles can help you understand S3 more in-depth: