- Newest
- Most votes
- Most comments
To get https "working" for a website, e.g. bsatroop706.org
The following broad strokes were followed
referenced this youtube video https://www.youtube.com/watch?v=kvM-Tfa71eo (very clear instructions/steps)
Here are the instructions that I extracted from the video and successfully implemented:
Pre-requisites
- domain exists
- ssl certificate exists
-> Created Environment using Elastic Beanstalk
(you could do this without beanstalk, but for someone that is not an AWS dev ops person, this might a better choice)
. add your application, in my case, application exists in a jar file - to uploaded that jar
-> Configure environment selecting "custom configuration" -> this moves you out of the free tier
-> Configure instances / processes
. select your processor (I set to nano)
. select your instance count (I set to one)
-> Configure "application load balancer". Change the following . port 443, protocol HTTPS, . select certificate you created earlier . selected random "ssl policy"
-> Create "Environment Process". Change the following . name "SSL" can be anything . port 443 . protocol HTTPS
Configure "Route 53" DNS. Change the following
- Add A record . reference "application load balancer"
Configure EC2. Change the following: -> configure application load balancer . update "listener" tab "traffic from website/client goes across https" and is decrypted/encryted using the application load balancer
Edit port 80 . delete "forwarding entry" . add a redirect entry . protocol "HTTPS" . port "443"
That worked for me
Hello, it's great to see that you have successfully configured your HTTPS site. I'd also like to thank you for returning to explain the solution for anyone else who may face this issue in the future.
This AWS document also explains the ALB listener rule configuration that you've summarized. This may come in handy for yourself or others in future endeavors.
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 3 months ago