Vultr Deployment Playbook

Prerequisites

Whitelist your IP

You must whitelist your IP address with Vultr.

1

Get to the Vultr Settings API dashboard

Go to the Vultr Settings API dashboard: https://my.vultr.com/settings/#settingsapi

2

Retrieve your IPv4 address

Run this on your host machine:

curl ifconfig.me
3

Update Access Control

Update the Access Control list with {IPv4_OUTPUT_ABOVE}/32 and click Add.

IP Whitelist

Screenshot Example

Image

API Key

Obtain your API key from https://my.vultr.com/settings/#settingsapi


Managing Instances

Create the Vultr Instance

The command below creates a new instance with the following parameters:

  • plan vc2-6c-16gb: 6 vCPUs w/ 16GB RAM and 320GB SSD

  • os_id 2136: Debian 12 x64

  • region sea: Seattle, WA, USA

Retrieve the Vultr Instance Configuration

Check the instance status at https://my.vultr.com/subs/?id=VULTR_INSTANCE_ID

Get the instance details:

Environment Setup

Once you've created and retrieved your instance details, set up environment variables:

Connect to Your Instance

Connect to your instance:

The password is in vultr_create.json under instance.default_password.

Copy password to clipboard (macOS example):

Setup password-less ssh:

[Optional] Streamline your configs

One option is to create a directory and move the JSON files there:

Example opinionated .env:

Delete Instance


[Optional] Prepare your instance for Pocket

Install pocketd

Import or create an account

Export a key from your local machine:

Import it into your instance:

Or create a new one:

Run a full node

See the instructions in the full node cheatsheet: https://dev.poktroll.com/operate/cheat_sheets/full_node_cheatsheet


Additional Resources

Explore Available Plans

Explore the JSON:

Explore Available Operating Systems

Explore the JSON:

  • Vultr API Documentation: https://www.vultr.com/api

  • Vultr CLI GitHub Repository: https://github.com/vultr/vultr-cli

Was this helpful?