# vespa prod init

[](/en/reference/clients/vespa-cli/vespa_prod_init.html.md "View as Markdown") 

## vespa prod init

Modify service.xml and deployment.xml for production deployment

### Synopsis

Modify service.xml and deployment.xml for production deployment.

Only basic deployment configuration is available through this command. For advanced configuration see the relevant Vespa Cloud documentation and make changes to deployment.xml and services.xml directly.

Reference: [https://docs.vespa.ai/en/reference/applications/services/services.html](https://docs.vespa.ai/en/reference/applications/services/services.html)[https://docs.vespa.ai/en/reference/applications/deployment.html](https://docs.vespa.ai/en/reference/applications/deployment.html)

```
vespa prod init [flags]
```

### Options

```
-h, --help help for init
```

### Options inherited from parent commands

```
-a, --application string The application to use. Format "tenant.application.instance" - instance is optional (tenant required for cloud targets)
  -C, --cluster string The container cluster to use. This is only required for applications with multiple clusters
  -c, --color string Whether to use colors in output. Must be "auto", "never", or "always" (default "auto")
  -i, --instance string The instance of the application to use
  -q, --quiet Print only errors
  -t, --target string The target platform to use. Must be "local", "cloud", "hosted" or an URL (default "local")
  -z, --zone string The zone to use. This defaults to a dev zone (cloud only)
```

### SEE ALSO

- [vespa prod](vespa_prod.html) - Deploy an application package to production in Vespa Cloud

 Copyright © 2026 - [Cookie Preferences](#)

### On this page:

- [vespa prod init](#page-title)
- [vespa prod init](#vespa-prod-init)
- [Synopsis](#synopsis)
- [Options](#options)
- [Options inherited from parent commands](#options-inherited-from-parent-commands)
- [SEE ALSO](#see-also)

