Google Cloud Storage

Note

You can use any photo hosting service to add a small number of images, such as wampi, imgbb, ImageShack, or imgur. This way you can quickly get direct links to your images to add them to the task file or instructions.

To try out Google Cloud Storage, you can activate Free trial.

Trial terms

LengthFree storage sizeGrant amount
90 days5 GB$300

Steps to follow

To get links to files:

  1. Create a Google account.
  2. Create a Google Cloud account.
  3. Go to the Console.
  4. Click Create project.
  5. Enter the project name. Select the organization from the drop-down list and click Create.
  6. Create a bucket.
  7. Upload files.
  8. Copy links.

Create a bucket

  1. Select a project and click Create bucket.

  2. Enter the bucket name. The name should be unique and contain only lower-case Latin letters, numbers, hyphens, and underscores.

    Learn more about the Bucket naming rules.

  3. In Choose where to store your data select Location type → Region and select the region closest to your Tolokers. For example, for Tolokers from Germany: Location → europe-west3 (Frankfurt).

  4. Leave the Choose a default storage class for your data section unchanged.

  5. In Choose how to control access to objects, disable the option Enforce public access prevention on this bucket.

  6. Click Create.

  7. To make objects accessible by link, on the Permissions tab click Add.

    Note

    Files will be accessible to anyone with a link. We recommend using hashed file names to keep your files secure. You can generate hashes using online tools (for example, Online MD5 Hash Generator). Learn more about hashing.

  8. In the New members field, enter allUsers.

  9. Select Cloud Storage → Storage Object Viewer.

  10. Click Save → Allow public access.

Note

You can set the lifetime of files in the bucket so that they are automatically deleted after a specified number of days. Learn more.

Upload files

Upload files
Upload a folder with files
Create a folder
Note

All spaces and symbols in the file names will be replaced with codes.

Copy links

  1. Choose the file you uploaded and click Copy URL in the Public access column.

  2. All file links are created by the same template.

    Links look like this:

    https://storage.googleapis.com/<bucket>/<file-name>

    The link in the folder looks like this:

    https://storage.googleapis.com/<bucket>/<file-path>/<file-name>
    Note

    To quickly get links to other files, copy the link to one of them and replace <file-name> with the names of other files.

  3. In the file with tasks, paste the links in the column that matches the input data field to which this data is passed.

    For example, if you want to use images in the image field, specify the file links in the INPUT:image column:

    INPUT:image
    https://storage.googleapis.com/mytolokabucket/newfolder/image1.png
    https://storage.googleapis.com/mytolokabucket/newfolder/image2.png

See also

Contact support

Last updated: February 15, 2023

Introduction
Getting started
Important tips
Useful recommendations
Working with Toloka
Projects
Pools
Tasks
Results
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
FAQTroubleshootingSupportGlossary