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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南