How to Set Up OpenClaw on Oracle Cloud Free Tier
Deploy OpenClaw on Oracle Cloud's Always Free tier with up to 4 OCPUs and 24 GB RAM. A complete guide to the free ARM instance setup with troubleshooting tips.
What's Included in Oracle Cloud Free Tier
ARM Instances
4 OCPUs + 24 GB RAM — Ampere A1
Block Storage
200 GB total — 2 volumes max
Outbound Bandwidth
10 TB/month — Inbound is free
Load Balancer
1 instance — 10 Mbps
Object Storage
10 GB — Unlimited requests
Why Oracle Cloud Free Tier for OpenClaw?
Oracle Cloud offers the most generous free tier of any major cloud provider. You get up to 4 Ampere ARM OCPUs and 24 GB RAM — completely free forever. That's more RAM than most paid VPS plans! The trade-off: setup is more complex, ARM compatibility requires attention, and Oracle may reclaim idle instances.
Pros & Cons
Pros
- Completely free forever (Always Free tier)
- Up to 4 OCPUs and 24 GB RAM on ARM instances
- 200 GB block storage included
- 10 TB outbound bandwidth per month
- Enterprise-grade infrastructure
- No credit card charges for free-tier resources
Cons
- Complex account setup (verification required)
- ARM instances may have compatibility issues
- Oracle may reclaim idle instances
- Limited availability (capacity constraints)
- No 1-click deploy — manual setup required
- Support is limited on free tier
- Cannot change home region after signup
Step-by-Step Setup Guide
Oracle Cloud setup is more involved than other providers. Follow each step carefully:
Create an Oracle Cloud Account
Go to Oracle Cloud and sign up for the Always Free tier. You'll need a credit card for identity verification (you won't be charged for free resources).
⚠️Choose your home region carefully — you CANNOT change it later!
https://cloud.oracle.com
Screenshot: Oracle Cloud signup page with Always Free option
Wait for Account Provisioning
Account setup can take anywhere from a few minutes to several hours. You'll receive an email when your account is ready.
Screenshot: Oracle Cloud account pending verification email
Navigate to Compute Instances
Once logged in, go to Compute → Instances from the main menu. Click 'Create Instance' to begin provisioning.
Screenshot: Oracle Cloud console showing Compute → Instances menu
Configure the Instance
Click 'Edit' next to Image and Shape. Change the shape to Ampere (ARM):
⚠️If you see 'Out of capacity', try a different availability domain or try again later.
Shape: VM.Standard.A1.Flex OCPUs: 2 (or 4 for max free tier) Memory: 12 GB (or 24 GB for max) Image: Ubuntu 24.04 (Canonical)
Screenshot: Instance shape selection showing Ampere A1 options
Configure Networking
Accept the default VCN configuration. Oracle will create a virtual cloud network for you automatically.
Screenshot: Networking configuration with default VCN
Add SSH Key
Upload your SSH public key or let Oracle generate one. If Oracle generates it, download and save the private key securely — you can't retrieve it later.
Screenshot: SSH key upload/generation options
Create the Instance
Click 'Create' and wait for provisioning. This typically takes 2-5 minutes for ARM instances.
Screenshot: Instance creation in progress
Open Port 3000 in Security List
By default, Oracle blocks most inbound traffic. Navigate to your VCN's security list and add an ingress rule:
Networking → Virtual Cloud Networks → [Your VCN] → Security Lists → Default Security List → Add Ingress Rules Source CIDR: 0.0.0.0/0 IP Protocol: TCP Destination Port: 3000
Screenshot: Security list ingress rule for port 3000
Open Port 3000 in Instance Firewall
SSH into your instance and open the port in iptables:
# SSH in (use the public IP from the instance details) ssh -i your-key.pem ubuntu@YOUR_INSTANCE_IP # Open port 3000 sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 3000 -j ACCEPT sudo netfilter-persistent save
Install Docker (ARM)
Install Docker on your ARM instance:
sudo apt update && sudo apt upgrade -y curl -fsSL https://get.docker.com | sh sudo apt install -y docker-compose-plugin sudo usermod -aG docker ubuntu # Log out and back in for group change exit ssh -i your-key.pem ubuntu@YOUR_INSTANCE_IP docker --version
Screenshot: Terminal showing Docker installation on ARM
Deploy OpenClaw
Create the OpenClaw configuration and start the container:
mkdir -p ~/openclaw && cd ~/openclaw
cat > docker-compose.yml << 'EOF'
services:
openclaw:
image: ghcr.io/nicepkg/openclaw:latest
container_name: openclaw
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- ./data:/app/data
environment:
- OPENAI_API_KEY=your-api-key-here
- GATEWAY_TOKEN=your-secret-token
EOF
docker compose up -dAccess OpenClaw Dashboard
Open your browser and navigate to your instance's OpenClaw interface:
http://YOUR_INSTANCE_PUBLIC_IP:3000
Screenshot: OpenClaw dashboard running on Oracle Cloud ARM instance
Prevent Instance Reclamation (Optional)
To prevent Oracle from reclaiming idle instances, set up a simple keepalive cron job:
(crontab -l 2>/dev/null; echo "*/5 * * * * curl -s http://localhost:3000 > /dev/null") | crontab -
Environment Variables
Configure these in your docker-compose.yml file:
| Variable | Required | Description |
|---|---|---|
| OPENAI_API_KEY | Yes | Your OpenAI API key |
| ANTHROPIC_API_KEY | Optional | Your Anthropic API key for Claude models |
| GATEWAY_TOKEN | Yes | Secret token to protect your gateway |
Oracle Cloud vs Other Providers
See how Oracle Cloud Free Tier compares to other OpenClaw hosting options:
| Provider | Price | Ease of Setup | Key Features | Value |
|---|---|---|---|---|
| Oracle Cloud | Free | ★★☆☆☆ | ARM 24GB RAM | Free tier |
| Hostinger | $6.99/mo | ★★★★★ | 1-click, AI tokens | Best value |
| DigitalOcean | $12/mo | ★★★★☆ | 1-click marketplace | Good |
| Vultr | $6/mo | ★★★☆☆ | Manual Docker setup | Budget option |
Common Issues & Solutions
"Out of capacity" error when creating instance
ARM instances are in high demand. Try: (1) a different availability domain, (2) creating the instance early morning (less traffic), (3) a different region entirely. Some users report success trying multiple times over several days.
Can't SSH into instance
Verify: (1) your security list allows SSH (port 22) from your IP, (2) you're using the correct private key, (3) you're connecting as ubuntu notroot, (4) the instance status is "Running".
ARM image compatibility issues
The official OpenClaw Docker image supports ARM64. If a plugin fails, check if it has an ARM64 build. Some community plugins may only support x86_64.
Instance reclaimed by Oracle
Oracle may reclaim Always-Free resources that are idle for extended periods. Set up the keepalive cron job in Step 13, or use a monitoring service like UptimeRobot to ping your instance regularly.
Region selection regrets
Unfortunately, you cannot change your home region after account creation. If you need a different region, you'd need to create a new Oracle Cloud account with a different email address.
Frequently Asked Questions
Is Oracle Cloud really free forever?
Yes, the Always Free tier includes ARM compute instances that remain free as long as your account is active and you stay within the limits. However, Oracle may reclaim idle instances, so keep your server active.
Do I need a credit card for Oracle Cloud Free Tier?
Yes, Oracle requires a credit card for identity verification during signup. You won't be charged for free-tier resources, but the card must be valid.
Why can't I create an ARM instance?
ARM instances are in high demand and often show 'Out of capacity' errors. Try creating your instance early in the morning, or try a different availability domain. Some regions have more capacity than others.
Will Oracle delete my free instance?
Oracle may reclaim Always-Free compute resources that are idle for extended periods. To prevent this, keep your instance active with a simple cron job or monitoring script.
Can I run OpenClaw on ARM architecture?
Yes, OpenClaw's Docker image supports ARM64/aarch64. Most functionality works the same as on x86, though some community plugins may not be ARM-compatible.
What happens if I exceed free tier limits?
You'll be charged at pay-as-you-go rates for resources beyond the free tier. Oracle sends alerts before charging, and you can set budget limits to prevent unexpected bills.
Ready to Deploy OpenClaw for Free?
Get up to 24 GB RAM and 4 OCPUs on Oracle Cloud's Always Free tier. Perfect for testing and personal use.
Create Oracle Cloud Account →Requires credit card for verification — won't be charged for free resources
Next Steps
Want an easier setup?
If Oracle Cloud's complexity isn't worth the free price tag, consider these alternatives: