Step by step tutorial on how to enable https on single instance elastic beanstalk environment,
with http to https redirection.
This tutorial uses Node.js as platform, but it includes instructions for other platforms too.
Timetable:
Prologue:
0:00 - Intro
00:55 - Deploying app on elastic beanstalk using web console
01:42 - Deploying app on elastic beanstalk using EB CLI
03:53 - How to disable load balancer on elastic beanstalk (ELB)
Enable https on single instance EB environment:
05:19 - Open port 443
05:42 - open-port.config code link: https://github.com/avoup/Elastic-beas...
05:56 - Create SSL certificate
06:10 - certs.config code link: https://github.com/avoup/Elastic-beas...
06:40 - Issue free SSL certificate
09:00 - Configure nginx to listen to port 443
09:40 - https.conf code link for Node.js: https://github.com/avoup/Elastic-beas...
09:55 - Enable Socket.io on https
10:13 - Configuring app to terminate https docs: https://docs.aws.amazon.com/elasticbe...
12:16 - Http to https redirection for Node.js
12:30 - redirect.conf code for Node.js: https://github.com/avoup/Elastic-beas...
12:40 - Http to https redirection for other platforms: https://github.com/awsdocs/elastic-be...
15:40 - Change port our app listens to
16:04 - Deploy app
Epilogue:
17:20 - A very sentimental speech from author (me)