Interoperability with other storage providers

Cloud Storage is compatible with some other object storage platformsso you can seamlessly integrate data from different sources. This page describesCloud Storage tools you can use to manage your cross-platform objectdata.

XML API

The Cloud StorageXML API is interoperable with sometools and libraries that work with services such as Amazon Simple Storage Service (Amazon S3). To use these toolsand libraries with Cloud Storage, change therequest endpointthat the tool or library uses to the Cloud Storage URIhttps://storage.googleapis.com, and then configurethe tool or library to use your Cloud StorageHMAC keys. SeeSimple migration from Amazon Simple Storage Service (Amazon S3) for detailed instructions on getting started.

Authenticate with the V4 signing process

The V4 signing process lets you make signed header requests to theCloud Storage XML API. After creating a signature using the V4 signingprocess, you include the signature in theAuthorization header of a subsequentrequest, which provides authentication. You can create a signature using an RSAsignature or your Amazon S3 workflow and HMAC credentials. For more detailsabout authenticating requests, seeSignatures.

Google Cloud CLI

The gcloud CLI is the preferred command line tool for accessingCloud Storage. It also lets you access and work with other cloudstorage services that use HMAC authentication, like Amazon S3. After you addyour Amazon S3 credentials to ~/.aws/credentials, you can start usinggcloud storage commands to manage objects in your Amazon S3 buckets. Forexample:

  • The following command lists the objects in the Amazon S3 bucketmy-aws-bucket:

    gcloudstoragelss3://my-aws-bucket
  • The following command synchronizes data between an Amazon S3 bucket and aCloud Storage bucket:

    gcloudstoragersyncs3://my-aws-bucketgs://example-bucket--delete-unmatched-destination-objects--recursive

For more information, including details on how to optimize this synchronization,see thegcloud storage rsync documentation.

Invalid certificate from Amazon S3 bucket names containing dots

If you attempt to use the gcloud CLI to access an Amazon S3 bucketthat contains a dot in its name, you might receive aninvalid certificateerror. This is because Amazon S3 does not support virtual-hosted bucket URLswith dots in their name. When working with Amazon S3 resources, you canconfigure the gcloud CLI to attempt to use path-style bucket URLsby setting thestorage/s3_endpoint_url property to be the following:

storage/s3_endpoint_urlhttps://s3.REGION_CODE.amazonaws.com

WhereREGION_CODE is the region containing the bucketyou are requesting. For example,us-east-2.

You can modify thestorage/s3_endpoint_url property in one of the followingways:

Importing data with Storage Transfer Service

Storage Transfer Service lets you import large amounts of online data intoCloud Storage from Amazon S3 buckets, Microsoft Azure Blob Storage containers, and generalHTTP/HTTPS locations. Storage Transfer Service can be used to schedule recurringtransfers, delete source objects, and select which objects are transferred.

Additionally, if you use Amazon S3 Event Notifications, you can set upStorage Transfer Serviceevent-driven transfers to listen for suchnotifications and automatically keep a Cloud Storage bucketin sync with a Amazon S3 source.

What's next

Amazon Simple Storage Service and Amazon S3 are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.