Work About Team Blog Tutorials FAQ
Book a discovery call → Chat on WhatsApp

Home / Blog / DevOps & Cloud / Free Oracle Cloud ARM VPS: Always Free Ampere Setup Guide

Oracle CloudVPSDevOpsLinuxCloudTutorial

Free Oracle Cloud ARM VPS: Always Free Ampere Setup Guide

Most cloud providers (AWS, Google Cloud, DigitalOcean) offer free tiers that expire after 12 months or limit you to 1 GB of RAM and 1 tiny vCPU, which is barely enough to compile a modern Node.js application.

Oracle Cloud Infrastructure (OCI) completely disrupts the industry with their Always Free Tier (Oracle’s Always Free resources page):

  • 2 OCPU Cores on Ampere A1 ARM processors (1,500 OCPU hours a month).
  • 12 GB of RAM (9,000 GB hours a month).
  • 200 GB of Block Storage in total, shared between boot and block volumes.
  • Up to 2 separate instances (one 2 OCPU / 12 GB server, or two 1 OCPU / 6 GB VMs).
  • 10 TB of outbound data transfer per month.

Update (October 2026): When I recorded the video above, the free Ampere allowance was 4 OCPUs and 24 GB of RAM across up to 4 instances. Oracle has since cut it to 2 OCPUs and 12 GB, so the numbers in this post are the current ones. The setup steps themselves haven’t changed.

Here is the complete step-by-step tutorial to provisioning and hardening your forever-free Ampere cloud server.


Step 1: Create Your Oracle Cloud Free Tier Account

  1. Visit oracle.com/cloud/free and click Start for free.
  2. Select Your Home Region Carefully: This cannot be changed later! Pick the data center closest to you or your target audience (e.g., US East, Frankfurt, London, or Mumbai).
  3. Complete identity verification. A credit/debit card is required for fraud prevention, but you will not be charged as long as you stay within Always Free limits.

Step 2: Configure Virtual Cloud Network (VCN)

Before launching compute, set up basic networking:

  1. Go to Networking → Virtual Cloud Networks.
  2. Click Start VCN Wizard → select Create VCN with Internet Connectivity.
  3. Accept default CIDR blocks (10.0.0.0/16) and click Create. This automatically creates an Internet Gateway and Public Subnet.

Step 3: Launch Your Ampere A1 Compute Instance

  1. In the OCI Console, go to Compute → Instances and click Create instance.
  2. Name: Give your server a name (e.g., prod-server-arm).
  3. Image and Shape:
    • Click Edit.
    • Operating System: Select Canonical Ubuntu 24.04 or 22.04 LTS (Minimal AArch64).
    • Shape: Click Change shape → switch to Ampere (ARM-based Processor) → select VM.Standard.A1.Flex.
    • Drag the sliders to:
      • Number of OCPUs: 4
      • Amount of Memory (GB): 24
  4. Networking: Select the Public Subnet created in Step 2 and ensure “Assign a public IPv4 address” is checked.
  5. Add SSH Keys:
    • Choose Generate a key pair for me (and download both private and public keys), or paste your existing id_rsa.pub public key.
  6. Click Create.

Your instance will transition from Provisioning to a bright green Running status in about 60 seconds.


Step 4: Connecting via SSH

Open your local terminal and connect using the default ubuntu username:

chmod 400 /path/to/your/private_key.key
ssh -i /path/to/your/private_key.key ubuntu@<YOUR_PUBLIC_IP>

Step 5: Essential Firewall & Port Configuration

Oracle Cloud instances use two layers of firewalls: OCI Security Lists (Cloud level) and iptables/ufw (OS level).

To open HTTP (port 80) and HTTPS (port 443) for web servers:

1. In OCI Console:

  1. Go to your Subnet → click Default Security List.
  2. Click Add Ingress Rules:
    • Source CIDR: 0.0.0.0/0
    • IP Protocol: TCP
    • Destination Port Range: 80, 443
  3. Click Add Ingress Rules.

2. In Ubuntu OS:

Oracle’s default Ubuntu images come pre-configured with restrictive iptables rules. Open the ports inside the OS:

sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 80 -j ACCEPT
sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 443 -j ACCEPT
sudo netfilter-persistent save

What Can You Run on a 12 GB RAM Server?

With 12 GB of RAM and 2 ARM cores, you can comfortably run:

  • A small ERPNext + MariaDB + Redis stack for a handful of users.
  • A few Docker containers running Next.js and Postgres.
  • Self-hosted developer tools (Gitea, Jenkins, N8N, Portainer).
  • High-concurrency WebSockets and backend microservices.

Summary

Oracle’s Always Free tier is the undisputed champion of developer cloud hosting. With proper security list configuration, you have enterprise-grade compute ready for production workloads indefinitely.

Need help setting up cloud infrastructure, Docker clusters, or migrating to ARM architectures? Schedule a technical consultation with Klickspell.

Full-Stack Web Engineering

Need technical precision for your web stack?
Architected for performance & scale.

From modern headless commerce to enterprise infrastructure and clean frontend state systems, Klickspell delivers senior engineering craft without agency bloat.

Book Free Technical Call → Explore Headless Engineering ↗

Keep Reading

Related Engineering Articles

Oracle CloudDevOps

Fix: Oracle Cloud 'Out of Host Capacity' Error for Free Tier (2026 Guide)

How to fix and bypass the persistent 'Out of host capacity' error when launching free ARM Ampere A1 compute instances on Oracle Cloud Infrastructure (OCI).

6 min read Read →
LinuxUbuntu

Why and How to Create Swap Space on Ubuntu (Prevent Server Crashes)

A practical systems guide on creating and configuring swap space on Ubuntu servers to eliminate Out-Of-Memory (OOM) crashes and optimize Linux kernel swappiness.

5 min read Read →

Technical Blog

Explore all 50+ engineering tutorials

All Articles ↗

Looking for custom
Shopify engineering craft?

Let's build
your store right.

Book a free 30-minute call. We'll talk through your store goals, timeline, and budget.

Free 30-min call · Discuss scope & budget

Book your free call → Chat on WhatsApp

The craft in every click.