Offer Deplo to your customers
Ship Deplo as a VPS template that installs itself on first boot, with the customer's account already in it.
The setup we recommend to every hosting provider: a clean image, one command at first boot, and an address you can predict. The customer signs in with the email and password from your welcome email.
Build the template
Start from a clean image
A minimal image that meets the server requirements.
Run the installer on first boot
Chain it to your provisioning, right after the operating system install:
#cloud-config
runcmd:
- curl -fsSL https://deplo.build/install.sh | bash -s -- --yes --owner-email [email protected] --owner-password '<temporary password>'--owner-email: the customer's, from their order.--owner-password: a temporary one, at least 8 characters, new for every order. Your billing (WHMCS, for example) already generates one. At the first sign-in Deplo makes the customer replace it.--domain panel.customer-domain.com(optional): the panel starts on the customer's own domain, with HTTPS. Its DNS must point at the VM.
The cloud-init version works on any panel that takes cloud-init user data: Proxmox VE, SolusVM 2, Convoy, OpenStack, CloudStack. On VirtFusion, add it as a server provisioner.
Treat the temporary password as seen
It shows in the process list while the install runs, and cloud-init keeps it in the user data. Tell the customer to sign in right away: the first sign-in replaces it.
On Virtualizor: the root password as a fallback
A recipe can pass only the root password: use
--owner-email '{{username}}' --owner-password '{{root_pass}}'. Until the first sign-in, the root
password also opens the panel.
Build the customer's address
With --domain, the address is that domain. Without it, the panel answers on deplo.site: each
part of the IPv4 becomes two hex digits, so 203.0.113.10 gives
https://deplo-cb00710a.deplo.site.
IP=203.0.113.10
echo "https://deplo-$(printf '%02x' ${IP//./ }).deplo.site"An IPv6-only VM: 2001:db8::10 gives https://deplo-v6-2001-db8--10.deplo.site.
Send it
Put the address in the welcome email or on the VPS page, next to the email and temporary password. The install takes a few minutes after boot: until then the address does not answer.
Use your own wildcard domain
To put the panel under your brand, run wildcard DNS on a domain of yours and pass the VM's name on
it with --domain, built the same way:
curl -fsSL https://deplo.build/install.sh | bash -s -- \
--yes --owner-email [email protected] --owner-password '<temporary password>' \
--domain deplo-cb00710a.example-vps.net- Use a dedicated domain, apart from your main one: customer servers answer on it, so abuse reports and blocklists stay away from your website.
- nip.io, self-hosted, resolves the hex form
out of the box. It needs port
53open on UDP and TCP. - The
deplo.siteaddress stays on as a backup. The customer can turn it off in Settings -> Deplo -> Advanced -> Backup address.
A different setup in mind? Write to [email protected].
Something wrong for a customer? See Buying from hosting providers.
Did this page help you?