skip to Main Content

I’m trying to get my service to scale with the load. It’s possible to configure all these capacities and values. In that case, AWS will spawn new instances of your service. You’ll have multiple instances running at the same time.

https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-capacity-limits.html

Is it possible to have it increase resources for a single instance instead? For example, add more RAM, when RAM usage is high.

2

Answers


  1. No, you cant scale vertically (bigger instance) on demand. You should build infrastructure that scales horizontally (more instances).

    Login or Signup to reply.
  2. Yes, it’s possible but it will require stopping and terminating EC2 instances.
    AutoScaling will perform a rolling replacement.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search