| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/workers/wrangler/commands/vpc/ | [Back] [Original] |
Manage Workers VPC services using Wrangler. VPC services allow your Workers to connect to private services on your network through Cloudflare Tunnels.
vpc service createCreate a new VPC service
npx wrangler vpc service create [NAME]yarn wrangler vpc service create [NAME]pnpm wrangler vpc service create [NAME][NAME]string requiredThe name of the VPC service
--typestring requiredThe type of the VPC service
--tcp-portnumber TCP port number
--app-protocolstring Application protocol for the TCP service
--http-portnumber HTTP port (default: 80)
--https-portnumber HTTPS port number (default: 443)
--ipv4string IPv4 address for the host [conflicts with --ipv6]
--ipv6string IPv6 address for the host [conflicts with --ipv4]
--hostnamestring Hostname for the host
--resolver-ipsstring Comma-separated list of resolver IPs
--tunnel-idstring requiredUUID of the Cloudflare tunnel
--cert-verification-modestring TLS certificate verification mode for the connection to the origin
Global flags
--vboolean alias: --versionShow version number
--cwdstring Run as if Wrangler was started in the specified directory instead of the current working directory
--configstring alias: --cPath to Wrangler configuration file
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
--env-filestring Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
--experimental-provisionboolean aliases: --x-provisiondefault: trueExperimental: Enable automatic resource provisioning
--experimental-auto-createboolean alias: --x-auto-createdefault: trueAutomatically provision draft bindings with new resources
--install-skillsboolean default: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestring Use a specific auth profile
vpc service deleteDelete 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]string requiredThe ID of the service to delete
Global flags
--vboolean alias: --versionShow version number
--cwdstring Run as if Wrangler was started in the specified directory instead of the current working directory
--configstring alias: --cPath to Wrangler configuration file
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
--env-filestring Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
--experimental-provisionboolean aliases: --x-provisiondefault: trueExperimental: Enable automatic resource provisioning
--experimental-auto-createboolean alias: --x-auto-createdefault: trueAutomatically provision draft bindings with new resources
--install-skillsboolean default: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestring Use a specific auth profile
vpc service getGet 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]string requiredThe ID of the VPC service
Global flags
--vboolean alias: --versionShow version number
--cwdstring Run as if Wrangler was started in the specified directory instead of the current working directory
--configstring alias: --cPath to Wrangler configuration file
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
--env-filestring Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
--experimental-provisionboolean aliases: --x-provisiondefault: trueExperimental: Enable automatic resource provisioning
--experimental-auto-createboolean alias: --x-auto-createdefault: trueAutomatically provision draft bindings with new resources
--install-skillsboolean default: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestring Use a specific auth profile
vpc service listList VPC services
npx wrangler vpc service listyarn wrangler vpc service listpnpm wrangler vpc service listGlobal flags
--vboolean alias: --versionShow version number
--cwdstring Run as if Wrangler was started in the specified directory instead of the current working directory
--configstring alias: --cPath to Wrangler configuration file
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
--env-filestring Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
--experimental-provisionboolean aliases: --x-provisiondefault: trueExperimental: Enable automatic resource provisioning
--experimental-auto-createboolean alias: --x-auto-createdefault: trueAutomatically provision draft bindings with new resources
--install-skillsboolean default: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestring Use a specific auth profile
vpc service updateUpdate 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]string requiredThe ID of the VPC service to update
--namestring requiredThe name of the VPC service
--typestring requiredThe type of the VPC service
--tcp-portnumber TCP port number
--app-protocolstring Application protocol for the TCP service
--http-portnumber HTTP port (default: 80)
--https-portnumber HTTPS port number (default: 443)
--ipv4string IPv4 address for the host [conflicts with --ipv6]
--ipv6string IPv6 address for the host [conflicts with --ipv4]
--hostnamestring Hostname for the host
--resolver-ipsstring Comma-separated list of resolver IPs
--tunnel-idstring requiredUUID of the Cloudflare tunnel
--cert-verification-modestring TLS certificate verification mode for the connection to the origin
Global flags
--vboolean alias: --versionShow version number
--cwdstring Run as if Wrangler was started in the specified directory instead of the current working directory
--configstring alias: --cPath to Wrangler configuration file
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
--env-filestring Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
--experimental-provisionboolean aliases: --x-provisiondefault: trueExperimental: Enable automatic resource provisioning
--experimental-auto-createboolean alias: --x-auto-createdefault: trueAutomatically provision draft bindings with new resources
--install-skillsboolean default: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestring Use a specific auth profile
| Web Proxy Viewer | New URL | Original Page |