VPS Build Quick Start
This guide is specifically for setting up your VPS to build a Constellation Network node. It is a general guide only.
β½ Before We Begin (optional)
This guide does not include cloud provider-specific steps or images.
If you do not want to use the step-by-step guides, continue with this guide by skipping to the create SSH key section below.
Use the VPS setup step-by-step.
Constellation Network currently offers setup guides for:
- AWS
- Digital Ocean
β½ Create SSH Keys
Please access the Create SSH Key quick start guide to build your SSH key pair.
This is necessary to have in place before continuing.
Return to this guide when completed.
β½ Select Project
Choose or create a new project that will be used to organize your VPS instances.
Missing Projects
Not all cloud providers require this step, skip if not found.
β½ Create a Firewall
Create your firewall or security group policy first.
Firewall Mappings Chart
direction | port | description |
---|---|---|
inbound | 9000 | public api layer0 |
inbound | 9001 | p2p api layer0 |
inbound | 9010 | public api layer1 |
inbound | 9011 | p2p api layer1 |
outbound | all | Tune to your needs |
note
Setting up your firewall policy prior to building your VPS will save time.
- AWS should create a security group.
- GCP should create a firewall.
- Digitial Ocean should create a firewall.
- Hetnzer should create a firewall (you can follow the DO step-by-step).
β½ Build Wizward
Click on a new server build.
β½ Choose a Region
Choose a region that is closest to your local location.
β½ Pick an image
Choose Ubuntu
22.04
In most cases their will be a dropdown to select the version of Ubuntu or mulitple names for the Ubuntu image that will contain the version `22.04` in the image name.
π STOP
Do not choose Ubuntu 24.04 or a non-Debian distribution.
β½ Tenancy
Choose shared CPU or shared tenancy.
β½ Provision Your VPS
Minimum specification for your VPS
MainNet, IntegrationNet, TestNet Hybrid Node
Refer to the specification document for validation.
Dor and single layer metagraphs
Refer to the specification document for validation.
β½ Prepare your public SSH key
Open your public key SSH key to view its contents.
In the example steps below:
- Choose
- Windows
- Macintosh
notepad \Users\myuser\.ssh\ConstellationNodeKeyPair.pub
open -a TextEdit ./.ssh/ConstellationNodeKeyPairTest.pub
β½ Upload your public SSH key
In the previous step, an editor containing the contents of your public SSH key should have opened.
The key contents should likely start with either:
- ssh-rsa
- ssh-ed25519
It should end with your SSH key comment. If you're following our guides directly, it will end with ConstellationNetwork
; otherwise, it will end with the comment you chose or your computer's username.
Digitial Ocean and Hetzner
- Click on the upload our new SSH key button option.
- Copy the contents of your public key into the modal and add the key.
AWS
- Use the Actions menu from the Region you are building your VPS (EC2) instance within and select
Import key pair
. - Copy the contents of your public key into the modal and add the key.
You may close the editors upon completetion of this step.
β½ Assign EIP (AWS only)
If you are not using AWS, you can skip this step.
You will need to assign an EIP (Elastic IP) to allow your future Node to persist on the Internet.
- Choose Elastic IP from the side menu.
- Choose your Region.
- Allocate an EIP.
- Associate your EIP your instance after the instance is created through the action menu.
β½ Optional Services
You may skip all the additional services offered. You can treat your node as an ephemeral device and simply rebuild it in the event of any issues.
β½ Create your VPS
Click on the create (or related) button.
β½ VPS Build Process
Your VPS should now begin its creation, and you should be able to access it shortly via SSH.
Wait for your provider's quick wizards to complete the build, and then record the external IP address of your newly created VPS for future access.
β½ Update Notes
Create a notes document or update your notes documentation with your new information:
- IP address of your new VPS.
- SSH key pair assigned to your VPS.
β½ Complete
You may now return to the Quick Start Guides to select the cluster in which you would like to continue building your node for participation.