AWS-EB-SSL
Easy secure single instance AWS Elastic Beanstalk environments .. for nginx (say that 3 times fast)
Prerequisites
- Deployed sample application
- Only platforms configured with nginx is supported
- Why? EB favors nginx (docs) and super opinionated nginx > apache
- Only platforms configured with nginx is supported
- Elastic Beanstalk Command Line Interface
- [OPTIONAL] Point CNAME at your EB URL (i.e bort-env.eba-2kg3gsq2.us-east-2.elasticbeanstalk.com)
Usage
- Pull down your enviroment
# Connect
eb init
# Pull down source
eb labs download
-
Clone this repo
-
Modify CERTBOT_NAME, CERTBOT_EMAIL, and CERTBOT_DOMAINS in the bash script
-
Copy both ebextensions and platform folders into your environment
-
Deploy your app
# Packages into zip and uploads
eb deploy
Screenshots
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Tested platforms
- Python 3.7 running on 64bit Amazon Linux 2/3.1.1
- Node.js 12 running on 64bit Amazon Linux 2/5.2.1
- Ruby 2.7 running on 64bit Amazon Linux 2/3.1.1
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- russau suggesting platform hooks
- tony-gutierrez starting this gist