Storage

Kickstart utilizes the storage for storing user avatar image files. You expand it to store more file types as you like.

Create storage

Click Next

Click Done to create bucket

CORS Configuration

To download data directly in the browser, you must configure your Cloud Storage bucket for cross-origin access (CORS). This can be done with the gsutil command line tool, which you can install from here.

If you don't want any domain-based restrictions (the most common scenario), copy this JSON to a file named cors.json:

[
  {
    "origin": ["*"],
    "method": ["GET"],
    "maxAgeSeconds": 3600
  }
]

Run the following command to deploy these restrictions.

gsutil cors set cors.json gs://<your-cloud-storage-bucket>

Repeat the same steps to create storage for the production environment.