If you have a large amount of imagery, Amazon S3 is a great place to store it. Below, we’ll go over how to connect your Amazon Web Services (AWS) account to Radiant.Earth.

Registering for a new AWS account

Signing up for an AWS account is simple: just head to aws.amazon.com and click the Sign Up button. You’ll be asked for a credit card number and some other basic information.

Connecting Radiant.Earth to your Amazon S3 bucket

The easiest way to share read-only access to your Amazon S3 bucket with Radiant.Earth is bucket policies.

From the AWS Console for S3, navigate to the bucket you'd like to share. In this case, the bucket's name is test-radiant-access:

Next, select the Permissions tab and click the Bucket Policy button:

Inside of the bucket policy editor, add the following policy:

{    "Version": "2012-10-17",    "Statement": [        {            "Sid": "RadiantReadWriteAccess",            "Effect": "Allow",            "Principal": {                "AWS": "arn:aws:iam::615874746523:root"            },            "Action": [                "s3:GetObject",                "s3:ListBucket",                "s3:PutObject"            ],            "Resource": [                "arn:aws:s3:::test-radiant-access",                "arn:aws:s3:::test-radian-access/*"            ]        }    ]}

Here, the Principal attribute is referencing the Radiant.Earth AWS account ID (615874746523). The Action attribute gives us the ability to make GetObject , ListBucket , and PutObject operations. Lastly, Resource limits the list of resources the Principal is allowed to use Actions against. As you can see, both are scoped to the test-radiant-access bucket.

Note: Ensure that you update Resource so that it uses your bucket name and not test-radiant-access .

Once this process is complete, Radiant.Earth will be able to interact with any S3 URIs in your bucket!

Did this answer your question?