Unlike AWS, GCP, or Azure, Oracle Cloud gives you a true "Always Free" VM — no 1-year expiry, generous specs, and enough power to run a dev playground, host lightweight apps, or deploy a small business site. This guide walks registration through connecting and opening ports.
Go to the Oracle Cloud website and click Sign Up.
Oracle requires a valid card for identity verification. You will not be charged while you stay inside the Always Free tier.
In the Cloud Portal, open Instances → Create Instance.
Choose an OS image such as Oracle Linux or Ubuntu. Ubuntu is a common choice for web development.
Upload your public key (.pub) so you can log in securely. If you do not have a key pair yet, generate one:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
Then upload the contents of ~/.ssh/id_rsa.pub in the instance setup screen.
Oracle includes 200GB in the free tier. Set a custom boot volume size of 200GB to avoid running out of space later.
Review all settings, then click Create. The instance appears in your instance list. Wait until its state changes to Running before you connect.
From the Cloud Portal, copy the instance's public IP address, then connect from your terminal:
ssh ubuntu@<server-public-ip>
If you chose Oracle Linux, replace ubuntu with opc. Confirm the host key when prompted.
For web hosting you must allow HTTP/HTTPS traffic. Two main options:
sudo ufw allow 443/tcp
sudo ufw allow 80/tcp
sudo ufw enable
sudo apt install iptables-persistent
sudo netfilter-persistent save
You must also open the matching ports in the OCI Console security list (Ingress rules for 80 and 443). Both the OS firewall and the cloud security list must allow the traffic.
This is the same setup the diyyourdata showcase runs on — a free Oracle Ampere VM, hardened, with a firewall, Nginx, and container services.