PD AWS EC2 for WHMCS

PD EC2 — Resell Amazon EC2 Compute as Your Own Cloud Servers in WHMCS

Resell Amazon EC2 compute as your own cloud servers — provisioned, billed and managed in WHMCS

Made and supported by Projektif Digital Ltd. Runs inside PD Modules, the panel every module installs into.

Servers & Compute

PD AWS EC2 lets a hosting company sell Amazon EC2 cloud servers as its own product. Your customer orders in your WHMCS cart, the instance is launched in your AWS account with the instance type, region and operating system they picked, and they manage it from your client area: a control panel that carries your brand and never mentions AWS. You set the price, AWS bills you the cost, and the difference is your margin.

It is built for hosts who want to offer the range and reach of EC2 without building a control panel, without handing out AWS access, and without a support ticket every time a customer needs a reboot.

Why hosts choose PD AWS EC2

Sell cloud servers under your own brand. Your customers see your company, your prices and your client area. Nothing on their service pages names AWS, and they never need an AWS login.

Every order sets itself up. The instance is launched when WHMCS sets the order up, with its own firewall, its own SSH key and the options the customer chose at checkout. Suspend stops the server and keeps its disk, unsuspend starts it again, and renewals leave it running, so your normal WHMCS billing drives the server.

A stable address from the start. Each server gets a stable public IP a few minutes after it is created and keeps it across stops and starts, so a customer can point DNS at it and leave it there.

Customers help themselves. Power controls, connection details, backups, a firewall, extra disks, SSH keys, usage graphs and an optional in-browser terminal are all on the customer's own service page. That is most of the tickets a server product normally generates.

Products that stay current. Instance types and images are read live from your AWS account. Images are tracked by family, so every order launches the latest patched image of the operating system chosen. A daily check tells you when AWS retires something your cart still offers, and one click of Sync hides it from new orders without touching existing customers or your prices.

Nothing left billing. Terminating a service terminates the instance and its root disk, releases its stable IP and removes its firewall, key pair, extra disks and backups, then verifies the teardown. No forgotten resources on your AWS bill.

How it works

  1. Connect your AWS account. Add your AWS keys once on a WHMCS server record, using an IAM user with the policy we ship. Test Connection checks the keys before you save them and names AWS's own reason if something is wrong.
  2. Create your products. Pick an instance type, image and region as the defaults. One click generates the cart options (region, instance type, operating system, extra storage and backups) from your live AWS catalogue, with prices pre-filled at your target margin for you to review.
  3. Your customer orders. They choose their options at checkout and pay. The instance is launched in your account, with its own firewall and SSH key, and the customer's page shows when it is running.
  4. You get paid, they manage it. WHMCS keeps billing as usual. Upgrades to another instance type resize the same server, keeping its disk and data.
Your customer's server page: running state, region, plan, power controls and server details
Your customer's server page: running state, region, plan, power controls and server details

What you get in WHMCS

Selling and pricing

  • Cart options generated from your live AWS offerings: region, instance type, operating system, extra storage and backups you can keep
  • Choose which options customers see; anything you hide is fixed to your product's setting, and changing what is shown keeps every price
  • Price Analysis shows the live Linux On-Demand cost of each instance type in your default region and a suggested price at your target margin. It is a starting point to review: the figure leaves out the root disk, extra storage, the stable IP, Windows licensing and data transfer
  • Curated operating system families plus your own images
  • A root disk size, extra storage at checkout and a startup script that runs on first boot, set per product
  • Optional data-transfer metering: each server's transfer is recorded in WHMCS usage and can be billed as overage with WHMCS's own bandwidth settings
  • More than one AWS account if you need them

Provisioning you can trust

  • Orders whose instance type, image and region AWS cannot build together are refused before anything is created, with the reason shown to you
  • A failed create leaves nothing behind at AWS, and you can run Create again once the cause is fixed
  • A server is never placed on your account's shared firewall: if its own cannot be created, provisioning stops and tells you which permission to add
  • Data-preserving resizes: the server is stopped, resized and started again with its disk intact, and a size AWS refuses leaves it as it was, running
  • Windows servers are treated as Windows throughout, with an RDP-ready firewall and the Administrator password shown on the service page

Running it day to day

  • Clients and Services: every instance with the client paying for it, its type, region, IP and last recorded state
  • The Products screen shows each product's server, settings, cart options, catalogue state and the next step to go live
  • Logs of every launch, start, stop, terminate, backup, resize and IP action across all services

What your customers get

  • Start, stop and reboot, with a confirmation and a progress indicator, and a page that refreshes to the new state
  • Connection details: public and private IP and a ready-to-paste ssh command, with a downloadable key for Linux servers that only the owner can fetch
  • An in-browser terminal to their Linux server with no SSH client and no key handling (you switch it on, per product)
  • Backups of the whole server, restored in a click, up to the number they bought, plus optional daily automatic backups with the retention you set
  • A firewall they manage themselves: add or remove rules by protocol, port or range, and source
  • Extra storage disks they add, grow or remove, attached to the server automatically
  • A dedicated IP they can assign or release from their connection details
  • Their own SSH keys, added by name and applied when the server is built or reinstalled
  • Reinstall with a fresh copy of the original operating system, behind a typed confirmation, keeping the IP and extra disks
  • Usage graphs for CPU and network in and out
  • A start and stop schedule on the days and times they choose, if you allow it
  • Recent activity in plain words, each action once, with its result
The firewall page: customers add and remove inbound rules without opening a ticket
The firewall page: customers add and remove inbound rules without opening a ticket
Recent activity: each action on the server with a time and a result
Recent activity: each action on the server with a time and a result
Your customer's usage graphs: CPU, network in and network out
Your customer's usage graphs: CPU, network in and network out

Every one of these is a switch on the product. Turn one off and it disappears from the customer's page, and the server refuses it too. The pages render natively on WHMCS's Six, Twenty-One and Nexus themes and are fully translatable, with wording overrides that survive updates.

The same server page on the Six theme, with no extra styling needed
The same server page on the Six theme, with no extra styling needed

Security built in

  • AWS keys live only on the WHMCS server record, stored encrypted, never on a customer page.
  • Every Linux server ships with its own SSH key, and only the signed-in owner of a service can download it.
  • The in-browser terminal is off until you switch it on. Sessions are short-lived and single-use, and the server's key never reaches the browser.
  • The IAM policy we provide covers the EC2 actions the module uses. It applies to every resource in the account, so use an AWS account dedicated to reselling if you want the key fenced off.

One product, every feature

PD AWS EC2 is one paid module with everything included: provisioning, power, backups, firewall, volumes, metrics, resizes and the browser console. There is no free tier or add-on to compare. It installs into PD Modules in one click, updates itself, and uninstalls cleanly without modifying any WHMCS files.

If your subscription ever lapses, your customers are not cut off. You get a 14-day grace period with everything working, then admin management locks while customers keep being served, and only after that do customer features pause, behind a neutral "contact support" message that never mentions licensing. The browser console stops once the subscription has expired, and new servers are no longer provisioned, but everything already running stays up in your AWS account throughout.

Requirements

  • WHMCS 9 or later on PHP 8.2 or later, with the ionCube Loader
  • An AWS account with EC2 access (an IAM user with the policy we provide)
  • PD Modules, the free control panel every PD module installs into

Questions

Do I need my own AWS account?

Yes. You connect your AWS credentials once, and every client server is provisioned into your account — AWS bills you, you bill your client through WHMCS, and the difference is your margin. A ready-made IAM policy for the EC2 actions it uses ships with the module.

How does billing and margin work?

You set your own recurring price on each WHMCS product. AWS charges you the underlying cost; you keep the difference. Price Analysis shows the Linux On-Demand cost of each instance type in your default region and a suggested price at your target margin — it does not check the prices you set, and it leaves out storage, the stable IP, Windows licensing and data transfer, so allow for those.

Do elastic IPs, EBS volumes and security groups need managing in the AWS console?

No. PD EC2 provisions the elastic IP, security group and key pair for you, clients add or remove firewall rules and attach extra EBS storage from their portal, and everything is released cleanly on termination — no AWS console required on either side.

Can clients get a real terminal on their server?

Yes — an optional in-browser SSH console gives them a full terminal with no SSH client, keys or setup on their side. It stays off until you enable it in Settings.

What happens to a client's server if they're suspended or cancelled?

You stay in control: suspension and termination follow WHMCS's normal service lifecycle, and termination tears everything down — the instance, elastic IP, security group and key pair — so you carry no orphaned AWS resources or surprise bills. Termination also deletes the server's backups, so make sure the client has copied off anything they need first.

Is this one price or lots of tiers?

One paid product with every feature included — provisioning, power controls, snapshots and AMI backups, firewall, live metrics, elastic IP, EBS volumes and the console. No confusing add-ons.

What happens if my subscription lapses?

Nothing of yours is touched, and nothing is deleted. The module steps down in stages instead: a 14-day grace period where everything still works and you get a renewal reminder, then admin management locks while your customers carry on being served, and only after that do the customer-facing features stop — behind a neutral "temporarily unavailable, please contact support" message that never mentions licensing to your customer. Anything the module provisioned keeps running in your own account throughout, and your data and settings stay exactly where they are. Renewing restores everything immediately.

Which WHMCS and PHP versions does it need?

WHMCS 9 or later, on PHP 8.2 or later. It installs alongside whatever else you run — it adds its own tables and templates rather than modifying WHMCS files, so it does not collide with other vendors' modules or with a customised theme. Uninstalling removes its own tables and settings. Terminate its services and let their cleanup finish first — uninstalling also removes the record of any cleanup still in progress.

What’s new in 0.1.86

  • Fixed: the Services screen showed nothing when servers were provisioned. It now lists every instance with its customer, whichever billing system you run.

Get your website online with PD Hosting

UK hosting, domains and support from a real team. From a first site to a full server.

Terms and Conditions  ·  Privacy Policy

PD Hosting is the trading name of Projektif Digital Ltd, registered in England and Wales, company number 12482555.

PD Hosting
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.