The Google Cloud Storage XML API is interoperable with some cloud storage tools and libraries that work with services such as Amazon Simple Storage Service (Amazon S3) and Eucalyptus Systems, Inc. To use these tools and libraries, change the request endpoint (URI) that the tool or library uses so it points to the Google Cloud Storage URI, and configure the tool or library to use your Google Cloud Storage developer keys . For detailed instructions on migrating from Amazon S3 to Google Cloud Storage, see Migrating from Amazon S3 to Google Cloud Storage .
The
gsutil
tool lets you access Google Cloud Storage from the command
line. It can also be used to access and work with other cloud storage services that use
HMAC authentication, like Amazon S3. For example, after you specify your Amazon S3 credentials in the
configuration file for gsutil (see
Credential Types Supporting Various Use Cases
), you can start using gustil to manage
objects in your Amazon S3 buckets. The following command will list the objects in the Amazon
S3 bucket
my-bucket
:
gsutil ls s3://my-bucket
The following command will synchronize data between an Amazon S3 bucket and a Google Cloud Storage bucket:
gsutil rsync -d -r s3://my-s3-bucket gs://my-gcs-bucket
For more information, including details on how to set up gsutil to optimize this synchronization, see rsync .