Skip to main content
In development

Oracle World

OpenTofu modules for Oracle Cloud's Always Free tier. One apply deploys a 2 OCPU ARM VM with 12 GB RAM and 200 GB combined storage, plus optional MySQL, object storage, monitoring, and budget alerts.

OpenTofu Terraform Oracle Cloud Infrastructure DevOps
Cover image for Oracle World

Overview

Oracle Cloud’s Always Free tier provides a 2 OCPU ARM box with 12 GB of RAM and 200 GB of combined boot/block storage. Oracle World is the OpenTofu/Terraform code I wrote so I could tofu apply a working ARM server in one shot, with optional MySQL HeatWave, S3-compatible object storage, idle-detection monitoring, and budget alerts on top.

Resources

ResourceSpec
ComputeVM.Standard.A1.Flex (2 OCPUs, 12 GB RAM)
Boot Storage50 GB + weekly backups
Block Storage150 GB at /data
MySQL HeatWave50 GB, private subnet (optional)
Object Storage20 GB S3-compatible (optional)
MonitoringIdle-detection alarms, so OCI doesn’t reclaim the box (optional)
Budget AlertsEmail on any spend + at 50% / 80% / 100% (optional)

Architecture

Oracle World cloud infrastructure diagram
Oracle World cloud infrastructure diagram

The compute instance sits in a public subnet because OCI NAT gateways aren’t free. MySQL HeatWave, when enabled, lives in a private subnet with no internet route (you reach it via SSH tunnel). SSH is closed by default; whitelist your IP with just ssh-allow and revoke with just ssh-revoke.

Features

  • One-command deploy: just init && just plan && just apply
  • Open and close SSH access by IP from the command line
  • A Claude Code /setup walks you through the variables interactively
  • Stays inside Oracle’s Always Free limits by default

Technology Stack

  • HCL (OpenTofu / Terraform)
  • Oracle Cloud Infrastructure (OCI)
  • Just task runner

Share this project