简体   繁体   中英

Can I use pm2 instead loadbalancer?

I have an application running in the Elastic BeanStalk on AWS, can I install pm2 to manage my aplication and turn off the loadbalancer, is better have only the loadbalancer or have two at the same time?

PM2 according it's documentation is daemon process manager that will help you manage and keep your application online. It is not built for load balance.

For balance traffic between cluster of services you should to use separate load balancing solution like haproxy or other solution

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