Report this

What is the reason for this report?

Is the Load Balancer support SSL TCP?

Posted on March 16, 2022
Vu

By Vu

We have a use case that required LB to terminated SSL TCP and forward plain connections our nodes. Is there way to accomplish this with Digital Ocean’s Load Balancer or any alternative solution?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

Yes, this is actually a standard practice as the SSL termination places the slower and more CPU-intensive work of decryption on the load balancer and simplifies certificate management.

You can define a rule in your Load Balancer to proxy the traffic from port 443 (HTTPS) on the Load Balancer to port 80 (HTTP) on your Droplets.

For more information on SSL termination, I could suggest taking a look at the documentation here:

https://docs.digitalocean.com/products/networking/load-balancers/how-to/ssl-termination/

Regards,

Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.