Menu

1 / 3

Your Terraform IaC Module Should Say No Before Your Cloud Bill Does: Cloud High Availability for $0 (Part 2 - IaC Implementation)

DEV Community: cloud·SAHA MERLIN·about 9 hours ago
#fgIgbvMx
#devtocloud#devto#dev#terraform#flexible
Reading 0:00
15s threshold

What if your terraform plan failed the moment a change left the Always Free tier, and told you which limit you hit?

You get exactly that with this open-source Terraform module on Oracle Cloud: two Ampere A1 VMs with no public IP behind a load balancer, SSH only through OCI Bastion, and plan-time guardrails that reject any configuration leaving Always Free unless you switch to paid mode. Part 1 - Architecture Decisions helps you decide whether this architecture fits your project and which trade-offs you accept. Here you see the code, how it is tested, and how you deploy it.

Terraform Registry : devsahamerlin/alwaysfree-and-flexible-ha-compute-service/oci

Ready-to-run example : examples/example-1

GitHub : devsahamerlin/terraform-oci-alwaysfree-and-flexible-ha-compute-service

The constraint, and the Terraform IaC design goals

The Always Free limits your tenancy has to respect: Ampere A1 at 1,500 OCPU hours and 9,000 GB hours per month, which means 2 OCPUs and 12 GB in total (halved from 4 and 24); 1…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.