简体   繁体   中英

SSL certificate on ec2 instance using load balancer

I am using 4200 port t run my application. I have issued one ssl certifficate from aws also. Please let me know how can I transfer traffic to 4200 as by default its using https.

To use HTTPS the resource the client connects to needs to have an SSL installed.

For your purpose you should create an Application Load Balancer with a listener for HTTPS running port 443. The default certificate would need to be the certificate you've added. If you added in ACM ensure that it is located in the same region as the load balancer.

The listener would connect to a target group containing your instance, this would be registered to use the 4200 port on your instance (with the HTTP protocol). Ensure that the security groups allow access from the load balancer to your EC2 instance.

If you've not ever created an ALB before these links may be useful:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM