> ## 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 vm

Change an application's VM size to one of the named VM sizes.

For a full list of supported sizes use the command `flyctl platform vm-sizes`.

Memory size can be set with the `--vm-memory` flag followed by the number of MB.

For example: `flyctl scale vm shared-cpu-1x --vm-memory=2048`.

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

## Usage

```
fly scale vm [size] [flags]
```

## Options

```
  -a, --app string             Application name
  -c, --config string          Path to application configuration file
  -h, --help                   help for vm
  -g, --process-group string   The process group to apply the VM size to
      --vm-memory int          Memory in MB for the VM
```

## 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
