Manage Workers VPC services using Wrangler. VPC services allow your Workers to connect to private services on your network through Cloudflare Tunnels.
vpc service create
Create a new VPC service
npx wrangler vpc service create [NAME]yarn wrangler vpc service create [NAME]pnpm wrangler vpc service create [NAME][NAME]stringrequiredThe name of the VPC service
--typestringrequiredThe type of the VPC service
--tcp-portnumberTCP port number
--app-protocolstringApplication protocol for the TCP service
--http-portnumberHTTP port (default: 80)
--https-portnumberHTTPS port number (default: 443)
--ipv4stringIPv4 address for the host [conflicts with --ipv6]
--ipv6stringIPv6 address for the host [conflicts with --ipv4]
--hostnamestringHostname for the host
--resolver-ipsstringComma-separated list of resolver IPs
--tunnel-idstringrequiredUUID of the Cloudflare tunnel
--cert-verification-modestringTLS certificate verification mode for the connection to the origin
Global flags
--vbooleanalias: --versionShow version number
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
--configstringalias: --cPath to Wrangler configuration file
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
--experimental-provisionbooleanaliases: --x-provisiondefault: trueExperimental: Enable automatic resource provisioning
--experimental-auto-createbooleanalias: --x-auto-createdefault: trueAutomatically provision draft bindings with new resources
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
vpc service delete
Delete a VPC service
npx wrangler vpc service delete [SERVICE-ID]yarn wrangler vpc service delete [SERVICE-ID]pnpm wrangler vpc service delete [SERVICE-ID][SERVICE-ID]stringrequiredThe ID of the service to delete
Global flags
--vbooleanalias: --versionShow version number
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
--configstringalias: --cPath to Wrangler configuration file
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
--experimental-provisionbooleanaliases: --x-provisiondefault: trueExperimental: Enable automatic resource provisioning
--experimental-auto-createbooleanalias: --x-auto-createdefault: trueAutomatically provision draft bindings with new resources
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
vpc service get
Get a VPC service
npx wrangler vpc service get [SERVICE-ID]yarn wrangler vpc service get [SERVICE-ID]pnpm wrangler vpc service get [SERVICE-ID][SERVICE-ID]stringrequiredThe ID of the VPC service
Global flags
--vbooleanalias: --versionShow version number
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
--configstringalias: --cPath to Wrangler configuration file
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
--experimental-provisionbooleanaliases: --x-provisiondefault: trueExperimental: Enable automatic resource provisioning
--experimental-auto-createbooleanalias: --x-auto-createdefault: trueAutomatically provision draft bindings with new resources
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
vpc service list
List VPC services
npx wrangler vpc service listyarn wrangler vpc service listpnpm wrangler vpc service listGlobal flags
--vbooleanalias: --versionShow version number
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
--configstringalias: --cPath to Wrangler configuration file
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
--experimental-provisionbooleanaliases: --x-provisiondefault: trueExperimental: Enable automatic resource provisioning
--experimental-auto-createbooleanalias: --x-auto-createdefault: trueAutomatically provision draft bindings with new resources
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
vpc service update
Update a VPC service
npx wrangler vpc service update [SERVICE-ID]yarn wrangler vpc service update [SERVICE-ID]pnpm wrangler vpc service update [SERVICE-ID][SERVICE-ID]stringrequiredThe ID of the VPC service to update
--namestringrequiredThe name of the VPC service
--typestringrequiredThe type of the VPC service
--tcp-portnumberTCP port number
--app-protocolstringApplication protocol for the TCP service
--http-portnumberHTTP port (default: 80)
--https-portnumberHTTPS port number (default: 443)
--ipv4stringIPv4 address for the host [conflicts with --ipv6]
--ipv6stringIPv6 address for the host [conflicts with --ipv4]
--hostnamestringHostname for the host
--resolver-ipsstringComma-separated list of resolver IPs
--tunnel-idstringrequiredUUID of the Cloudflare tunnel
--cert-verification-modestringTLS certificate verification mode for the connection to the origin
Global flags
--vbooleanalias: --versionShow version number
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
--configstringalias: --cPath to Wrangler configuration file
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
--experimental-provisionbooleanaliases: --x-provisiondefault: trueExperimental: Enable automatic resource provisioning
--experimental-auto-createbooleanalias: --x-auto-createdefault: trueAutomatically provision draft bindings with new resources
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile