cPanel on AWS - data retention

osvi

Registered
Aug 11, 2006
4
0
151
Hello,
I wonder how does it work cPanel over AWS, using the official supported AMI.

Since EC2 disks are volatile, is cPanel resetted if I stop and restart a server?
Is it possible to change instance type after the installation (for more CPU/RAM)?

Thank you!
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston

osvi

Registered
Aug 11, 2006
4
0
151
Hi Lauren,
from the documentation it is not clear where the data is stored, nor if it is possible to migrate between instance types.

Thank you!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello @osvi,

Good questions!

1. As you can see in the image below, "Shutdown Behavior" is set to "Stop" instead of "Terminate" by default when setting up the AMI:

aws-setup.png

Thus, stopping or rebooting the server should not terminate the instance or result in data loss unless you configure "Terminate" as the shutdown behavior.

2. Changing the instance type is known as resizing. Amazon documents how this works at:

Changing the Instance Type - Amazon Elastic Compute Cloud

Once you stop the instance, you can then change the instance type as seen in the image below:

aws-instance.png

Note the Amazon link above documents multiple considerations to be aware of before performing this action.

Let me know if you need me to perform any tests or clarify any additional behavior.

Thank you.