Share experience about ACM
3/1/2021·10 min read
This blog is a complete guide that shows how to set up HTTPS node.js webserver on EC2 from beginning to end. It'll include how to set up a simple Express.js web app on EC2, how to create an SSL/TSL certificate by using AWS Certificate Manager, how to setup AWS application load balancer and create redirect rule from non-www to www, HTTP to HTTPS, and how to use Route 53 to configure a route from your custom domain to the AWS application load balancer. This blog will assume using example.com, at the end of the blog, we'd like all the http://example.com, http://www.example.com, https://example.com redirect to https://www.example.com.