简体   繁体   中英

AWS Load Balancing Server with Application Load Balancer

Let's say If I am using my own application load balancer instead of an Elastic Load balancer and I am using Nginx which is installed and configured in EC2 Instance.

Nginx is serving as a web-server and reverses proxy which has few upstream proxy servers at the backend. I can define cloud watch to check my backend servers load and set up the configuration to launch new instances when the server is in load but how to register that instance setting on Nginx?

What are the best practices for achieving auto-scaling in my case? How to offload it once the load is normalized

In this case, you need to create your own AutoScaling service and create your own API to talk with Nginx when a new server starts or when a server shutdown.

But this is not the preferred way to use your application on Cloud. AWS services offer solutions for this.

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