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

已提问 2 年前2618 查看次数
1 回答
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
专家
Matt-B
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则