Skip to main content
use-apify.com

DevOps: guides & tutorials

DevOps for scrapers: CI/CD, monitoring, safe releases. Ship Apify Actors and crawlers with fewer blocked runs and less fragile manual deploy overhead.

11 articlesPage 1 of 2

View all tags

DevOps for scrapers covers CI/CD, monitoring, and safe releases so crawlers ship with fewer blocked runs and less fragile manual deploys. These guides cover automating the scraper lifecycle.

Treating actors like real software, with tests, pipelines, and alerts, keeps production stable as sites change. Below you will find patterns for CI/CD and monitoring Apify Actors and crawlers.

Related topics

Claude20 min read

Claude Code Headless Mode and Cron: Nightly Jobs on a VPS

· 20 min read
Yassine El Haddad
Software Developer & Automation Specialist
Quick Answer

claude -p "<prompt>" runs Claude Code without the interactive UI: it does the task, prints the result and exits. Put that command in a shell script, call the script from cron on a small Linux server, and you have an agent that works overnight. The safe version adds four things: a long-lived token in a chmod 600 file, --permission-mode dontAsk with a short allow list, --max-budget-usd and --max-turns caps, and --output-format json so every run leaves a log with its estimated cost. For web pages that block plain fetches, connect the Apify MCP server with an API token.

Most Claude Code guides stop at the interactive terminal. This one is about the jobs you want done before you sit down: a digest of what changed in the tools you depend on, a refreshed dataset, a report waiting in a folder. The example job below was run for real on 2026-10-21, and the flags, costs and failure modes in this post come from that run and from Anthropic's Claude Code documentation.

DevOps7 min read

Docker Compose Production Guide: Multi-Container Apps Done Right (2026)

· 7 min read
Yassine El Haddad
Software Developer & Automation Specialist

Development docker-compose.yml works for local runs — production needs secrets management, health checks, resource limits, named volumes, and zero-downtime deploys. This guide shows what sets production Docker Compose apart and provides an annotated template you can adapt. Run it on a Liquid Web VPS for a stable, performant host with SSD storage and managed monitoring.

Self-hosting18 min read

VPS Security Hardening Checklist: Ubuntu & Debian (2026)

· 18 min read
Yassine El Haddad
Software Developer & Automation Specialist

Harden a fresh Ubuntu or Debian VPS in eight steps, in an order that avoids locking you out: a sudo user with your key, SSH settings, UFW, fail2ban, automatic security updates, a listening-port review, auditd, and backups you have restored once. Settings checked against official docs in November 2026; see the note below.

DevOps2 min read

Best Udemy Docker and DevOps Courses for Scraping 2026

· 2 min read
Yassine El Haddad
Software Developer & Automation Specialist

The best Udemy Docker and DevOps courses for web scraping in 2026 are Docker Mastery (Bret Fisher), Kubernetes for the Absolute Beginners (Mumshad Mannambeth), and Docker Swarm Mastery. These teach containerization, Compose, and orchestration—skills needed to run scrapers at scale and deploy to platforms like Apify.

Browse Docker courses on Udemy

Guides on this site

Frequently asked questions

Frequently Asked Questions

CI/CD for actor deployment, infrastructure-as-code for Apify configurations, container versioning for reproducibility, automated testing against fixture HTML, and incident response playbooks. Treating scrapers as software products—with tests, deployments, and on-call rotations—dramatically reduces production incidents compared to ad-hoc scripts.

Use the Apify CLI with GitHub Actions: authenticate with APIFY_TOKEN secret, run apify push on merge to main, run integration tests against a staging actor version before promoting to production. Pin actor versions in consumer configurations to avoid unintended breaking changes from upstream actor updates.

Alert on: actor run failure rate above threshold, extraction completeness drops, cost per run anomalies (runaway concurrency), and data freshness SLA breaches. Use Apify webhooks to emit metrics to your monitoring stack. Track proxy success rates separately from extraction success rates to disambiguate root causes.

Store API tokens, proxy credentials, and CRM keys in a secrets manager (AWS Secrets Manager, HashiCorp Vault, or environment variable injection). Never hardcode credentials in actor source code or commit them to version control. Rotate credentials on a schedule and immediately after any suspected exposure.