How do I change my Elastic Beanstalk instance type?

0

I created an Elastic Beanstalk environment using EB CLI. It made a "t2.micro" instance.

My app is getting a lot of traffic, we are using Auto scaling and it is working somewhat for us but my server gets down on high memory usage because of CRON jobs.

Now I am thinking to switch to a large instance type with at least 4GB memory. I can't seem to find any option on the configuration to modify the instance type.

Can you please guide me on how to change that without any downtime? Thank you

demandé il y a 2 ans2634 vues
1 réponse
0

Hi

You can configure how Auto Scaling works including Instance Type by editing Capacity on the environment's Configuration page in the Elastic Beanstalk console.

See https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.managing.as.html#environments-cfg-autoscaling-console

Configuration changes that modify the launch configuration or VPC settings require terminating all instances in your environment and replacing them. For example, when you change the instance type or SSH key setting for your environment, the EC2 instances must be terminated and replaced. Elastic Beanstalk provides several policies that determine how this replacement is done.

See https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-updating.html

profile pictureAWS
EXPERT
Matt-B
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions