A blockchain development company is deploying a private distributed ledger validator network on Amazon EC2 instances. The validator nodes require sub-millisecond network latency to achieve consensus on block transactions. The validator API is exposed on port 3000, while a separate management agent runs on port 9000 to handle internal status reporting and health endpoint checks. An Application Load Balancer (ALB) is configured to route client RPC traffic to the validators. Which combination of configuration settings satisfies the latency requirements and ensures that validator nodes are correctly identified as healthy by the load balancer?
- Deploy the EC2 instances in a Cluster placement group. Configure the ALB target group to perform health checks on port 9000 and route client traffic to port 3000.Answer
- BDeploy the EC2 instances in a Spread placement group. Configure the ALB target group to perform health checks on port 9000 and route client traffic to port 3000.
- CDeploy the EC2 instances in a Cluster placement group. Configure the ALB target group to perform health checks on the traffic port and route client traffic to port 3000.
- DDeploy the EC2 instances in a Partition placement group. Configure the ALB target group to perform health checks on the traffic port and route client traffic to port 3000.
Answer
Deploy the EC2 instances in a Cluster placement group, configure the Application Load Balancer target group to perform health checks on port 9000, and route client traffic to port 3000.
To achieve sub-millisecond network latency, instances must be launched in a Cluster placement group, which places them close together within a single Availability Zone. Additionally, because the status reporting and health monitoring daemon is hosted on port 9000 while the client API runs on port 3000, the target group health checks must be explicitly configured to point to port 9000. This ensures that the load balancer correctly validates target status while routing client traffic to the correct application port.
Step-by-Step Solution
Key Concept
Deploying instances in a Cluster placement group for high-performance low-latency workloads, and configuring target groups with custom health check ports when health daemons run on a non-traffic port.