Troubleshoot: AWS Elastic Beanstalk Returns 403 Forbidden Error
Essay - Published: 2015.04.15 | 1 min read (108 words)
DISCLOSURE: If you buy through affiliate links, I may earn a small commission. (disclosures)
**Problem: **When trying to access an application server hosted on AWS’ Elastic Beanstalk, you’re faced with a 403 error that looks something like this:
Forbidden
You don’t have permission to access / on this server.
**Solution: **Many times this is caused by zipping your files in a nested folder. In order to circumvent this, when zipping your files follow these instructions:
- Navigate inside of the directory you want to zip, select all the files located there, then zip them into a folder. This prevents a nested folder from being created inside the .zip.
- Upload to your Elastic Beanstalk server and ensure it works.
Want more like this?
The best way to support my work is to like / comment / share this post on your favorite socials.
