Hide
Cloud Storage

Activate Google Cloud Storage

To store data in Google Cloud Storage, you must enable the API in your Google Developers Console account. This process is called activating.

Google Cloud Storage enables application developers to store their data on Google’s infrastructure with very high reliability, performance and availability. If you're looking to store personal data to be viewed and managed by end users, consider using Google Drive instead. Or, if you are an application developer who wants to integrate with Google Drive, you can do so using the Google Drive SDK. For more information about the differences between Google Cloud Storage and Google Drive, see the FAQ.

Contents

  1. Deciding if you need to activate Google Cloud Storage
  2. How to activate Google Cloud Storage

Deciding if you need to activate Google Cloud Storage

Depending on your use case, you may not need to activate Google Cloud Storage to use it. Review the following use cases to determine if you need to activate Google Cloud Storage.

Activate if you want to:

Create buckets, add objects, and control who can access your data.

You do not need to activate if you want to:
  • Access publicly-accessible data.

    You can access publicly-accessible data without activating the Google Cloud Storage service. You can use the gsutil tool to access or download the data without a Google Cloud Storage or Google account.

  • Read and write to a bucket to which you have been granted access.

    In this use case, another individual has already set up a Google Cloud Storage project and added you as a project team member, or has added you to the ACLs of a bucket or object. When you are granted access in this way, you do not need to activate the Google Cloud Storage service to access the data. You can use the gsutil tool to set up your credentials for Google Cloud Storage using your Google account and read or write that data.

    For information about adding project team member, see Adding a member to a project.

How to activate Google Cloud Storage for a project

You activate the Google Cloud Storage service on a project-by-project basis. For newly created projects, the Google Cloud Storage is activated automatically.

To activate Google Cloud Storage:

  1. Go to the Google Developers Console.

    If you are not already signed into Google, you are prompted to sign in.

  2. Select or create a project.

    If you have multiple projects, make sure that you are in the project for which you want to activate Google Cloud Storage and click Continue. Or, if you do not have a project, select Create a new project and click Create.

  3. In the Google Cloud Storage component overview, click Enable API.

    Note that for most projects, the Google Cloud Storage component is already turned on and you will see Disable API.

  4. Enable billing for the project.

    Before you can use Google Cloud Storage, you need to enable billing for your project if you haven't already done so.

    1. Go to the billing page for the project you selected or created above.
    2. Click Enable billing.

    Enabling billing does not necessarily mean you will be charged. See Pricing for more information.

Here are some exercises to help you get started with Google Cloud Storage: