Skip to content

How to Deploy Odoo on Alibaba Cloud

DeployMonkey Team · March 11, 2026 8 min read

Deploy Odoo on Alibaba Cloud: Quick Answer

To deploy Odoo on Alibaba Cloud, provision an ECS instance (ecs.g6.large or larger), pair it with ApsaraDB RDS for PostgreSQL, install Docker, and run the official Odoo container. Alibaba Cloud is the top choice for businesses targeting China, Southeast Asia, or the Middle East — it offers data centers inside mainland China (a requirement for Chinese ICP licensing), the lowest latency to APAC users, and a $300 free trial for new accounts. The fastest path is connecting your ECS instance to DeployMonkey, which automates Docker setup, SSL, backups, and Git-based deployments.

Why Alibaba Cloud for Odoo?

  • Best APAC coverage: Data centers in mainland China (Beijing, Shanghai, Shenzhen, Hangzhou), Hong Kong, Singapore, Malaysia, Indonesia, Japan, South Korea, and Middle East (Dubai, Frankfurt). No other cloud matches this regional breadth for Asian businesses.
  • China compliance: Hosting inside mainland China is required for ICP licensing. Alibaba Cloud is the only major cloud with full support for domestic Chinese hosting regulations — critical if your Odoo instance serves Chinese end users.
  • Integrated managed services: ApsaraDB RDS for PostgreSQL offloads database management, Object Storage Service (OSS) is S3-compatible for Odoo filestore backups, and Anti-DDoS is built in at the network level.
  • $300 free trial: New Alibaba Cloud accounts receive $300 in credits (valid 3 months), enough to run a production-grade Odoo stack for the full trial period at no cost.

Recommended ECS Instance Specs for Odoo

Use CaseECS InstancevCPURAMDiskEst. Price/mo
Dev / Testingecs.g6.large28 GB40 GB SSD~$45
Small Business (1-15 users)ecs.g6.xlarge416 GB80 GB SSD~$90
Medium Business (15-50 users)ecs.g6.2xlarge832 GB160 GB SSD~$180
Large / Multi-companyecs.g6.4xlarge1664 GB300 GB SSD~$360

For the database, use ApsaraDB RDS for PostgreSQL 14+ (rds.pg.c1.xlarge minimum for production). See Odoo server requirements for full hardware guidance.

The Easy Way: Deploy Odoo on Alibaba Cloud with DeployMonkey

DeployMonkey is a BYOS (Bring Your Own Server) managed Odoo hosting platform. You keep your Alibaba Cloud account; DeployMonkey handles everything else.

  1. Provision your ECS instance — Create an Ubuntu 22.04 ECS instance in your chosen region. Assign a static Elastic IP. Open ports 22, 80, and 443 in the Security Group.
  2. Connect to DeployMonkey — Add your server's IP and SSH credentials in the DeployMonkey dashboard. The platform installs Docker, Nginx, Certbot, and the Odoo container automatically.
  3. Deploy your Odoo instance — Select your Odoo version (14–19, Community or Enterprise), set your domain, and click Deploy. SSL certificates are issued automatically and S3-compatible backups to Alibaba OSS are configured in one step.

Manual Method: Deploy Odoo on Alibaba Cloud with Docker

If you prefer a manual setup, follow these steps after SSH-ing into your ECS instance:

# Install Docker
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER

# Create directories
mkdir -p /opt/odoo/{config,addons,data}

# Create docker-compose.yml
cat > /opt/odoo/docker-compose.yml <<'EOF'
version: '3.8'
services:
  db:
image: postgres:15
environment:
  POSTGRES_DB: postgres
  POSTGRES_USER: odoo
  POSTGRES_PASSWORD: changeme
volumes:
  - db_data:/var/lib/postgresql/data
  odoo:
image: odoo:17
depends_on: [db]
ports:
  - "8069:8069"
volumes:
  - ./config:/etc/odoo
  - ./addons:/mnt/extra-addons
  - ./data:/var/lib/odoo
environment:
  HOST: db
  USER: odoo
  PASSWORD: changeme
volumes:
  db_data:
EOF

docker compose up -d

Then configure Nginx as a reverse proxy and use Certbot for SSL. See our full Docker guide for the complete Nginx config.

Alibaba Cloud-Specific Tips

Use VPC and Security Groups Correctly

Always deploy your ECS instance inside a VPC (Virtual Private Cloud). Place the database in a private subnet with no public IP — only the Odoo application server should have a public Elastic IP. Configure Security Group rules to allow inbound 80/443 from 0.0.0.0/0 and inbound 5432 only from the ECS instance's private IP.

ApsaraDB RDS vs. Self-Hosted PostgreSQL

For any deployment with more than 10 users, use ApsaraDB RDS for PostgreSQL instead of running PostgreSQL in Docker. RDS provides automatic failover, point-in-time recovery, and read replicas without manual maintenance. Connect Odoo to RDS via the internal VPC endpoint (no public internet exposure, lower latency).

OSS for Odoo Filestore Backups

Alibaba Object Storage Service (OSS) is fully S3-compatible. Configure Odoo's backup solution (or DeployMonkey's built-in backup engine) to push filestore archives to an OSS bucket. Use OSS lifecycle rules to automatically expire old backups after 30/60/90 days to control costs.

China Region Considerations

If deploying in mainland China (cn-hangzhou, cn-beijing, etc.), be aware that Docker Hub is blocked. Pull Odoo images via a domestic mirror or pre-pull images before entering the region. Also note that Let's Encrypt certificate issuance can be slow from China — consider using Alibaba Cloud's ACM (Certificate Manager) with a paid SSL certificate for production workloads.

Elastic IP and Auto Scaling

Assign an Elastic IP to your ECS instance immediately — this gives you a static IP that survives instance stops/restarts, critical for DNS configuration. For larger deployments, Alibaba Cloud's Auto Scaling can add ECS instances to an SLB (Server Load Balancer) pool, enabling horizontal scaling for Odoo worker processes.

Alibaba Cloud Pricing for Odoo

Alibaba Cloud pricing varies by region. Approximate monthly costs for a production Odoo stack in Singapore (ap-southeast-1):

  • ECS ecs.g6.xlarge (4 vCPU / 16 GB, Pay-As-You-Go): ~$90/mo
  • ApsaraDB RDS PostgreSQL (rds.pg.c1.large, 2 vCPU / 4 GB): ~$60/mo
  • Elastic IP: ~$5/mo
  • OSS storage (100 GB): ~$2/mo
  • Total infrastructure: ~$157/mo

Add DeployMonkey Pro ($29/mo) to get automated deployments, SSL management, monitoring, and Git integration — saving hours of DevOps time each month. New Alibaba Cloud accounts receive a $300 free trial credit, meaning your first 1-2 months of infrastructure can be fully covered.

Get Started Today

Ready to deploy Odoo on Alibaba Cloud? Create a free DeployMonkey account and connect your ECS instance in minutes. DeployMonkey handles Docker, Nginx, SSL, and automated backups — you focus on Odoo, not infrastructure.

Frequently Asked Questions