Create

Create a new process type (e.g., worker, scheduler) for the app

tapit create process name=process_name [memory|cpu|demand_count|spot_count|scale_count|scale_type|command|image|autoscaling_cpu_threshold|ephemeral_storage_gb|allowed_ip_ranges]=value [--ignore-existing]

Required

  • name

Parameters

  • name: Name for the process (required, alphanumeric with hyphens, e.g., worker)
  • memory: Memory allocation in GB (default: 0.5)
  • cpu: CPU allocation in vCPUs (default: 0.25)
  • demand_count: 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)
  • 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
  • --ignore-existing: Skip creation if a resource with the same name already exists (useful for idempotent scripts)