Open the server Apps tab
Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.


Local AWS cloud stack for development
Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the LocalStack template in Server Compass to deploy a local AWS-compatible development endpoint on your VPS, then verify the LocalStack health API in a browser.
Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Use the template picker search to find LocalStack in the Server Compass template catalog.

Choose the LocalStack template. Server Compass fills the LocalStack gateway service, enabled services list, persistence setting, and data volume.

Confirm the app name and compose services. In this run, the app was named localstack-demo and used host port 4566.

Review the generated environment values, confirm the port is available, and click Deploy Now.

Keep the deployment modal open while Server Compass uploads the compose file, pulls the LocalStack image, starts the container, and verifies the stack.

After deployment finishes, return to the Apps tab and confirm the LocalStack app is marked Running with its gateway URL available.

Open the LocalStack health endpoint in a browser. A successful JSON response confirms the AWS-compatible gateway is reachable.

The LocalStack health endpoint responded successfully in a browser.
It deploys the LocalStack container with persistence enabled, Docker socket access, and selected AWS-compatible services.
The tutorial verified LocalStack on host port 4566, which maps to the LocalStack gateway on container port 4566.
LocalStack is an AWS-compatible API gateway for development. The health endpoint is the correct browser-safe verification target.
No. The deployment guide should live on the LocalStack template detail page and be linked from the reusable template deployment docs page.
Get your hands dirty: manual LocalStack deployment guide for developers.
Fire up your terminal application and establish a connection to your remote server.
# Access your VPS
ssh root@YOUR_SERVER_IP
# With SSH key authentication
ssh -i ~/.ssh/your-private-key root@YOUR_SERVER_IPFirst time? Ensure Docker is installed first: curl -fsSL https://get.docker.com | sh
Create a folder to house your Docker Compose configuration.
# Create and navigate to project directory
mkdir -p ~/apps/localstack
cd ~/apps/localstackDefine your services in a docker-compose.yml file:
services:
localstack:
image: localstack/localstack:latest
ports:
- "4566:4566"
environment:
- SERVICES=s3,sqs,dynamodb,lambda
- DEBUG=1
- PERSISTENCE=1
volumes:
- localstack_data:/var/lib/localstack
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
volumes:
localstack_data:
PORTGateway port(default: 4566)SERVICESServices(default: s3,sqs,dynamodb,lambda)Start your containers and verify they're running correctly.
# Launch the stack
docker compose up -d
# Verify container status
docker compose ps
# Follow the logs
docker compose logs --followUpdate UFW rules to allow traffic on the application port.
# Allow the application port through firewall
sudo ufw allow 4566/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:4566Why type commands when you can click? Deploy LocalStack the easy way with Server Compass.
After deploying LocalStack with Server Compass, complete these steps to finish setup
Configure AWS CLI
Use --endpoint-url
Test with AWS commands
Need help? Check out our documentation for detailed guides.
Common questions about self-hosting LocalStack
Simply download Server Compass, connect to your VPS, and select LocalStack from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
LocalStack requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard LocalStack backup and restore procedures.
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest LocalStack image will be pulled and deployed with zero downtime.
LocalStack is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Open-source backend in a single file with realtime database, auth, and file storage

Open-source backend-as-a-service - self-hosted Firebase alternative

Open-source backend framework with dashboard

Full Supabase self-hosted with Kong, GoTrue Auth, Realtime, and Studio
Download Server Compass and deploy LocalStack to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass