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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bad4-2bb06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bad4-2bb06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?