Instance Configuration Requirements

Overview:

When setting up your AWS instance, you’ll need to configure a few key options. Here’s a detailed guide on the recommended configurations and selections.

 

1. Instance Type

For optimal performance, we recommend using the following instance types:

  • t3a.small – 2 virtual CPUs and 2 GB memory.
  • t3.small – 2 virtual CPUs and 2 GB memory.

However, you can choose an instance type based on your specific workload and traffic needs. Here’s a quick reference table to help you decide:

CPU / Memory Suitable for
2 CPU cores / 2 GB Evaluation, and small teams of up to about 5 users with a few apps installed
2 CPU cores / 4 GB Everyday use by up to about 15 users, with Sales, Invoicing and Inventory in daily use
4 CPU cores / 8 GB Larger teams, more apps installed together, and regular reporting
8 CPU cores / 16 GB Manufacturing or eCommerce, large record volumes, and sustained concurrent use

Odoo is a Python application backed by PostgreSQL, and both run on this instance. Memory is the first thing to run short: each additional app you install from the Apps menu adds tables and background jobs. If Odoo feels slow before the CPU is busy, add memory first.

For more details on different instance types and configurations, refer to the AWS Instance Types documentation.

 

2. Storage Space

The default allocated storage size for our AMI. You may specify the necessary storage size when launching a new instance or change it after deployment.

30 GB (recommended)

An ERP grows on disk in two directions at once: the PostgreSQL database, and every attachment, quotation and invoice PDF your team generates. Both live on this volume, so allow room for a few years of records rather than sizing for today.

 

3. Ports Configuration

To ensure smooth operation of your installation, open the inbound ports below. These three are all that this image needs.

Please note: the database does not need an open port, and must not be given one. PostgreSQL runs on a private network inside the instance and is reachable only by the application. Opening port 5432 to the internet would expose every record in your business and is not required for anything.

Please also note: Odoo’s own ports 8069 and 8072 do not need to be open either. The application is reached through the proxy on ports 80 and 443. Opening 8069 would let visitors bypass HTTPS and reach Odoo over plain HTTP.

 

Inbound Ports:

 

Type Protocol Port Range Source Why
SSH TCP 22 0.0.0.0/0 To run the one-click installer and the domain setup tool. Restrict this to your own address if you can.
HTTP TCP 80 0.0.0.0/0 Reaching Odoo before you add a domain, and SSL certificate validation afterwards.
HTTPS TCP 443 0.0.0.0/0 Required once you associate a domain. Without it your site cannot serve HTTPS.

Outbound Ports:

Outbound access is needed to download the application on first boot, to obtain and renew your SSL certificate, and to send email through your own SMTP provider. The default AWS security group allows all outbound traffic, and no change is required.
 

CONTENTS