VivumLab can utilise Terraform to spin up cloud servers for you using other infrastructure (eg. Digital Ocean) if you don't have any physical hardware for your own use.
Obviously whichever provider you choose will have certain requirements and their own pricing scheme; be aware of this.
!!! Note: VivumLab is not an option to get free hosting from commercial providers, VivumLab just helps you deploy to their services.
!!! Note: Providing troubleshooting for any providers, commercial or not, is beyond the scope of VivumLab. Please contact the provider for any issues regarding their services.
- Create a Digital Ocean account and login
APIon the left menu, and generate a new access token; name it
Terraformand save it
vlab config decrypt --dev, to ensure your
- Copy the token into your
- set the datacenter region under
vlab config encrypt --dev, to ensure your
If you are already a Digital Ocean user, you may receive an error about a pre-existing SSH key. (422 SSH Key is already in use on your account). To correct this:
ssh-keygen -l -E md5 -f <location of ssh keys>on your server, and note the commands output.
- Login to Digital Ocean and go to the Security page
- Locate the key that matches the output from the aforementioned command
- Delete the SSH key
NOTE: default location of ssh keys is:
Terraform will re-add it when you run
vlab terraform create and will be able to manage it correctly.
vlab terraform create
vlab terraform destroy to destroy any resources Terraform created.