change EC2 parameters (cores, RAM) after I have installed a GUI and some softwares

0

Hello, My needs for virtual machines (EC2 with linux in Stockholm) are changing for two parameters: number of cores and memory (RAM).

Is it possible to get access to a machine and change these parameters after I have installed a GUI and some softwares? By that i mean that I want to keep the installation and setup of the latter unchanged. Importantly I would have installed the softwares using my own licenses.

Many thanks in advance. Antoine

已提问 2 年前571 查看次数
2 回答
2

You can definitely increase/decrease CPU and RAM for your EC2 instance. This can be achieved by change the instance type and switching to the bigger or smaller type depending on the requirement in the same instance family.

If your instance is EBS backed i.e it uses EBS volume for the root disk then follow instructions at: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html#change-instance-type-of-ebs-backed-instance

To change the instance type of instance store instance: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resize-instance-store-backed-instance.html

If you want to change to the in-compatible instance type then please check: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html#migrate-instance-configuration

已回答 2 年前
2

On EC2, you can't technically change the resources allocated to an instance, but you can easily stop it, change the instance type and start again.

Details here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html and the end result is the same than increasing resources, except this can't be done live.

AWS
已回答 2 年前

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

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

回答问题的准则