Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 2.14 KB

readme.md

File metadata and controls

42 lines (34 loc) · 2.14 KB

Single-instance HTTPS using certbot

Minimal example of HTTPS (TLS) setup using certbot, for an application running in a single-instance Elastic Beanstalk environment on AWS.

Features

Getting started

  1. Clone this repo
  2. Create an application version from the repo, e.g. using the eb cli:
    eb appversion --create
  3. Spin up a default Elastic Beanstalk web server environment with a single instance running Python on Amazon Linux 2023:
    • either do it manually, using the Elastic Beanstalk web console or eb cli (select your new application version from the list)
    • or use CloudFormation to create a stack using the template in the .cloudformation folder (specify the S3 key of your new application version, e.g. temp/app-6fxb-215704_101115830772.zip)
  4. Visit your site to see the result

Notes