Standard

Guide for understanding and configuring a Standard stack

The Standard stack introduces dynamic capacity by decoupling the web delivery layer from the backend services.

Architecture: An autoscaling web tier supported by a single “core” server.

How it Works: The web server is moved into a horizontally scaling layer that automatically expands or contracts based on real-time request demand. The core server processes and manages common backend services (databases, caching, search, NFS, and cron).

Best For: Applications prone to traffic spikes or those experiencing rapid growth that require immediate, automated scaling at the web tier.

Supported variants

  • Magento (type: standard-magento)
  • Shopware (type: standard-shopware)

Variables

Variable nameTypeDescription
regionstringRequired The region to deploy the stack.
zonestringOptional. Availability zone. Specify only when a specific zone is required. Otherwise, derived from the region.
sizestringRequired Plan size. Must be one of dev, micro, mini, small, medium, large, or xlarge.
server_sizeobjectOptional override for core server compute. Must map to a specific ARM64 instance type based on vCPU and memory.
vcpunumbervCPU count
memorynumberGiB
cluster_sizeobjectOptional override for cluster server compute. Must map to a specific ARM64 instance type based on vCPU and memory.
vcpunumbervCPU count.
memorynumberGiB.
data_disk_sizenumberOptional. The size of the data disk in GiBs. If this is provided, it will override the default disk size.
db_endpointstringOptional. Only provide when an add-on database has been created. Typically a reference to an RDS stack output.
db_password_secret_namestringOptional. Only provide when an add-on database has been created. A reference to a Secrets Manager secret for retrieving the database password. Typically a reference to an RDS stack output.
stacker_variablesobject
mysqlobjectOptional Mysql configuration variables. See MySQL for details.
phpobjectOptional PHP configuration variables. See PHP-FPM for details.
vinylobjectOptional Vinyl configuration variables. See Vinyl for details.
sharelist(string)A list of specific subdirectory paths within the core server’s file system to bind-mount into the application container’s web root.
Example: "share":["html/app/etc/env.php","html/pub/media","html/var"]

Example:

{
  "type": "standard-magento",
  "environment": "/v2/environments/tu8aovkn7waj",
  "service": "/v2/services/2tpkjj7e0b28",
  "name": "magento-production-store",
  "variables": {
    "region": "us-east-1",
    "size": "medium",
    "stacker_variables": {
      "php": {
        "version": "8.3"
      },
      "mysql": {
        "variant": "mariadb",
        "version": "10.5.18"
      },
      "share": ["html/app/etc/env.php","html/pub/media","html/var"]
    }
  }
}

Outputs

Output nameDescription
data_subnetsArray of subnet IDs for backend services [subnet].
public_subnetsArray of subnet IDs for public services [primary, secondary].
Have questions not answered here? Contact Support to get more help.

Last modified on September 2, 2026