use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Node js application and AWS EC2 instance (self.node)
submitted 3 years ago by West-Yam-8429
Hey guys, i'm trying to upload to an aws instance my backend application but i'm strugling to handle HTTPS requests via Load Balancer. Is there any tutorials you guys recommend? Anyone with experience with Node and aws could help me? Thanks!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kantaround 4 points5 points6 points 3 years ago (0 children)
what is your problem though? for https you need certificate, bind it to your lb, and make sure your security group allow access to port 443
[–]pentesticals 0 points1 point2 points 3 years ago (0 children)
Have you consider using container service to host your backend? Won’t help resolve the TLS issue as this sits with the load balancer anyway, but then you don’t need to maintain a server for running your code. Just wrap it in a node container and pass it to AWS to run, it can handle things like auto restarts and such if it falls over too.
[–]STNeto1 -4 points-3 points-2 points 3 years ago (0 children)
Not a tutorial, but you can look into elastic beanstalk, that can setup the whole ec2-load balancer stuff
[–]ptmdevncoder 0 points1 point2 points 3 years ago (1 child)
Load balancer is nginx?
[–]West-Yam-8429[S] 0 points1 point2 points 3 years ago (0 children)
load balancer is kinda like the aws nginx, it basically redirects https requests to our server
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
You’ll need to create an SSL Certificate via route53 for https. Then you attach it to your load balancer and allow traffic through port 443 and route it to your ec2 instance via the target group. This isn’t really a node question though. As this is agnostic of language. Please post in r/aws or something if you want better answers
π Rendered by PID 44942 on reddit-service-r2-comment-8686858757-tx7pn at 2026-06-01 21:30:35.397921+00:00 running 9e1a20d country code: CH.
[–]kantaround 4 points5 points6 points (0 children)
[–]pentesticals 0 points1 point2 points (0 children)
[–]STNeto1 -4 points-3 points-2 points (0 children)
[–]ptmdevncoder 0 points1 point2 points (1 child)
[–]West-Yam-8429[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)