SingleStore DB

Part 1: Creating a GCS Bucket and Adding a File

The first part of this Quickstart involves creating a new bucket in your GCS account, and then adding a simple file into the bucket. You can create a new bucket using a few different methods, but the following steps use the browser-based GCS Management Console.

Note: The following steps assume that you have previous experience with Google Cloud Storage. If you are unfamiliar with this service, see the Google Cloud Storage Documentation.

  1. On your local machine, create a text file with the following CSV contents and name it books.txt:

    The Catcher in the Rye, J.D. Salinger, 1945
    Pride and Prejudice, Jane Austen, 1813
    Of Mice and Men, John Steinbeck, 1937
    Frankenstein, Mary Shelley, 1818
    
  2. Open the Cloud Storage browser in the Google Cloud Console.

  3. Click Create Bucket to open the bucket creation form.

  4. Enter your bucket information and click Continue to complete each step:

    1. Specify a Name, subject to the bucket name requirements.

    2. Select a Default storage class for the bucket. The default storage class will be assigned by default to all objects uploaded to the bucket.

    3. Next, select a location where the bucket data will be permanently stored.

    4. Select an Access control model to determine how you control access to the bucket’s objects. Create an HMAC key for authentication (SingleStore pipelines only support HMAC keys).

    5. Click Done.

  5. To upload a file, click on the name of the bucket that you want to upload an object to.

  6. In the Objects tab for the bucket, either:

    1. Drag and drop the desired files from your desktop or file manager to the main pane in the Cloud Console.

    2. Click the Upload Files button, select the files you want to upload in the dialog that appears, and click Open.