Aptible PaaS logoDocs

Container Profiles

🏳️ Modifiable Container Profiles are only available on the Enterprise plan.

Aptible offers three Container Profiles with unique CPU-to-RAM ratios and sizes. Container Profiles provide flexibility and cost-optimization by allowing users to select the workload-appropriate Profile.

The General Purpose Container Profile is available by default in all Stacks. Whereas CPU and RAM Optimized Container Profiles are only available in Dedicated Stacks.

⚠️ Dedicated Stacks provisioned before 2021 may not have access to modifiable Container Profiles by default. Enabling CPU Isolation and Memory Limits is a pre-requisite to gaining access to this feature is.

Types of Container Profiles

The Container Profiles currently available are as follows:

  • General Purpose: The default Container Profile, which works well for most use cases.
  • CPU Optimized: For CPU-constrained workloads, this Profile provides high-performance CPUs and more CPU per GB of RAM.
  • RAM Optimized: For memory-constrained workloads, this Profile provides more RAM for each CPU allocated to the Container.
Container ProfileCPU:RAM RatioRAM per CPUContainer SizesCost
General Purpose1/4 CPU : 1GB RAM4GB / CPU512MB-241GB$0.08/GB/Hour
RAM Optimized1/8 CPU : 1GB RAM8GB / CPU4GB-653GB$0.05/GB/Hour
CPU Optimized1/2 CPU : 1GB RAM2GB / CPU2GB-163GB$0.10/GB/Hour

Expect to find the following memory-to-CPU ratios for a Container with the General Purpose Profile, for example:

  • 2 GB Container: ½ vCPU.
  • 4 GB Container: 1 vCPU.
  • 8 GB Container: 2 vCPU.

The number of CPUs per unit of RAM is fixed for each Container Profile.

Default Container Profile

All new Apps & Databases are default created with the General Purpose Container Profile. This applies to Database Backups and Database Replicas.

Modifying Container Profiles

Container Profiles can only be modified from the Aptible Dashboard by navigating to the resource in question > Selecting "Scale > Selecting the Container Profile dropdown > Selecting "Scale Service." The Container Profile will take effect upon restart.

Modifying a Container Profile in the Aptible Dashboard