Skip to main content

Creating Buckets

Creating Buckets

We will be creating two Google cloud buckets to interact with the TitanQ solver:

  • a source bucket
  • a destination bucket

All solver requests submitted to the TitanQ API will reference a pair of input files containing respectively a weights matrix and a bias vector. These two files will be stored in the source bucket, under your control.

When the request reaches the end of the queue and is submitted for solving, TitanQ will retrieve the two files.

Once the TitanQ solver finds a solution, the result vector and metrics file will be uploaded to your destination bucket.

BucketContents
source
  • weights matrix
  • bias vector
destination
  • results vector (result.npy)
  • metrics file (metrics.json)

Source bucket

Start by going to the Buckets management console

  1. Click on the hamburger menu
  2. Select Cloud Storage
  3. Select Buckets

menu_bucket.png

Select CREATE

create_bucket.png

In the Create a bucket dialog:

  1. Give the bucket a unique name (unique across all of Google Cloud)
tip

For a source bucket, a good choice might be companyname-projectname-sourcebucket

  1. Select CONTINUE

bucket_name.png

  1. Choose the location type
  2. Select CONTINUE

bucket_region.png

  1. Choose a storage class for your data (default settings are recommended)
  2. Select CONTINUE

bucket_storage.png

  1. Choose how to control the access of the objects inside the bucket (default settings are recommended)
  2. Select CONTINUE

bucket_access.png

  1. Choose hose to protect objects inside the bucket
  2. Select CREATE

bucket_protect_data.png

Destination bucket

Repeat the same step to create a second bucket to serve as destination.