How to Create AWS Access and Secret Key for External backups (S3)

To create your AWS Access and Secret Key, follow these steps.

Instances-EC2-Management-Console (1).png

image.png

Enter your AWS Account access user name and click Next, Next, Next and Create User to proceed.

image.png

After clicking the Create User button, you will be taken to the user list. Choose your created user name from the user list and click on it.

image.png

Navigate to Security Credentials under User Details.

image.png

image.png

For Non-Root Users:-  Choose Command Line Interface as an alternative and check the box, then click Next and Create Access Key.

image.png

 For Root User:- Check the box and click Create Access Key.

Screenshot 2023-02-20 122937.png

IAM-Management-Console.png

Elestio requires a AmazonS3FullAccess permission to manage your external backups for service.

Navigate to permission in the user details to add the permission and select Add Permission

image.png

Select the Attach policies directly Tab to attach permission.

image.png

Now Enter AmazonS3FullAccess into the search box and then select the AmazonS3FullAccess permission from the results.

Screenshot 2023-04-21 194104.png

If you only want to grant access to your bucket which you choose for backups instead of AmazonS3FullAccess, click Create Policy, paste this JSON policy in the JSON tab, and attach it.

{
    "Id": "BucketPolicy",
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AllAccess",
            "Action": "s3:*",
            "Effect": "Allow",
            "Resource": [
                "arn:aws:s3:::elestio",
                "arn:aws:s3:::elestio/*"
            ]
        }
    ]
}

Note:- If your bucket name is not elestio, then put your bucket name in place of elestio.

After Selecting both Click Next and then click Add permission to proceed.

Screenshot 2023-04-21 194230.png



Follow these steps if you already have an access key and want to activate it instead of creating a new one.

image.png

image.png


Before adding keys to elestio, you must grant Administration access to them.

View our documentation to learn how to create Bucket in AWS S3.


Revision #13
Created 21 April 2023 14:07:00 by Amit
Updated 21 April 2023 15:17:38 by Amit