Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jimmitjoo's avatar

Setting up auto-scaling on AWS using Envoyer or Forge

Have you managed to set up auto-scaling on AWS with Envoyer or Forge?

I am about to launch a service that is going to need to scale up as CPU increases when there are many users doing heavy tasks, however, how do I manage to deploy to multiple servers when the machines might often change their IP's? When I for example create an AMI we might have one version of the application, but it has to be updated when we make a new launch. Having a hard time getting my head around this.

How do you handle this? Any good articles on the subject?

0 likes
2 replies
aurawindsurfing's avatar

AWS have its own auto scalling policies. No need to use forge or envoyer here. Create AMI and trigger policies. Not sure if you would use loadbalancer from forge but you probably could.

markotitel's avatar

You want to use ElasticBeansTalk.

It will deploy new PHP environment to which you upload your code and the EB manages deployment and scaling for you.

Please or to participate in this conversation.