Oracle Cloud Free Tier: Create a Free Server (2026)
Oracle Cloud still gives you a real server for $0, but only if every choice stays Always Free eligible. I create an instance on the Ampere shape, set up the VCN and an 80 GB boot volume, hit the "shape not available" error, fix it, then log in with PuTTY and run the first update.
// contents
- 0:00 — Intro: Oracle Cloud free instance
- 0:30 — Sign in to Oracle Cloud
- 1:13 — Log in with 2FA
- 2:04 — Create instance, name and image
- 3:23 — What is a shape
- 3:51 — Avoid the $262/month shape
- 4:09 — Select Always Free Ampere shape
- 5:25 — Create VCN networking
- 6:32 — Set boot volume size
- 7:19 — Review and create instance
- 7:32 — Fix "shape not available" error
- 8:21 — Download PuTTY and PuTTYgen
- 9:23 — Connect to the instance with PuTTY
- 10:39 — Run first command: sudo dnf update

New here? A new build-along tutorial lands on the channel every week.
Subscribe on YouTubeIn the last post we set up the Oracle Cloud free tier account. This time we launch an actual server on it, keep the bill at zero, and connect to it from Windows. By the end you will have a running VM, a public IP, and a shell where you can start deploying.
Intro: Oracle Cloud free instance
This is part two of the Oracle Cloud free tier series. You need the account from part one, including the 2FA setup, because the console will ask for the code before it lets you in.
The goal here is simple: one free instance, reachable over SSH, with no surprise charge on the card you used for verification.
Sign in to Oracle Cloud
Search for Oracle login on Google and pick the oracle.com/cloud/signin result, not signin.oracle.com. The second link is the cloud console login.
Enter your cloud account name first. That is the tenancy name from the signup email, not your email address. After that you get the username and password screen. If the browser already has your password saved, Oracle may skip straight to the console.
Log in with 2FA
If you enabled 2FA in part one, the next screen asks for the current code. Open your authenticator app, type the six digits, and verify. You land on the console with a banner saying the account is on a free trial.
Create instance, name and image
Search for Instances in the console and open it. Click Create instance and give it a name. I used ghostdevexplainstutorial.
Pick an availability domain that has capacity. They are not equal, so if one is full, the next one may still work.
The capacity type matters too. On-demand is the default and it is often unavailable for free Ampere shapes, which is why I switched to dedicated host in the video. If you copy that, watch the cost estimate before you click Create.
For the image, Ubuntu is the usual choice for a Linux server. Windows is listed too, but you need your own licence for it, and we do not have one. In the recording I picked Ubuntu 20.04, which is now past its support window. Pick a currently supported LTS release instead; the steps are the same.
What is a shape
A shape is the hardware of the virtual machine: how much CPU and RAM it gets. You can change it from the shape section of the create form.
The only thing that matters here is the Always Free eligible label. If a shape does not have it, it is not free, even if it looks small.
Avoid the $262/month shape
This is the part that catches people. Select a random shape and the estimated cost panel updates immediately. In the video a non-free shape showed $262 per month, which is not a rounding error.
Do not select anything just because it appears in the list. Check that the shape is free eligible and that the estimated cost is zero before you continue. The same rule applies to every screen after this one.
Select Always Free Ampere shape
AMD had no free option, and Intel had none either. Ampere had one: 1 OCPU and 6 GB RAM.
The free allowance can go up to 12 GB, but actual capacity depends on the region and who grabbed it first. In Mumbai only 6 GB was available at the time, so I took the maximum that was offered. You may see 12 GB, or you may see nothing free at all on a bad day.
After selecting the shape, look at the estimate again. It should show zero.
Create VCN networking
A VCN is the private network around your cloud resources. It handles traffic in and out of the instance, and you can reuse one across several servers.
On a new account there is no VCN yet, so choose Create a new virtual cloud network. Give it a name, or leave the generated one. The default subnets are fine for this setup.
Download the SSH keys when the console offers them. You need the private key later, and the public key is the one that gets installed on the server. Keep both; losing the private key means losing SSH access.
Set boot volume size
The boot volume is the disk. Oracle selects 50 GB by default, and you can raise it here. I set 80 GB.
The free tier includes 200 GB of block volume in total, so 80 GB still fits. The estimated cost may show a number on this screen, but the free tier allowance brings the actual bill to zero as long as you stay under the total. Do not stack multiple large volumes and expect the same result.
Review and create instance
The last screen shows a summary of everything you picked: name, image, shape, network, and boot volume. If something is wrong, edit it here instead of recreating the instance later.
Click Create when it looks right.
Fix "shape not available" error
The first create attempt failed with a shape availability error. The shape I picked, VM.Standard.A1.Flex, was not available in that availability domain at that moment. This is normal on the free tier and it does not mean the account is broken.
Click Edit, change the shape to another free eligible one that is actually available, then go through Next and Create again. Nothing else needs to change. In the video the edit also left the instance on Oracle Linux instead of the Ubuntu image I had selected, which matters for the login and package manager later.
If every free shape fails with out of capacity instead, editing won't help. For that case I wrote an auto-retry script for the Oracle Cloud out of host capacity error that keeps trying from GitHub Actions and emails you when the instance exists.
Download PuTTY and PuTTYgen
Search for PuTTY and install it. PuTTYgen comes with the same package.
Open PuTTYgen, click Load, switch the file filter to All Files, and load the private key you downloaded from Oracle. Click Generate and move the mouse over the blank area until the key is created. Save the private key as a .ppk file. I named mine GhostDevExperience.
PuTTY cannot use the raw Oracle key directly, so this conversion step is not optional.
Connect to the instance with PuTTY
Go back to the instance details and copy the public IP address.
In PuTTY, paste that IP into Host Name, then save the session under a name so you do not have to retype it. Go to Connection > SSH > Auth > Credentials, click Browse, and select the .ppk file you just saved. Click Open.
The username depends on the image: opc for Oracle Linux, ubuntu for Ubuntu. Mine was on Oracle Linux after the shape edit, so I logged in as opc. Accept the host key fingerprint on the first connection.
Run first command: sudo dnf update
You are now inside the server. The first command updates the installed packages:
sudo dnf updatednf is the package manager for Oracle Linux and other RHEL compatible images. If your instance is actually on Ubuntu, the same job is done with apt:
sudo apt update && sudo apt upgrade -yThat is the whole free server setup. The next video takes this same machine and deploys a local project on it, so it finally starts serving something instead of just sitting there.
Stuck on out of host capacity? Part 3 automates the retries. New here? Start with part 1: create the Oracle Cloud account. Running AWS instead? See the $200 credits walkthrough and the ECS Fargate deployment.
- Create the instance from the Instances page in the Oracle Cloud console.
- Always check for the Always Free eligible label and a zero estimated cost.
- The Ampere A1 shape is the one with free capacity, 1 OCPU and 6 GB RAM in this run.
- The "shape not available" error is fixed by editing the instance and picking another free shape.
- PuTTY needs a .ppk key, so convert the private key with PuTTYgen first.
Why does Oracle Cloud say the shape is not available?
How do I make sure the Oracle instance stays free?
Which username do I use to log in with PuTTY?
Why does PuTTY reject my private key?
Why did I run dnf instead of apt?
Can I get the full 12 GB RAM on the free tier?
New posts in your inbox
Subscribe to get every tutorial.