Vultr VPS provider - fathzer/terra-vpn GitHub Wiki
An American provider
Pros:
- A very large choice of countries to host the VPS
- Good prices
- Clean Web GUI
Cons:
- Documentation is not as good as expected (I spent two hours trying to deploy a market place application, the terraform plugin gives informations inconsistent with the documentation ... and nothing, even the ChatGPT advices worked). I finally found browsing their API with curl...
- The cheapest instance is not available in all zones.
{
"region": "ewr",
"instance_type": "vc2-1c-0.5gb",
}
The list of zones is available using their API. The call is a GET on https://api.vultr.com/v2/regions which must be authenticated with your API token (see below).
Warning: all instance types are not available in all zones.
-
token
: Your Vultr API token
You should first enable the API in your Vultr account and create a token.
Both are reachable from any page of Vultr console, under the API
menu item beside your account name (top right corner).
The documentation to create a token is available here
To reduce the risk of abuse, you should restrict the token to the IP from where you will use the API (Note: there is no way to restrict the token to a range of IPv6 addresses).
-
ssh_key_name
: The name of the SSH key to use to connect to the VPS.
You need to upload your public SSH key to Vultr before deploying the VPS. You can do that using the SSH keys
menu item beside your account name (top right corner) in the Vultr console.
The default key name is odvpn
.
{
"vps": {
"provider": "vultr",
"config": {
"token": "your_vultr_access_token",
"ssh_key_name": "your_ssh_key_name",
}
},
"ddns": {
"provider": "afraid",
"config": {
"token": "your_afraid_token",
}
},
"vpn": {
"hostname": "your_hostname"
}
}