Resolving 403 issues with Amazon S3

Making Amazon S3 files accessibleWe have started using Amazon S3 to store many of the files our various websites use. This cuts down the demand on our own server and, alongside the Cloudfront service, offers improved website performance.

When uploading your files to Amazon S3 make sure that you allow all users to have read access to the files. Otherwise, your website content won’t be displayed properly – you may see http 403 errors returned (suggesting that the file is not available without logging in).

You can make your files accessible by selecting each folder in your S3 bucket, right-clicking and selecting ‘Make Public’ option.

It’ll take a while if you have many website files, and please make sure that you only select this option for the files that you want everyone to be able to read.

You could also use other CDN services (such as MaxCDN) or combined protections and performance services such as CloudFlare if you are worried your site might not handle traffic peaks.

If you found this post useful, please reward us by sharing or liking (see below). It’s quick and easy and helps motivate us to write more.

Tags: , , , ,

2 Responses to “Resolving 403 issues with Amazon S3”

  1. Steve Bidds May 16, 2015 at 4:10 pm #

    Good call on the Amazon S3… I’ve never looked back
    Steve Bidds recently posted..0826 626960 Amazon Numéro Service Client contacter

  2. Ballantyne February 6, 2017 at 12:29 am #

    Wierdly, the AWS Documentation and User Guides do not mention the Make Public step anywhere, yet the website will not work without it.

Leave a Reply

We're really pleased you want to comment. As a reward we'll include a link to one of your own blog posts. Write your comment as normal, then we'll display your recent blog posts for you to choose from. Un-check the box to opt out.