Tutorials
Step-by-step guides for setting up and running servers, networks and services on Arianet. Every tutorial has copy-ready commands and ends with a way to check the result.
📄️ First SSH login and server hardening
Step by step first SSH login to an Ubuntu 24.04 server, creating a sudo user, key-only login, disabling root and password login, automatic security updates and fail2ban.
📄️ Firewall; ufw and the cloud firewall
Set up the ufw firewall on Ubuntu and the Arianet cloud firewall from the panel, CLI and API; how the two layers work together and which ports to open.
📄️ Install Docker and Docker Compose
Install Docker Engine and Docker Compose from the official repository on Ubuntu 24.04 and 22.04, run your first container with docker compose, and the important Docker and ufw caveat.
📄️ Nginx and free Let's Encrypt SSL
Install the Nginx web server on Ubuntu 24.04, create a server block for your domain and get a free Let's Encrypt SSL certificate with certbot, with automatic renewal and HTTP to HTTPS redirect.
📄️ Install WordPress on a VPS (LEMP)
Install WordPress on an Ubuntu 24.04 VPS or cloud server with Nginx, MariaDB and PHP-FPM (LEMP), with a free SSL certificate, upload size settings and fixes for common errors.
📄️ Attach and mount a cloud volume
Create and attach an Arianet cloud volume to an Ubuntu server, format it with ext4, mount it permanently in fstab with UUID and nofail, and grow the filesystem after resizing the volume.
📄️ Private network between cloud servers
Create a private network in Arianet Cloud, attach two cloud servers to it, check and configure the network interface with netplan on Ubuntu, and connect a web server to a database securely over private IPs.
📄️ Load balancer for two web servers
Set up an Arianet cloud load balancer in front of two Nginx web servers on a private network, with health checks, round robin or least connections, and HTTPS through TLS passthrough.
📄️ Snapshots, backups and restore
Take snapshots and enable daily automatic backups in Arianet Cloud from the panel and CLI, restore a server, create a new server from a snapshot or backup, and make consistent database backups.
📄️ Create servers with Terraform and the CLI
A complete guide to creating Arianet cloud servers from the command line with the arianet CLI and as code with Terraform; from creating a token and picking a plan to firewall, volume, IP outputs, changes and teardown.
📄️ Swap, timezone and hostname
Create a swap file on Ubuntu 24.04 and tune swappiness, set the server's time zone (for example Tehran time) with timedatectl and keep the clock in sync, and change the hostname permanently with hostnamectl.