cPanel License on AWS EC2 instance with EFS

oah

Well-Known Member
Jan 23, 2018
51
9
8
Iraq
cPanel Access Level
Website Owner
Hi
I have two questions regarding AWS auto-scaling

1- In auto scaling you have to setup an AMI (an image file) from your current machine (which by the way has your actual cpanel license key). Each newly launched machine within the auto-scaling scheme will boot-up using the provided AMI (which has the same Cpanel license key)... apparently that will cause conflict between the machines and IPs how to solve it?

2- Amazon has something known as the EFS (Elastic file system) which allows multiple EC2 instances to share the same "hard-drive", will this cause an issue? as different machines (each with its own IP address) are attached to the same hard-drive which has a single license key?

Regards.
Sam.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello Sam,

1- In auto scaling you have to setup an AMI (an image file) from your current machine (which by the way has your actual cpanel license key). Each newly launched machine within the auto-scaling scheme will boot-up using the provided AMI (which has the same Cpanel license key)... apparently that will cause conflict between the machines and IPs how to solve it?
cPanel licenses are IP-based, so I don't believe this would work unless each running instance had it's own separate license, or if only one instance ran at a single time. Additionally, I've not seen any feedback from customers indicating success with an auto-scaling scheme. We do have a feature request open to add scaling support at:

Support For Cpanel Server Scaling On Amazon AWS (ie horizontal scaling)

2- Amazon has something known as the EFS (Elastic file system) which allows multiple EC2 instances to share the same "hard-drive", will this cause an issue? as different machines (each with its own IP address) are attached to the same hard-drive which has a single license key?
While network-based filesystems are often configured for backup purposes, we actually don't support them for home directories. This is mentioned under the Filesystem Requirements section in our installation documentation:

We only develop and test cPanel & WHM on filesystems that support flock. Some network filesystems (for example, NFS) may require additional configuration in order to function properly. However, these configurations are difficult to implement successfully and we do not support them.
Thank you.