Docs / Getting Started / Essential First Steps After Deploying a Breeze

Essential First Steps After Deploying a Breeze

By Admin · Feb 25, 2026 · Updated Apr 23, 2026 · 154 views · 1 min read

1. Update Your System

sudo apt update && sudo apt upgrade -y

2. Set Your Timezone

sudo timedatectl set-timezone America/New_York
# List available timezones:
timedatectl list-timezones

3. Create a Non-Root User

adduser deploy
usermod -aG sudo deploy

4. Set Up SSH Keys for the New User

# On your local machine
ssh-copy-id deploy@YOUR_IP

5. Harden SSH

Edit /etc/ssh/sshd_config:

PermitRootLogin no
PasswordAuthentication no
sudo systemctl restart sshd

6. Set Up a Firewall

sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow ssh
sudo ufw allow http
sudo ufw allow https
sudo ufw enable

7. Enable Automatic Updates

sudo apt install -y unattended-upgrades
sudo dpkg-reconfigure -plow unattended-upgrades

8. Set Up Swap (if needed)

sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo "/swapfile none swap sw 0 0" | sudo tee -a /etc/fstab

9. Install Fail2Ban

sudo apt install -y fail2ban
sudo systemctl enable --now fail2ban

10. Set Your Hostname

sudo hostnamectl set-hostname my-breeze
echo "127.0.1.1 my-breeze" | sudo tee -a /etc/hosts

Next Steps

  • Deploy your application or install a web server
  • Configure DNS to point your domain to your Breeze IP
  • Set up SSL certificates with Let's Encrypt
  • Configure backups

Was this article helpful?