How to set up AWS storage

Agiled stores your file in default Agiled storage that comes with your plan. However, you can also set up AWS to use your own storage. 

To setup AWS storage go to Settings - Storage Settings  and choose AWS from the drop down. 

You will need some AWS credentials to use AWS storage like 

  • AWS Key : This is the access key from your AWS account.
  • AWS Secret : This is access secret from your AWS account.
  • AWS Region: This is the Bucket Region. 
  • AWS Bucket: This is Bucket URL 

Here are some articles to help you in getting your AWS credentials.

Important note about Region Name:

When adding region in the settings, please use region code as shown in the second column of the table below. Like for  US East (N. Virginia), you need to add us-east-1 in the settings. 

Region Name Region Endpoint Protocol
US East (Ohio) us-east-2 HTTPSHTTPS
US East (N. Virginia) us-east-1 HTTPSHTTPS
US West (N. California) us-west-1 HTTPSHTTPS
US West (Oregon) us-west-2 HTTPSHTTPS
Africa (Cape Town) af-south-1 HTTPS
Asia Pacific (Hong Kong) ap-east-1 HTTPS
Asia Pacific (Mumbai) ap-south-1 HTTPS
Asia Pacific (Osaka-Local) ap-northeast-3 HTTPS
Asia Pacific (Seoul) ap-northeast-2 HTTPS
Asia Pacific (Singapore) ap-southeast-1 HTTPS
Asia Pacific (Sydney) ap-southeast-2 HTTPS
Asia Pacific (Tokyo) ap-northeast-1 HTTPS
Canada (Central) ca-central-1 HTTPSHTTPS
China (Beijing) cn-north-1 HTTPS
China (Ningxia) cn-northwest-1 HTTPS
Europe (Frankfurt) eu-central-1 HTTPS
Europe (Ireland) eu-west-1 HTTPS
Europe (London) eu-west-2 HTTPS
Europe (Milan) eu-south-1 HTTPS
Europe (Paris) eu-west-3 HTTPS
Europe (Stockholm) eu-north-1 HTTPS
Middle East (Bahrain) me-south-1 HTTPS
South America (São Paulo) sa-east-1 HTTPS
AWS GovCloud (US-East) us-gov-east-1 HTTPSHTTPS
AWS GovCloud (US) us-gov-west-1 HTTPSHTTPS

After getting your keys, bucket name and region from AWS, paste them in Agiled AWS settings and click Save.

All the files you upload from this point will be saved in your own AWS storage.

Here is some help about how you can create your bucket in Amazon S3 

Creating S3 Bucket

  1. Login to Amazon Console.
  2. From services section Select S3.
  3. Click on “Create Bucket” button and following screen will appear.

  4. Enter Bucket Name, Region and click “Next”.

For Now, don’t need to change above settings. Just click “Next”.

5. Uncheck all options as shown in screenshot below.

Click on Next, review settings and click button Create Bucket. 

Now you have your bucket created but you need to assign to it a Bucket Policy. 

Here is how you can create and add a bucket policy. 

1. Go to this link and choose bucket policy from the dropdown. To generate a proper policy you need to get the following image and select DeleteObject, GetObject, and PutObject as actions

Amazon Resource Name ARM can be like this arn:aws:s3:::<bucketname>/*. Astersik at the end represent the key name. For ease, you can just leave it as * 

2. Click the Add Statement button and then Generate Policy. 

Below is an example bucket policy. Let's say your bucket name is "testbucket"

  1. {
  2. "Id":"PolicyXXXXXXXXXXX",
  3. "Version":"XXXXXXX",
  4. "Statement":[
  5. {
  6. "Sid":"StmtXXXXXXXXXX",
  7. "Action":[
  8. "s3:DeleteObject",
  9. "s3:GetObject",
  10. "s3:PutObject"
  11. ],
  12. "Effect":"Allow",
  13. "Resource":"arn:aws:s3:::testbucket",
  14. "Principal":"*"
  15. }
  16. ]
  17. }

This json result will need to be put in the Bucket Policy tab of your bucket settings. 

3. Now go to your bucket in Amazon S3, and put this json in the bucket policy section. 

That should be all :) Write to us at [email protected], if you still have questions. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us