Category ACM
Share experience about ACM
How to Setup a HTTPS Node JS Server on Amazon EC2
2021/3/1·10 min readThis blog is a complete guide that shows how to set up HTTPS node.js web server 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`.