Set up Amazon S3
Make a bucket, allow public reading, make a limited key, and paste it into Settings.
On this page
You'll need an AWS account. AWS screens change often, so use the names below as a guide, and AWS's S3 documentation for the details.
1. Make a bucket#
In the AWS console, open S3 and press Create bucket.
Pick a name (lowercase letters, numbers and hyphens, 3 to 63 characters) and a Region. Note the region's code, like
us-east-1oreu-west-2. VizShot needs it.Leave object ownership on the default. VizShot doesn't use object ACLs.
2. Let people open your links#
Share links only work if the files can be read. The simplest way is to make the bucket's files public:
In the bucket's Permissions, edit Block public access and turn off blocking for public bucket policies.
Add this bucket policy, with your bucket's name in place of
YOUR-BUCKET:
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "PublicRead",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::YOUR-BUCKET/*"
}]
}Prefer to keep the bucket private? Put Amazon CloudFront in front of it and use CloudFront's address (or your own domain) as the link address. That's a bigger job: see put links on your own address.
3. Make an access key that can only do what VizShot needs#
Open IAM and create a new user for VizShot.
Give it this policy, again with your bucket's name:
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": ["s3:PutObject", "s3:DeleteObject"],
"Resource": "arn:aws:s3:::YOUR-BUCKET/*"
}]
}Create an access key for the user. AWS shows the Access key ID and Secret access key once. Copy both.
4. Tell VizShot#
Open Settings › Storage and pick Amazon S3.
Fill in Region (like
us-east-1), Bucket, Access key ID, Secret key, and Link address. For a public bucket, the link address ishttps://YOUR-BUCKET.s3.YOUR-REGION.amazonaws.com.Press Test connection, then Save.