Cloud Providers
Infernet-deploy
(opens in a new tab) contains Terraform (opens in a new tab) scripts for infrastructure procurement and Docker Compose (opens in a new tab) files for deployment, allowing node operators to easily deploy Infernet Nodes in production on Amazon Web Services (AWS) (opens in a new tab) and Google Cloud Platform (GCP) (opens in a new tab).
Prerequisites
Terraform
(opens in a new tab): Used for infrastructure configuration and procurement.Git
(opens in a new tab): Required for cloning the repository.
Get deployment files
Clone the infernet-deploy
repository locally:
git clone https://github.com/ritual-net/infernet-deploy
cd infernet-deploy/deploy
Setup
- You must create a
config.json
file for each node being deployed. We recommend you create and test these configurations locally (using the CLI) before deploying them to the cloud. Follow the setup instructions (opens in a new tab) to set up your configuration files. See Configuration and example configuration (opens in a new tab). - You must create a
terraform.tfvars
file for your deployment, specifying the hardware requirements for your nodes. This will differ based on the cloud provider you choose, see below.
Router (Optional)
Deploying an Infernet Router (opens in a new tab) to the cloud along with your nodes is made easy with the infernet-deploy
repository.
However, make sure you understand the router's requirements (opens in a new tab).
Deploying on AWS
Follow the official AWS instructions (opens in a new tab) to authenticate with the CLI locally.
Then, follow the instructions for AWS deployment (opens in a new tab) to create a service account,
configure your terraform.tfvars
file (see sample (opens in a new tab)), and deploy the cluster.
Deploying on GCP
Follow the official GCP instructions (opens in a new tab) to authenticate with the CLI locally.
Then, follow the instructions for GCP deployment (opens in a new tab) to create a service account,
configure your terraform.tfvars
file (see sample (opens in a new tab)), and deploy the cluster.