Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

Best AWS Instance Type for cPanel, and other findings...

Comments

14 comments

  • cPanelLauren
    Based on their documentation, the t3 medium and higher should be fine Amazon EC2 T3 Instances " Amazon Web Services (AWS) You can also delve further into the instance types and performance here: Amazon EC2 Instance Types - Amazon Web Services
    0
  • schoeps
    Have been testing for the last 3 months and the t3's just dont cut it on busy servers...
    0
  • rackaid
    We manage a number of systems on AWS - both large and small - with and without control panels. All of the instance types can be confusing. The t-series systems use burstable CPUs. These are best suited for workloads that have low sustained CPU usage. They work on a CPU credit basis. Once you use up the CPU credits, the CPU will perform at the baseline level. This may only be at 20-30% of max capacity. For example, on t3.large, if your baseline CPU is over 30%, you system will start to use your burstable CPU credits. Once these are used, the system will be throttled if not set to unlimited. You can see this condition on the server if %steal is high in top or sysstat. You can also see this in Cloudwatch under the CPU Credit Balance. If this is near 0, then you are constantly running above the baseline. If the system becomes throttled, you will see high concurrency and load averages. This usually results in a non-responsive server. The M5/C5 instances do not use burstable credits. For example, a 4 vCPU instance in C5 can run 24x7 at 100% CPU while a T3 4 vCPU can only use 30% of the CPU over the same period before it is throttled. If you set unlimited, then you will be billed for the % over the baseline. In these cases, C5/M5 can be cheaper. T3/M5 break even is 42.5% average CPU usage over 24 hours. Unless we see swap, we have found that C5 works well for typical PHP applications. C5 instances have roughly half the RAM as T3 instances. M instances are roughly comparable to T instances except you get full vCPU performance.
    0
  • PixelDad
    Well, after trying practically them all, I believe the "C" series is the best as most of our server issues arise from the CPU getting overloaded. The t3 class does not seem to have a high enough offering in terms of CPU and RAM and the "burstable" performance does not seem to work at all, possibly CentOS related? cPanel needs to work on a stateless solution to fully take advantage of cloud, without any coding and serious architecture changes, your only solution is to run a dedicated instance. Anyone else here in AWS land want to share their findings?

    Ah, I'm having the same problem! Which C series did you pick?
    0
  • schoeps
    Ah, I'm having the same problem! Which C series did you pick?

    C5 2xl!
    0
  • scottrichardson
    Just to add to this thread, I have been running two instances for hosting a lot of websites and email and they are using c5xlarge and c5large. I am going to update them to c6gxlarge and x6glarge respectively for cheaper prices and better performance.
    0
  • schoeps
    Hey Scott, Are you rolling out new WHM instances or just swapping out the instances. AFAIK you can only sway out for a C6i. I havent read much about the instance differences or the price, but if you'd like to connect, I'd live to meet someone else in the cPanel AWS world! Hop on the discord and HMU!
    0
  • ashiq546891
    Just sharing, last month, we also moved our two cPanel servers from IBM Cloud to AWS. In IBM Cloud, we were using a bare metal server (Intel Xeon E3-1270 v3 X 32 GB) and a VSi (8 vCPU X 16 GB). In AWS at first, we were using c5a.2xlarge for both of the servers. But had to switch to c5a.4xlarge for the bigger server due to frequent overload issue. Although, later we found the culprit was mysql tmpdir.
    0
  • schoeps
    Interesting. Why c5a? Are you in the US? Let me know if you'd ever want to connect!
    0
  • ashiq546891
    @schoeps No, I am from Bangladesh. Our Account Manager from AWS suggested we use c5a for cPanel. So far, the only issue we are facing is bandwidth charge is Pay As you go in AWS, so it's very high compared to IBM. Our monthly usage is over 3 TB. I am now thinking of moving the high traffic accounts to Digital Ocean, since bandwidth is cheaper in Digital Ocean.
    0
  • schoeps
    smart!
    0
  • ashiq546891
    Hello, yes, we are trying to reduce the cost as much as we can. However, there is an issue running cPanel in Digital Ocean, we cannot use Reserved IP for Email. We usually use multiple IP addresses for sending email from different accounts in cPanel. So, we have to use the Primary IP address for everything in Digital Ocean, that's it.
    0
  • scottrichardson
    Hey Scott, Are you rolling out new WHM instances or just swapping out the instances. AFAIK you can only sway out for a C6i. I havent read much about the instance differences or the price, but if you'd like to connect, I'd live to meet someone else in the cPanel AWS world! Hop on the discord and HMU!

    So sorry, terribly late reply mate. Yes let's connect. What's the discord channel. And yes - you're correct. I am just now trying to change the instance type and it's only letting me use the c6i platform - I was HOPING I could go to the c7g platform actually as the performance vs cost is stellar.
    0
  • cPRex Jurassic Moderator
    Here is a temporary invite link to our Discord, although it's public and searchable: Join the cPanel Discord Server!
    0

Please sign in to leave a comment.