Self-host the Cloudron on AWS

By Johannes on Tuesday, July 5th 2016

We are happy to announce the possibility to self host-the Cloudron platform on AWS EC2.

Self-hosting is intended for technically savvy people to host on their own on EC2. We will release the very same versions that we already offer as a fully managed Cloudron via cloudron.io. It includes the same feature set as the managed Cloudron. However, it does not come with any support or uptime promises.

How it works

We offer public AMIs for the base image in all AWS regions. We have extended the Cloudron CLI tool to provide an easy way to create a Cloudron in your AWS account. The tool will assist you in spinning up an EC2 instance, provisioned with the latest Cloudron version. It will also help in base image upgrades and in restoring the whole instance from a backup.

To get started, all you need is the Cloudron commandline tool via npm, a domain and an AWS account.

Once you have setup a few AWS resources, like DNS zone and the backup bucket in S3, a single command will bring your Cloudron to life:

cloudron machine create ec2 \
    --type t2.small --disk-size 30 --region <region-slug> --ssh-key <ssh-key-name> \
    --fqdn <domain> \
    --access-key-id <aws-key-id> --secret-access-key <aws-key-secret> \
    --backup-key <encryption-key> --backup-bucket <backup-bucket-name>

For detailed information, please refer to our documentation.

What to expect

We have tried to create a smooth process to self-host Cloudrons on EC2 with the CLI tool. However, since this is a brand new feature, there are likely some bugs and rough edges.

Please send us feedback at support@cloudron.io or join us at our chat.