The difference between Aliyun SLB service and adding upstream in nginx.conf

such as the title.
what"s the difference between purchasing SLB services and writing upstream yourself? can"t all meet the needs of load balancer?
or buying a SLB service is like a stupid one-click operation. Omitting the process of writing code?

Mar.14,2021

the final result is the same, except that Aliyun cloud load balancer provides a configuration operation interface, which is simpler and easier to manage, just like Aliyun security group and server configure firewall ports


I think the most critical difference is that Aliyun's cloud load balancer promises high availability. If you write a upstream by hand, it should still belong to the category of single point deployment, that is, you cannot guarantee the availability of the load balancer node itself. To put it bluntly, once this node dies, all the services behind it will die collectively. But if you deploy multiple points to ensure high availability, the cost will be higher than the cost of using SLB. Of course,
also has relatively intuitive differences such as visualization, which I won't repeat.

Menu