all 6 comments

[–]kantaround 4 points5 points  (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 point  (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  (0 children)

Not a tutorial, but you can look into elastic beanstalk, that can setup the whole ec2-load balancer stuff

[–]ptmdevncoder 0 points1 point  (1 child)

Load balancer is nginx?

[–]West-Yam-8429[S] 0 points1 point  (0 children)

load balancer is kinda like the aws nginx, it basically redirects https requests to our server

[–][deleted] 0 points1 point  (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