eltang / AWS-EB-SSL

Easier secure Elastic Beanstalk environments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  • Elastic Beanstalk Command Line Interface
  • [OPTIONAL] Point CNAME at your EB URL (i.e bort-env.eba-2kg3gsq2.us-east-2.elasticbeanstalk.com)

Usage

  1. Pull down your enviroment
# Connect
eb init
# Pull down source
eb labs download
  1. Clone this repo

  2. Modify CERTBOT_NAME, CERTBOT_EMAIL, and CERTBOT_DOMAINS in the bash script

  3. Copy both ebextensions and platform folders into your environment

  4. Deploy your app

# Packages into zip and uploads
eb deploy

Screenshots

Variables Instructions Result

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Tested platforms

  • Python 3.7 running on 64bit Amazon Linux 2/3.1.3
  • Node.js 12 running on 64bit Amazon Linux 2/5.2.3
  • Ruby 2.7 running on 64bit Amazon Linux 2/3.2.0
  • Docker running on 64bit Amazon Linux 2/3.2.2

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

Easier secure Elastic Beanstalk environments

License:MIT License


Languages

Language:Shell 94.1%Language:Dockerfile 5.9%