Question

load balance for horizontal scale apps

https://developers.digitalocean.com/documentation/v2/#remove-droplets-from-a-load-balancer

the load balance I got at the above url is only for droplets.

To assign a Droplet to a load balancer instance, send a POST request to /v2/load_balancers/$LOAD_BALANCER_ID/droplets

Does it work for horizontal scale apps also?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Accepted Answer

Hi there,

Load balancing is a built-in part of how App Platform works, meaning you don’t need to enable or configure it:

https://docs.digitalocean.com/products/app-platform/concepts/load-balancer/

With the App Platform, you can scale your application horizontally by increasing the number of containers, or vertically by increasing the container size as described here:

https://docs.digitalocean.com/products/app-platform/how-to/scale-app/

Hope that this helps! Regards, Bobby

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.