Recipes & Automation
40+ recipes.
One click.
Pre-built recipes for common server tasks — from installing packages and hardening security to deploying applications and running maintenance. Pick a recipe, select a server, and execute. Or write your own scripts with syntax highlighting, parameterized variables, and scheduled execution.
40+
Built-in recipes
4
Categories
Cron
Scheduling
AI
Script generation
Recipe Marketplace
Battle-tested scripts. Ready to run.
The recipe marketplace contains 40+ pre-built scripts organized into four categories: installation, security, deployment, and maintenance. Every recipe is tested, documented, and ready to execute on any server through the HostAtlas agent.
Installation
Install and configure services with one click. Nginx, Apache, MySQL, PostgreSQL, Redis, Node.js, PHP, Docker, and more. Each recipe follows the vendor's recommended installation process.
Security
Harden your servers with proven security recipes. Firewall setup, SSH hardening, fail2ban configuration, unattended upgrades, and CIS benchmark compliance scripts.
Deployment
Deploy applications with standardized workflows. Git pull, dependency installation, build steps, cache clearing, and service restart — all in one recipe with configurable parameters.
Maintenance
Keep servers healthy with scheduled maintenance recipes. Log cleanup, database optimization, cache purging, certificate renewal, and system updates — automated and logged.
Recipe Library
43 recipesInstall Nginx + PHP-FPM 8.3
Installs Nginx and PHP-FPM 8.3 with common extensions · Ubuntu/Debian
Install MySQL 8.0
Installs MySQL 8.0, secures installation, creates admin user · Ubuntu/Debian
Install Docker + Compose
Installs Docker CE and Docker Compose plugin from official repo · Ubuntu/Debian/CentOS
Install Redis 7
Installs Redis 7 with sane defaults and systemd service · Ubuntu/Debian
Custom Script Editor
Write your own. Run anywhere.
The built-in script editor gives you a full coding environment with syntax highlighting, line numbers, and error indicators. Write custom bash scripts, save them to your team's library, and execute them on any server through the HostAtlas agent.
Syntax Highlighting
Full bash syntax highlighting with keyword recognition, string detection, comment styling, and bracket matching. Write scripts as comfortably as in your local editor.
Team Library
Save scripts to your team's shared library. Name, describe, and categorize them. Other team members can browse, fork, and execute any script from the library.
Version History
Every save creates a new version. Compare versions side by side, see what changed, and revert to any previous version if a script update introduces issues.
2set -euo pipefail
3
4# Deploy Laravel application
5APP_DIR="{{app_directory}}"
6BRANCH="{{branch}}"
7
8cd "$APP_DIR"
9git pull origin "$BRANCH"
10composer install --no-dev --optimize-autoloader
11php artisan migrate --force
12php artisan config:cache
13php artisan route:cache
14php artisan view:cache
15
16echo "Deployment complete."
Parameterized Recipes
One script. Infinite configurations.
Use {{variables}} in your scripts to create reusable, parameterized recipes. When you run a recipe, HostAtlas prompts for each variable value. The same deployment script works for every project — just change the parameters.
Recipe Parameters
deploy-laravel.sh · 3 variables detected
Target: web-prod-01
Auto-detected Variables
HostAtlas scans your script for {{variable_name}} patterns and automatically generates the input form. No separate configuration step required.
Default Values
Set default values for each variable so recurring runs require fewer inputs. Override defaults when needed. Defaults are stored with the recipe and shared across the team.
Secure Variable Handling
Variables are substituted server-side just before execution. Values are never stored in the execution log. Sensitive parameters like passwords and tokens stay protected.
Validation
Mark variables as required or optional. Required variables must have a value before execution proceeds. Prevents running scripts with missing configuration.
Scheduled Execution
Cron scheduling. Built in.
Schedule any recipe or custom script to run automatically on a cron schedule. Maintenance tasks, database backups, log rotations, and health checks — running on time, every time, with full execution logs captured by HostAtlas.
Cron Expression Builder
Use standard cron expressions or the visual builder. Set schedules like "every day at 3:00 AM" or "every Sunday at midnight" without memorizing cron syntax.
Execution History
Every scheduled run is logged with start time, duration, exit code, and full stdout/stderr output. Review past executions to verify scripts ran correctly and debug failures.
Failure Alerts
If a scheduled recipe fails (non-zero exit code), HostAtlas sends an alert through your configured notification channels. Know immediately when a maintenance task breaks.
Scheduled Recipes
MySQL Optimize Tables
db-prod-01 · Every Sunday 02:00 UTC
Last: Success
3d ago · 42s
Clean Old Log Files
All servers · Daily 03:00 UTC
Last: Success
7h ago · 8s
Database Backup to S3
db-prod-01 · Every 6 hours
Last: Failed
2h ago · Exit 1
SSL Certificate Renewal Check
web-prod-01 · Daily 06:00 UTC
Last: Success
1d ago · 3s
Execution Logging
Full output. Every run.
Every recipe execution is captured with complete stdout and stderr output, exit code, timing, and the user who triggered it. Debug failures, audit changes, and verify that scripts ran as expected — all from the HostAtlas dashboard.
Execution Log: Install Nginx + PHP-FPM 8.3
web-prod-02 · Triggered by sascha@hostatlas.app · 14 min ago
[00:00] Starting recipe: Install Nginx + PHP-FPM 8.3
[00:00] Target: web-prod-02 (Ubuntu 22.04)
[00:01] Adding Nginx repository...
[00:03] OK Repository added
[00:03] Installing nginx...
[00:18] OK nginx 1.24.0 installed
[00:18] Adding PHP 8.3 PPA (ondrej/php)...
[00:22] OK PPA added
[00:22] Installing php8.3-fpm php8.3-mysql php8.3-mbstring php8.3-xml php8.3-curl...
[01:14] OK PHP 8.3.4 installed with 5 extensions
[01:14] Enabling and starting services...
[01:16] OK nginx.service: active (running)
[01:16] OK php8.3-fpm.service: active (running)
[01:17] Recipe completed successfully. Duration: 1m 17s
Duration
1m 17s
Exit Code
0
Output
42 lines
Triggered By
Manual
AI-Powered Scripts
Describe it. AI writes it. You review it.
Don't want to write bash from scratch? Describe what you need in plain language and HostAtlas generates a production-ready script using AI. The generated script opens in the editor for review and modification before execution. You're always in control.
Context-aware Generation
The AI knows the target server's OS, package manager, installed services, and current configuration. Generated scripts use the right commands for the right environment.
AI Optimization
Paste an existing script and ask the AI to optimize it. Security hardening, error handling, performance improvements, and best practices — applied automatically with explanations for every change.
Save to Library
Generated scripts can be saved directly to your team's recipe library. Use AI to bootstrap new recipes, then refine and maintain them like any other script.
AI Recipe Generator
Remote Execution
Run on any server. Through the agent.
Recipes execute through the HostAtlas agent installed on your servers. No SSH access required. No inbound ports to open. The agent receives the script securely over its existing outbound connection, executes it, and streams the output back to your dashboard in real time.
No SSH Required
Scripts execute through the agent's secure channel. No SSH keys to distribute, no bastion hosts to maintain, no inbound firewall rules to manage. Your servers stay locked down.
Multi-server Execution
Run the same recipe on multiple servers simultaneously. Select individual servers or server groups. Results are collected and displayed per-server with individual success/failure status.
RBAC Enforcement
Recipe execution respects your team's role-based access control. Viewers can browse recipes but can't run them. Members can execute. Admins can create and modify. Full audit trail for every execution.
Automate everything. Log everything.
40+ built-in recipes, custom script editor, parameterized variables, cron scheduling, and AI generation. Server automation that's tracked, auditable, and repeatable.