> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# fly scale count

Change an app's VM count to the given value.

For pricing, see [https://fly.io/docs/about/pricing/](https://fly.io/docs/about/pricing/)

## Usage

```
fly scale count [count] [flags]
```

## Options

```
  -a, --app string                  Application name
  -c, --config string               Path to application configuration file
  -e, --env stringArray             Set of environment variables in the form of NAME=VALUE pairs. Can be specified multiple times.
      --from-snapshot string        New volumes are restored from snapshot, use 'last' for most recent snapshot. The default is an empty volume
  -h, --help                        help for count
      --host-dedication-id string   The dedication id of the reserved hosts for your organization (if any)
      --max-per-region int          Max number of VMs per region (default -1)
  -g, --process-group string        The process group to scale
  -r, --region string               Comma separated list of regions to act on. Defaults to all regions where there is at least one machine running for the app
      --vm-cpu-kind string          The kind of CPU to use ('shared' or 'performance') (also --vm-cpukind)
      --vm-cpus int                 Number of CPUs (also --cpus)
      --vm-memory string            Memory (in megabytes) to attribute to the VM (also --memory)
      --vm-size string              The VM size to set machines to. See "fly platform vm-sizes" for valid values
      --with-new-volumes            New machines each get a new volumes even if there are unattached volumes available
  -y, --yes                         Accept all confirmations (also --auto-confirm)
```

## Global Options

```
  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly scale](/flyctl/cmd/fly_scale)	 - Scale app resources
