testenv: free-tier private topology (Terraform) - #13
Merged
Conversation
Dedicated private VPC (no IGW/NAT) with an internal ALB, 2x t2.micro app instances (stand-in for ECS), RDS Postgres, S3 gateway endpoint, and an alb->app->db SG-references-SG chain. All tagged project=reachr-testenv. Gives real ENIs + endpoint + SG chain to design the schema and seed the golden fixture. Closes #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #12. Dev/test environment to seed the golden fixture with real ENIs.
What
A fully private topology (no IGW/NAT) in a dedicated VPC, tagged
project=reachr-testenv:Why
Gives us real attached ENIs (ALB/instance/RDS), a VPC endpoint + prefix-list route, and the SG-references-SG chain — exactly what we need to design the topology.json schema (#7) and seed a realistic fixture, without the non-free-tier parts (Fargate, interface endpoints, NAT).
Cost
Within the 12-month Free Tier (EC2 t2.micro / RDS db.t3.micro / 1 ALB, 750 hrs each; S3 gateway endpoint free). Tear down after capturing the fixture.
Verified
terraform fmtclean,terraform validatepasses.terraform apply.