- NAME
-
- gcloud alpha storage ftp servers create - create a new Cloud FTP server
- SYNOPSIS
-
-
gcloud alpha storage ftp servers createSERVER_ID--access-type=ACCESS_TYPE--location=LOCATION[--allowed-cidr-blocks=[CIDR_BLOCK,…]] [--consumer-accept-list=[PROJECT_ID=LIMIT,…]] [--consumer-reject-list=[PROJECT_ID,…]] [--display-name=DISPLAY_NAME] [--labels=[KEY=VALUE,…]] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)Create a new Cloud FTP server. - EXAMPLES
-
To create an EXTERNAL server
my-serverinus-west1, run:gcloud alpha storage ftp servers create my-server --location=us-west1 --access-type=EXTERNAL --allowed-cidr-blocks=0.0.0.0/0 - POSITIONAL ARGUMENTS
-
SERVER_ID- The ID of the FTP server to create.
- REQUIRED FLAGS
-
--access-type=ACCESS_TYPE-
The type of access for the server.
ACCESS_TYPEmust be one of:EXTERNAL,INTERNAL. --location=LOCATION- The region where the server will be created.
- OPTIONAL FLAGS
-
--allowed-cidr-blocks=[CIDR_BLOCK,…]- (Required for EXTERNAL servers) A comma-separated list of CIDR blocks allowed to connect.
--consumer-accept-list=[PROJECT_ID=LIMIT,…]- (Required for INTERNAL servers) A comma-separated list of projects allowed to connect via PSC.
--consumer-reject-list=[PROJECT_ID,…]- (For INTERNAL servers) A comma-separated list of projects denied connection via PSC.
--display-name=DISPLAY_NAME- An optional display name for the server.
--labels=[KEY=VALUE,…]-
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens (
-), underscores (_), lowercase characters, and numbers. Values must contain only hyphens (-), underscores (_), lowercase characters, and numbers.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
gcloud alpha storage ftp servers create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-26 UTC.