aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • Platforms
  • Tools

GCP Cloud Storage: How To Create A Bucket And Upload Objects

  • root
  • November 18, 2020
  • 5 minute read

This guide will walk you through one of the storage solutions available in Google Cloud Platform, the Cloud Storage. It is a good option when you need to store large volumes of data and you don’t need to have fine-grained access to the files while it is stored. You will be able to create a bucket, a sort of like namespace or directory where objects will be saved. And also to upload files to the bucket.

1. Login in to the Google Cloud Platform console. If you don’t have any account yet, follow the steps here on How To Create a Google Cloud Platform account.


Partner with aster.cloud
for your next big idea.
Let us know here.



From our partners:

CITI.IO :: Business. Institutions. Society. Global Political Economy.
CYBERPOGO.COM :: For the Arts, Sciences, and Technology.
DADAHACKS.COM :: Parenting For The Rest Of Us.
ZEDISTA.COM :: Entertainment. Sports. Culture. Escape.
TAKUMAKU.COM :: For The Hearth And Home.
ASTER.CLOUD :: From The Cloud And Beyond.
LIWAIWAI.COM :: Intelligence, Inside and Outside.
GLOBALCLOUDPLATFORMS.COM :: For The World's Computing Needs.
FIREGULAMAN.COM :: For The Fire In The Belly Of The Coder.
ASTERCASTER.COM :: Supra Astra. Beyond The Stars.
BARTDAY.COM :: Prosperity For Everyone.

 

Creating the Bucket

2. Once authenticated, you will be shown the Dashboard. Click on the hamburger icon on the top-left to open the navigation menu. Select Storage under the Storage section. 

 

3. You will be taken to the Storage browser where it will list all the buckets you currently manage.

 

4. Click on the “Create Bucket”. The “Create a bucket” form will be shown. The first one is the name of your bucket. The bucket will contain the files you will upload later. 

A bucket is synonymous to the following words: can and canister. Its objective is to contain things. In this case it will be objects or files.

The name of the bucket must be unique globally. This means that bucket name is not existing yet in your list of buckets and any other buckets created by other users of Google Cloud Platform. In the image below we try the “example” bucket name, but is already existing, and therefore not allowed.

 

If the bucket name does not exist yet, click on the “Continue” button. In this guide we are using “aster-geek” as the name, which you should not anymore use since this guide will have created it.

Read More  Key Customer Benefits Of The Microsoft And MongoDB Expanded Partnership

 

 

5. In the next section, you need to select the Location where the bucket will be created. The location has an effect with cost, performance and availability. Depending on the location it will have the following effects

  • The cost will be different. Different regions have different storage cost
  • Performance will be greater if the bucket location and the user or service that will access it is near the selected location.
  • Availability depends on the state of the country. If due to some disasters (man-made and/or environmental) the data centers and the services might be unavailable. 

The location type can be selected from one of the following

  • Region. The bucket and objects will be stored in one region. Regional buckets are redundant across zones. 
  • Dual-Region. The bucket will be stored in 2 regions. An example is North America Iowa and South Carolina. 
  • Multi-Region. The GCP will create the bucket into multiple regions. This provides more than 99.99 percent availability service level agreement (SLA).

See the example below when we change the region from Singapore (asia-southeast1) and Mumbai(asia-south1). The storage cost is different when compared. To view the complete list of locations see here. 

Singapore region selected.

Mumbai region selected.

In this example we are using “Region” for the Location type and “asia-southeast1” or Singapore. Then select the “Continue” button.

 

6. Next is the selection of the “Storage Class”. Depending on your use case you may choose from the following values.

  • Standard. Choose this if your data is actively used. Sample use case is for objects that are shared across applications. Like a web or mobile application that retrieves images from the cloud.
  • Nearline. For infrequently accessed data, like once a month. For older data like data lakes and backups.
  • Coldline. Also for infrequently accessed data less than once a quarter. 
  • Archive. For long-term data that is accessed less than once a year. Used for document retention and compliance.
Read More  Google Cloud Next 2019 | Democratizing AI For Industrial Applications

Some general notes when choosing the Storage Class.

Standard -> Nearline -> Coldline -> Archive

As you go from Standard to Archive, the storage cost decreases and the access cost increases. 

In this example we are using “Standard”. Then select the “Continue” button.

 

7. Next is the access control, which will determine the permission for the objects. It has the following options:

  • Fine-grained. Selecting this option will have specific control on individual objects, as object-level permissions. If you select this and you set permissions for the bucket, you can override the object level permissions.
  • Uniform. The select access control will be applied to every object in the bucket.

In this example we are using “Fine-grained” as we will be applying different levels of permissions on other objects within the bucket.

Click on the “Continue” button to proceed.

 

8. The last section is the Encryption. For simplicity we will be choosing “Google-managed key”. The “Customer-managed key” requires configuration of a separate key. The “Google-managed key” leaves the creation and storing of the keys to GCP.

 

The retention policy can be used if you want to protect and prevent deletion of objects before a certain period of time has elapsed. In this example we are not enabling it.

 

 

You can configure labels as additional tags or identifiers. In this example we are adding a single label with a key of “environment” and value of “development”. This denotes that we are using it for our development environment.

 

 

9. Review the previously entered details and click on the “Create” button.

Read More  Google Cloud Migration Made Easy

 

10. Wait for a short while and you will be shown the bucket view for the newly created bucket.

 

Uploading an object or file

11. Once the bucket has been created, you can upload files in the bucket details page. This can be accessed from the Storage browser page and selecting the bucket. 

   

12. Select the bucket and you will see the folder and files (objects) in the bucket.

 

13. There are different ways to add files to the bucket.

  • Upload single files from your local machine using the “Upload files” button
  • Upload a folder and all the contents using the “Upload folder’
  • Drag and drop files 

In this example we will be uploading a single file. Select the “Upload files” button. From your local machine select the file you want to add to the bucket.

 

A message will appear on the lower-right corner of the page that shows the progress of the upload. Then the file will appear under the bucket.

 

 

14. Congratulations. You now have created a bucket and added a file in it.

Click here to Cloud Storage – GCP – Storage – Reading the bucket and object to get to the next section, which will guide you through reading the file and retrieve other info.


For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!

Our humans need coffee too! Your support is highly appreciated, thank you!

root

Related Topics
  • Buckets
  • GCP
  • Google Cloud Platform
  • Storage
  • Uploading objects
You May Also Like
Google Cloud and Smart Communications
View Post
  • Platforms
  • Technology

Smart Communications, Inc. Dials into Google Cloud AI to Help Personalize Digital Services for Filipinos

  • October 25, 2024
zedreviews-Apple-iPhone-16-Pro-finish-lineup-240909
View Post
  • Featured
  • Gears
  • Tech
  • Technology
  • Tools

Apple debuts iPhone 16 Pro and iPhone 16 Pro Max

  • September 10, 2024
zedreviews-Apple-AirPods-Active-Noise-Cancellation-240909
View Post
  • Featured
  • Gears
  • Tech
  • Technology
  • Tools

Apple introduces AirPods 4 and the world’s first all-in-one hearing health experience with AirPods Pro 2

  • September 10, 2024
View Post
  • Platforms
  • Public Cloud

Empowering builders with the new AWS Asia Pacific (Malaysia) Region

  • August 30, 2024
Red Hat and Globe Telecoms
View Post
  • Platforms
  • Technology

Globe Collaborates with Red Hat Open Innovation Labs to Modernize IT Infrastructure for Greater Agility and Scalability

  • August 19, 2024
Huawei Cloud Cairo Region Goes Live
View Post
  • Cloud-Native
  • Computing
  • Platforms

Huawei Cloud Goes Live in Egypt

  • May 24, 2024
Asteroid
View Post
  • Computing
  • Platforms
  • Technology

Asteroid Institute And Google Cloud Identify 27,500 New Asteroids, Revolutionizing Minor Planet Discovery With Cloud Technology

  • April 30, 2024
IBM
View Post
  • Hybrid Cloud
  • Platforms

IBM To Acquire HashiCorp, Inc. Creating A Comprehensive End-to-End Hybrid Cloud Platform

  • April 24, 2024

Stay Connected!
LATEST
  • college-of-cardinals-2025 1
    The Definitive Who’s Who of the 2025 Papal Conclave
    • May 7, 2025
  • conclave-poster-black-smoke 2
    The World Is Revalidating Itself
    • May 6, 2025
  • 3
    Conclave: How A New Pope Is Chosen
    • April 25, 2025
  • Getting things done makes her feel amazing 4
    Nurturing Minds in the Digital Revolution
    • April 25, 2025
  • 5
    AI is automating our jobs – but values need to change if we are to be liberated by it
    • April 17, 2025
  • 6
    Canonical Releases Ubuntu 25.04 Plucky Puffin
    • April 17, 2025
  • 7
    United States Army Enterprise Cloud Management Agency Expands its Oracle Defense Cloud Services
    • April 15, 2025
  • 8
    Tokyo Electron and IBM Renew Collaboration for Advanced Semiconductor Technology
    • April 2, 2025
  • 9
    IBM Accelerates Momentum in the as a Service Space with Growing Portfolio of Tools Simplifying Infrastructure Management
    • March 27, 2025
  • 10
    Tariffs, Trump, and Other Things That Start With T – They’re Not The Problem, It’s How We Use Them
    • March 25, 2025
about
Hello World!

We are aster.cloud. We’re created by programmers for programmers.

Our site aims to provide guides, programming tips, reviews, and interesting materials for tech people and those who want to learn in general.

We would like to hear from you.

If you have any feedback, enquiries, or sponsorship request, kindly reach out to us at:

[email protected]
Most Popular
  • 1
    IBM contributes key open-source projects to Linux Foundation to advance AI community participation
    • March 22, 2025
  • 2
    Co-op mode: New partners driving the future of gaming with AI
    • March 22, 2025
  • 3
    Mitsubishi Motors Canada Launches AI-Powered “Intelligent Companion” to Transform the 2025 Outlander Buying Experience
    • March 10, 2025
  • PiPiPi 4
    The Unexpected Pi-Fect Deals This March 14
    • March 13, 2025
  • Nintendo Switch Deals on Amazon 5
    10 Physical Nintendo Switch Game Deals on MAR10 Day!
    • March 9, 2025
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.