/bsc-archivenode

Run a bsc mainnet archive node on an ec2 instance

Primary LanguageHCLMIT LicenseMIT

BSC acrhive node on EC2

Using terraform infrastructure-as-code

Builds a BSC fullnode via userdata script and sends logging to sumo logic if a key is provided.

This is based on the DevOps4DeFi terraform-baseline.

The node is run on private subnets and jsonrpc access is provided over https via a load balancer external to the module.

Providers

Name Version
aws n/a
template n/a

Inputs

Name Description Type Default Required
app_name The name of the application that will be used for tagging. string "bsc-archive-node" no
aws_keypair_name The name of the ssh keypair to use in order to allow access. string n/a yes
datavolume_size The amount of storage to allocate in gb for storage number 1500 no
disable_instance_termination Set to false to allow the instance to be terminated, make sure you take a snapshot of your data volume first bool true no
ebs_snapshot_id A snapshot datavolume to start with. string null no
instance_type AWS instance type to use string "c5a.2xlarge" no
private_lb_https_listener_arn The arn to an https alb listener that will be used for load balancing private facing services string n/a yes
private_lb_name The name of the private alb running the specified listener string n/a yes
private_lb_sg_id The id of a security group that the private alb is in string n/a yes
private_subnet_ids A list of public subnets in the vpc, if null use default vpc. list(string) n/a yes
public_lb_https_listener_arn The arn to an https alb listener that will be used for load balancing public facing services string n/a yes
public_lb_name The name of the public alb running the specified listener string n/a yes
public_lb_sg_id The id of a security group that the public alb is in string n/a yes
region The aws region to deploy into. string n/a yes
route53_root_fqdn Root route53 domain name that we should build records on top of. string n/a yes
sumo_api_key_ssm_path The API Key for Sumo logic logging string "" no
vpc_id The VPC to deploy into, if null use default vpc. string null no

Outputs

Name Description
access_url The base url to hit to access json-rpc