[Announcement] RPC Node Deployment Pipeline from PrimeLab!
- WillHOP 9
RPC Node Deployment Pipeline from PrimeLab!
Quickly scale up RPC Node deployments via Terraform
Contributors:
PrimeLab Core Tools
PrimeLab Blockchain TeamGitHub: RPC-Deployer
PrimeLab is excited to release the first iteration of our automated RPC Node Utility for NEAR Protocol! This utility enables developers and NEAR project stakeholders to quickly deploy and manage their own RPC node on the NEAR Mainnet!
Why (is this needed)
- Many projects in the NEAR Ecosystem require their own RPC nodes. The options currently available are not automated and require repetitive & laborious tasks to deploy and maintain.
Who (would this benefit)
- DAPP Developers
- Network Metric Aggregators
- SAAS Providers
- Any project in the NEAR Ecosystem.

How (does this achieve a solution):
- The RPC Deployment Utility allows engineers to worry less about bottlenecks and focus more on the applications they’re building.
Tech:
- The RPC Node utility uses Terraform, Packer, and Ansible to orchestrate the configuration and deployment of the RPC Node.
Getting Started
GitHub: NEAR-RPC-Deployer
Prerequisites
- AWS Knowledge
- AWS CLI
- Terraform CLI
File Tree
├── autoscaling.tf ├── data.tf ├── Dockerfile ├── ecr.tf ├── ecs_service.tf ├── ecs_task_definition..tf ├── ecs.tf ├── elb.tf ├── endpoints.tf ├── iam.tf ├── key_pair.tf ├── launch_templates.tf ├── main.tf ├── outputs.tf ├── params │ └── us-east-1 │ └── dev │ ├── backend.config │ └── variables.tfvars ├── provider.tf ├── r53.tf ├── README.md ├── secrets_manager.tf ├── security_groups.tf ├── task-definitions │ └── rpc_node.json ├── tls_private_key.tf ├── userdata │ └── ecs_user_data.sh // Includes the `ECS_CLUSTER` variable definition in `/etc/ecs/ecs.config` ├── variables.tf // Defines the shared variables used in the service └── vpc.tf // Defines the network settingsSetup
-
Fork the repo located here.
-
Clone the repo by using the following command
git clone [email protected]:(your_github_username)/rpc-near.git -
Modify the following files:
a.params/us-east-1/dev/variables.tfvars
b.params/us-east-1/dev/backend.config -
Run the following commands in your shell to deploy the Terraform service
terraform init -var-file="./params/us-east-1/dev/variables.tfvars" -backend-config="./params/us-east-1/dev/backend.config && \ terraform plan -var-file="./params/us-east-1/dev/variables.tfvars" && \ terraform apply -var-file="./params/us-east-1/dev/variables.tfvars"
- cleversos 1
Hello.
Nice to meet you.
I am working with Near Protocol and I need to hook transactions for specific accounts.
So I need an RPC Node service on Near.
But I was not able to find any.
Could you tell me something valuable?
Please help me.
Thank you. Xu