Install in the cloud¶
Some people make you pay to have a ‘cloud service’. What I’m providing here is a very simple way to install eLabFTW on your own server in the cloud, cutting the middleman.
This way you get to keep total control over your data. It will cost you less than 5$ a month. No setup fee, no annual licence, no overpriced features, welcome to open source software ;)
Everything will be configured properly and automagically.
If you don’t have a (sub)domain already, you can get one from OVH, Gandi, 1&1 or any other domain name registrar. You can get one for half a dollar per year. It is highly recommended to have a domain name, it’s much more friendly than an IP addresses!
If you don’t want to deal with server administration or domain names and all these things, you can use Nanobox.io to deploy eLabFTW.
Create your droplet¶
- Create an account on DigitalOcean. Use this referral link to have 100$ offered!
- Alternatively, you can use Vultr. Use this referral link to register an account! The rest of this tutorial is for DigitalOcean.
- Create a droplet with Docker (from the One-click Apps tab), select a size and a region.
- Optional: enable backups (might be a good idea)
- Optional but highly recommended: add your SSH key (documentation)
- Create the droplet (it takes less than a minute)
- Copy the IP address
- Optional: go to the control panel of your domain name provider. Point your domain (or subdomain) to the IP address of your drop. It might take a bit of time for the DNS to propagate (a few hours).
Without a domain pointing to the drop, you will have a self signed certificate (so users will have a warning), whereas if you have a domain name, you will get a proper SSL certificate from Let’s Encrypt.
- Open a terminal and connect to your new server:
- Follow the steps for a normal install.
This video shows all the steps from above: