Deploy with Terraform
Follow the steps below to deploy the data plane on ECS Fargate using Terraform.Install prerequisites
- Install Terraform
- Install AWS CLI and configure AWS Credentials file
Create Terraform file
To get started, navigate to the Setup Wizard to generate asuperblocks_agent_key.
aws ec2 describe-vpcs or navigate to your VPC in the AWS management console. Alternatively, if you want your agent to access data across multiple VPCs, update the module to create a new VPC then set up VPC peering between the newly configured VPC and existing AWS VPCs. To update the module to create a new VPC, set the following variable.
Initialize and apply Terraform
Billable services
The Terraform module makes use of the following AWS services. Be aware of the pricing associated with these.- VPC - Network where all cloud resources reside (may be additional cost depending on settings and connecting VPN)
- ECS Fargate - ECS cluster, service, and task to run the data plane container
- Application Load Balancer - ALB to front the Fargate service
- Route 53 - Hosted zone and record for DNS (optional)

