Web-hosting
Quickstart
Website hosting on DeTEE.
It is very easy to host your website on DeTEE. It is as easy as deploying a VM and installing a web server on it, e.g. Nginx or Apache.
Why hosting on DeTEE?
DeTEE gives you a number of benefits compared to its competitors:
- Forget about having a handful of regions to choose from - pick any location for your server where the community is present;
- Pick exactly what you want - DeTEE allows you to choose the amount of vCPUs and RAM with a megabyte precision, 2 vCPUs and 4GB of RAM is a good starting point for any website;
- Pay only for what you use - DeTEE allows you to pay by the hour, so you can easily test your website and then decide if you want to keep it running or not;
- Unarguable security - DeTEE is built on top of the most secure hardware available today, Intel SGX and AMD SNP;
- No vendor lock-in - with DeTEE switching hosts is as easy as it can get;
Quickstart
First you need to run the detee-cli
and have a DeTEE account. Please,
refer to the Getting Started tutorial for
creating an account. The next step is to deploy a VM in the location that
you prefer (that is closer to your users):
Terminal
detee-cli vm deploy --location France \
--vcpus 2 --memory 4000 --disk 5 \
--hostname website \
--distro ubuntu \
--public-ip \
--hours 800
The deteep-cli
will return something like this:
Terminal
Node price: 0.00002/unit/minute. Total Units for hardware requested: 26. Locking 0.0312 LP (offering the VM for 1 hours).
Injecting disk encryption key into VM. This will take a minute. Do not interrupt.
To SSH into dude (UUID: 160d0b1f-693b-47ee-8ae0-2116f7fada0b), run the following command:
ssh -i /root/.ssh/id_ed25519 -p 22 root@149.22.95.3
This means that the VM is up and running. You can SSH into it using the
command that was printed. If you want to use your own SSH key, just add
it to the ~/.ssh/authorized_keys
inside the VM.