Set

Update settings for an existing process type

tapit set process [name=process_name] [memory|cpu|desired_count|spot_count|scale_count|scale_type|command|image|disabled|autoscaling_cpu_threshold|ephemeral_storage_gb|allowed_ip_ranges]=value

Parameters

  • name: Name of the process to update (default: default process)
  • memory: Memory allocation in GB (default: 0.5)
  • cpu: CPU allocation in vCPUs (default: 0.25)
  • desired_count: Desired number of on-demand container instances
  • spot_count: Number of spot container instances
  • scale_count: Number of extra instances to add when scaling up
  • scale_type: Instance type used when scaling up: none (default, disables autoscaling), spot, or demand
  • command: Override the default container command
  • image: Custom Docker image (overrides app image); set to empty string to revert to the app’s default deployment image
  • disabled: Disable (true) or enable (false) the process
  • autoscaling_cpu_threshold: CPU % threshold to trigger autoscaling
  • ephemeral_storage_gb: Ephemeral storage in GB (default: 20)
  • allowed_ip_ranges: IP address, CIDR ranges, or special values app/vpc/all, that are allowed to access the instance, separated by commas