VPS for web scraping and scheduled scripts
A VPS for web scraping gives your data collector a machine that never sleeps: it runs jobs on a timer, keeps state between runs and writes results straight to a database. On 0x.cloud a server starts at $4.49/mo or bills by the hour, and runs in Warsaw with unmetered traffic up to 1 Gbps.
The scraper deal: s1-2 (1 vCPU, 2 GB RAM, 30 GB NVMe) for $7.99/mo or about $0.054725 an hour. Enough for Scrapy with a database or one Playwright browser. Setup is $0.
This page covers legitimate scraping only: public data, collected within robots.txt and site terms. We don't support getting around CAPTCHAs, logins or other protections.
What people run on a scraping server
- Price monitoring for your own products on marketplaces and partner sites, with a report when price or stock changes.
- Open data collection: exchange rates, schedules, public registries, RSS. If a source has an API, use it instead of parsing HTML.
- Checks on your own sites: broken links and wrong prices after a catalog import.
- An AI agent with a browser that opens pages through Playwright and extracts data for you.
Best VPS for web scraping: pick by workload
| Workload | Plan | Resources | Price per month |
|---|---|---|---|
| requests/httpx on a schedule, RSS, open APIs | s1-1 | 1 vCPU, 1 GB RAM, 15 GB NVMe | $4.49 |
| Scrapy with SQLite or PostgreSQL, one browser | s1-2 | 1 vCPU, 2 GB RAM, 30 GB NVMe | $7.99 |
| Several Playwright browsers in parallel, job queues | s2-4 | 2 vCPU, 4 GB RAM, 60 GB NVMe | $15.99 |
| Agent with a browser and tools, large volumes | s4-8 | 4 vCPU, 8 GB RAM, 120 GB NVMe | $31.99 |
Headless Chromium is the memory hog: every browser instance adds hundreds of megabytes, so start a browser-based scraper at 2 GB. The s1-1 disk is capped at 1,000 IOPS, so pick s1-2 for a write-heavy database. Not sure? Start hourly, run your jobs for a couple of days, then switch to monthly or yearly (up to 12% off). A month of hourly billing never costs more than the monthly price.
A polite Python scraper on a schedule
Commands for Ubuntu 24.04. More detail: run a Python script 24/7 and Python VPS hosting.
- Create a virtual environment:
sudo apt update && sudo apt install -y python3-venv
python3 -m venv ~/scraper/.venv
~/scraper/.venv/bin/pip install httpx selectolax
- Respect robots.txt in code. Python's built-in urllib.robotparser reads a site's rules and crawl delay (the format is defined in RFC 9309):
from urllib.robotparser import RobotFileParser
import time, httpx
UA = "MyPriceMonitor/1.0 (+mailto:you@example.com)"
rp = RobotFileParser("https://example.com/robots.txt")
rp.read()
delay = rp.crawl_delay(UA) or 5 # seconds between requests
for url in ["https://example.com/catalog/item-1"]:
if not rp.can_fetch(UA, url):
continue # disallowed by the site's rules
r = httpx.get(url, headers={"User-Agent": UA}, timeout=30)
# ... parse r.text and save to your database
time.sleep(delay)
- Use a systemd timer instead of an endless loop, so each run is logged in journald:
# /etc/systemd/system/price-check.timer
[Timer]
OnCalendar=hourly
Persistent=true
[Install]
WantedBy=timers.target
Next to it, add the service the timer starts (replace deploy with your user):
# /etc/systemd/system/price-check.service
[Unit]
Description=Price check
[Service]
Type=oneshot
User=deploy
WorkingDirectory=/home/deploy/scraper
ExecStart=/home/deploy/scraper/.venv/bin/python main.py
- Enable the timer and check that it works:
sudo systemctl daemon-reload
sudo systemctl enable --now price-check.timer
systemctl list-timers price-check.timer # next scheduled run
sudo systemctl start price-check.service # run once right now
journalctl -u price-check.service -n 50 # output of the last run
When you need a real browser: Playwright on a VPS
If the data only appears after JavaScript runs, use Playwright. On a server, install it together with Chromium's system dependencies:
~/scraper/.venv/bin/pip install playwright
~/scraper/.venv/bin/playwright install --with-deps chromium
Plan on 2 GB RAM (s1-2) for one browser and 4 GB (s2-4) for several in parallel. Full setup: Playwright on a VPS.
Scraping rules we expect you to follow
- robots.txt and terms of service. If a section is disallowed or the terms forbid automated collection, look for an official API or export instead.
- Load. Pause between requests and cache responses. Your scraper should never slow the site down.
- An honest User-Agent with a contact address.
- No getting around protections. A CAPTCHA, a login wall or an IP block means the owner says no.
- Personal data stays off limits without a lawful basis.
Common scraper problems on a server
- The timer never fires. Run
systemctl status price-check.service: usually a wrongExecStartpath or folder permissions. - Missing system libraries. You ran
playwright installwithout--with-deps. Rerun it with the flag. - The process dies with no error. Out of memory: check
journalctl -k | grep -i oom, then run fewer browsers or move up a plan. - 429 or 403 responses. The site is asking you to slow down. Increase the delay and collect less, don't switch addresses.
Good to know before you order
- No rotation, no proxies. Extra IPv4 addresses are not sold.
- Port 25 is closed. Send scraper reports to Telegram or through an email service on port 587 or 465.
- One location: Warsaw. Unmetered traffic at up to 1 Gbps on a shared, fairly split uplink.
Let your AI agent set it up
Your AI agent (Claude Code, Codex, Cursor, ChatGPT) can do it all through MCP or the API: check the price and create the server in your account, with a key or an OAuth sign-in you give it. It can run commands on the server without SSH (run_command, write_file).
- Key scopes. A new key gets
servers.*by default, so it can delete servers and run commands as root. Keepservers.readandservers.create, addservers.execonly if the agent sets the server up, and keepservers.deletefor yourself. Only the account owner changes scopes and limits; with OAuth you pick them on the consent page. - The spend limit stops the key from buying anything new past the amount, but hourly servers it already created keep billing. Delete a test server yourself or set
ttl_hoursso it deletes itself on a timer. dry_runreturns the exact price and creates nothing (it needs theservers.createscope).
Use dry_run to get the price of an s1-2 server with Ubuntu 24.04 on 0x.cloud with hourly billing, show it to me and wait for my confirmation. Once I confirm, create the server, install a Python venv with httpx and selectolax, deploy my price monitoring script from the repo and run it hourly with a systemd timer. The script must check robots.txt and wait at least 5 seconds between requests.
Try it by the hour. On hourly billing s1-2 is $0.054725 an hour, so a full day of test runs costs roughly $1.31. Delete the server and the unused amount goes back to your balance. All plans are on the pricing page.
VPS for web scraping: FAQ
How much RAM does a web scraping VPS need? An HTTP-only scraper (requests, httpx, Scrapy) on a schedule runs fine on 1 GB (s1-1, $4.49/mo). Headless Chromium through Playwright needs 2 GB or more, and several browsers in parallel need 4 GB (s2-4).
Is web scraping legal? Collecting public data is generally allowed if you follow the site's terms and robots.txt, keep the load low and skip personal data without a lawful basis. Getting around logins or CAPTCHAs is not. When in doubt, ask a lawyer.
Why run a scraper on a VPS instead of my laptop? A VPS runs around the clock on a schedule and doesn't depend on your home connection or a sleeping laptop.
Do you offer proxies or rotating IPs for scraping? No. We don't sell proxies or rotating addresses, and extra IPv4 addresses are not sold. If a site limits your rate, slow down instead of switching addresses.
What if the server doesn't work out for me? Use hourly billing and delete the server any time: billing stops at once and the unused amount goes back to your balance. Setup and OS reinstalls are $0, and support answers in about 30 minutes on average from 06:00 to 20:00 UTC.