This command scales App Services up or down.

Synopsis

Usage:
  aptible apps:scale SERVICE [--container-count COUNT] [--container-size SIZE_MB] [--container-profile PROFILE]

Options:
      [--app=APP]
      [--environment=ENVIRONMENT]
  -r, [--remote=REMOTE]
      [--container-count=N]
      [--container-size=N]
      [--container-profile=PROFILE]

Examples

aptible apps:scale --app "$APP_HANDLE" SERVICE \
        --container-count COUNT \
        --container-size SIZE_MB

Container Sizes (MB)

All container profiles support the following sizes: 512, 1024, 2048, 4096, 7168, 15360, 30720

The following profiles offer additional supported sizes:

  • General Purpose (M) - Legacy, General Purpose(M) and Memory Optimized(R) - Legacy: 61440, 153600, 245760
  • Compute Optimized (C): 61440, 153600, 245760, 376832
  • Memory Optimized (R): 61440, 153600, 245760, 376832, 507904, 770048

Was this page helpful?