How to change instance type without losing data

0

Hi, I have a t3.large instance created, with 3 EBS volumes, root, /opt and /local/notesdata and I would like to change it to a m5.large.

On /opt, I have my main program installed (HCL Domino 12, a popular email server). That program, has his data on an additional volume mount on /local/notesdata.

While I am aware that I can detach that 2 volumes, create a new instance using m5.large, and attach that volumes on them, and I am not sure if Domino will launch correctly withouth some information stores on the root/main volumen (where the service is created, for example). Also, I would lost my /home directories on the new instance created.

So, basically, how do I change a famility from a type to another one ? Is the information stores on the root volume ( /etc configuration, /home directories, inet.d services) lost ? Should I recreate manually all the information that was setup on the root volume when I do a new instance ?

Thks !!!

AndresG
질문됨 2년 전4791회 조회
1개 답변
3
수락된 답변

The information is not lost if you change the instance type, except the instance store-backed instances. You also have to make sure your source and target instance types are compatible with each other. For more information on compatibility check please see: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resize-limitations.html

You can:

  1. Safely shutdown the instance (make sure the shutdown behavior is not set to terminate).

  2. Change the instance type and

  3. Start the instance again.

The procedure for instance store-backed instances is documented on below url: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resize-instance-store-backed-instance.html

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠