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年前2632ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ