-
Register a new 2-level domain, e.g mypersonalcloudron.org (sub-domains require a paid subscription)
-
Download and install Terraform
-
(GCP-only) Create a new Project and Enable IAM API and Resource Manager API in it
-
Optionally register an account at Mailgun (free for individual-grade email volumes, no card required)
-
cd aws
orcd gcp
-
Modify
terraform.tfvars
file with your domain, api keys, and optionally a backup url, when restoring. Optionallyterraform plan
, if you want to know which resources will be created for you, or check for errors. -
terraform apply
. This command can take 10-15 minutes. -
Delegate your domain to the name servers shown at the end (zone_ns). This is done at your domain registrar's control panel.
That's it! Wait for DNS records to update and try accessing your Cloudron!
./destroy.sh
in the same directory where you ranterraform apply
. This uses aterraform.tfstate
file, which is created byapply
command.
Note: this does not destroy your backups bucket and the hosted DNS zone