Self-Hosting Immich on ARM64 VPS: The Ultimate AI-Powered Google Photos Alternative for Family Backups
Introduction: The Growing Need for a Google Photos Alternative
For years, Google Photos has been the go-to solution for smartphone photo backups. However, with strict storage limitations, rising subscription costs, and growing privacy concerns, many tech-savvy users and families are looking for a self-hosted alternative. The ideal solution needs to be automated, multi-user friendly, and possess the same smart features we have grown accustomed to—most notably, high-accuracy AI facial recognition.
Enter Immich, a high-performance, self-hosted photo and video management solution designed to act as a direct drop-in replacement for Google Photos. When paired with an affordable, high-efficiency ARM64 VPS (such as Oracle Cloud Free Tier, Hetzner ARM, or Contabo ARM), Immich becomes an incredibly cost-effective, private cloud powerhouse capable of backing up your entire family's media assets seamlessly.
---Why Immich and ARM64 VPS Are a Perfect Match
Deploying Immich on an ARM64 architecture offers several distinct advantages for modern home labs and family cloud setups:
- Exceptional Cost Efficiency: ARM64 cloud servers provide significantly higher vCPU counts and RAM allocations per dollar compared to traditional x86_64 instances.
- Blazing Fast AI Performance: Immich utilizes machine learning models for facial recognition and object detection. Modern ARM64 processors include hardware optimizations that handle these vectorized AI workloads with surprising efficiency.
- True Privacy and Control: Your family photos remain strictly yours. No third-party data scraping, no sudden policy changes, and no monthly per-user storage fees.
- Seamless Mobile Experience: With native iOS and Android apps, background backup works just as smoothly as Google Photos, ensuring your family's memories are backed up instantly.
Prerequisites and System Requirements
Before initiating the deployment, ensure your virtual private server meets the following recommended specifications for a smooth multi-user family experience:
- OS: Ubuntu 22.04 LTS or Ubuntu 24.04 LTS (ARM64 architecture).
- Specs: Minimum 2 vCPUs and 4GB RAM. (Note: AI facial recognition can be RAM-intensive during initial indexing; 6GB+ RAM is ideal for large libraries).
- Storage: Adequate NVMe or Block Storage attached to your VPS to house your family's media library.
- Domain & Security: A registered domain name or subdomain pointing to your VPS IP, along with Docker and Docker Compose installed.
Step-by-Step Deployment Guide via Docker Compose
Immich is natively built to run in Docker containers. Follow these structured steps to configure and launch your instance on an ARM64 server.
Step 1: System Update and Docker Installation
First, connect to your ARM64 VPS via SSH and update your system packages:
sudo apt update && sudo apt upgrade -y
sudo apt install curl docker.io docker-compose-plugin -yStep 2: Create the Immich Directory and Fetch Configuration
Create a dedicated directory for Immich to store its configuration and environmental variables:
mkdir -p ~/immich && cd ~/immich
curl -L [https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml](https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml) -o docker-compose.yml
curl -L [https://github.com/immich-app/immich/releases/latest/download/example.env](https://github.com/immich-app/immich/releases/latest/download/example.env) -o .envStep 3: Optimizing the .env File for ARM64 and Production
Open the .env file using your preferred text editor (e.g., nano .env). You must configure the following key parameters:
- UPLOAD_LOCATION: Define the absolute path where your photos will be saved (e.g.,
./uploador a mounted external block storage path). - DB_PASSWORD: Change the default database password to a strong, unique alphanumeric string.
- IMMICH_VERSION: Set to
releaseto always fetch the latest stable build.
Pro Tip for ARM64 AI Performance: Immich automatically detects ARM64 environments and pulls the optimized machine learning images (using lightweight ONNX models) to ensure facial recognition functions swiftly without overwhelming your CPU.
Step 4: Launching the Containers
Execute the following command to download the optimized ARM64 Docker images and launch the Immich stack in the background:
sudo docker compose up -dVerify that all containers (Immich Server, Immich Machine Learning, PostgreSQL, and Redis) are running correctly by executing sudo docker compose ps.
Configuring the Ultra-Sensitive AI Face Recognition
Once logged into your new Immich web dashboard, navigating to the Administration Settings allows you to unlock the full potential of its facial recognition engine.
Selecting the Right Machine Learning Models
Immich allows you to change the facial recognition model depending on your hardware limitations. For ARM64 architectures, the default buffalo_l or insightface models offer an incredible balance of speed and precision. The system automatically processes images upon upload, grouping matching faces with remarkable accuracy, even detecting profiles, varying lighting conditions, and aging over time.
Optimizing Concurrency for Smooth Backups
To prevent your VPS from running out of memory during the initial mass upload of thousands of family photos, navigate to Settings > Job Settings and set the concurrent jobs for Facial Recognition and Media Extraction to match your available vCPU count (e.g., 2 or 3 concurrent jobs).
---Securing Immich for Family Access (Reverse Proxy & SSL)
To safely expose Immich to the internet so family members can upload photos from anywhere, you should implement a Reverse Proxy such as Nginx Proxy Manager or Caddy paired with a free Let's Encrypt SSL certificate.
Example Caddy Configuration
If you use Caddy, securing your instance is as simple as adding these lines to your Caddyfile:
photos.yourdomain.com {
reverse_proxy localhost:2283
}This automatically handles HTTPS encryption, ensuring that your family’s private data remains encrypted in transit between mobile devices and your ARM64 VPS.
---Conclusion: A Worthy Google Photos Successor
By hosting Immich on an ARM64 VPS, you successfully combine the cost savings of modern cloud architecture with a feature-rich, high-privacy media backup pipeline. With its blazing-fast AI face recognition, automated multi-user synchronization, and active open-source development, Immich stands out as the ultimate definitive solution for modern family photo preservation. Take control of your digital memories today and experience cloud independence.
