patterns / 1 · normal setup
Baseline
One EC2, relay-pull from the IPort, clients on the NLB. Prove it streams before you add HA.
Destroy this stack before dual-AZ — separate state, double the bill if both stay up.
Deploy
cd examples/relay_iport
cp terraform.tfvars.example terraform.tfvars
# vpc_id, private_subnet_id, nlb_subnet_ids, field_sources, passwords
terraform init && terraform apply
terraform output # dial NLB :2101
If clients never get a mount, stop here. HA will not fix a bad baseline.
Explain
Same modules/caster the HA chapters reuse. One process — host loss means the
stream is down until you replace it.
Teardown
cd examples/relay_iport && terraform destroy
Leave field VPCs and hosted zones alone.