Skip to main content

Store Files in Google Cloud Storage for 'Free'

My wife and I have a lot of photos and files. From digital books, newborns photos, to family videos and moments, everything is stored both at Google Drive and at my MBP SSD. I don't install the Google Drive app since we don't change the files a lot. My SSD is only 250 GB in size. Minus the OSX system, iMovie libraries, Xcode, and Age of Empires 2 HD, there is not much left for our photos and videos. I get 17 GB from Google Drive. That does not help much since we have way more than that to store.


The price of external storage is decreasing. But I believe that someday people will tend to save their files online using third-party services like Dropbox, iCloud, OneDrive, Google Drive or similar services. That is because of a faster internet connection, and also the cost per GB is much cheaper. Rather than buying the expensive 1 TB of storage, I love to wait until the price is drop. Also, you probably do not use 100% of the external storage capacity.

There are 2 main reasons why I love Google Cloud Storage. First, it is a product from Google. Second, you can use it 'free of charge'. Google Cloud Platform offers $300 credit to spend in 12 months. The focus of this article is how to use the credits into our free service of storage. Let's take a look at how we can optimize the $25 budget a month.

Pricing Components

Before we continue, we had to know the main components for the cost. Cloud Storage pricing is based on :

  1. Data storage: this is how much GB we use to store our data a month.
  2. Network usage: access and move the data will cost more.
  3. Operations usage: such as retrieving or list the files. An operation is an action that makes changes or retrieves information about a bucket or objects.
  4. Retrieval and early deletion fees: this section is only applicable for data in the Nearline Storage or Coldline Storage (more on that soon).

Bear in mind that after 12 months or the $300 credits is over, we can still use the GCP under the Google Cloud Platform Free Tier. Simply put, there will be no charge at all if you use the GCP services for regular usage. As for the Storage, the rules are:

  • 5 GB-months of regional storage
  • 5,000 class A operations, 50,000 class B operations
  • etc. (sorry, there is subject to change, please refer the FAQ on GCP websites)

Apply for Google Cloud Free Trial

You can apply for the free trial using this link: After sign in, you need to input your credit card details. Don't be worry, we will not be charged unless we allow Google to do so.

Activate Google Cloud Storage and Create a Bucket

After we have successfully applied to the free trial, we will start to create our very first "bucket". Think a bucket as a container to store and organize our data. Once a bucket is created, it can not be renamed. You need to use a globally unique name. The only way we can rename it is to delete and create the new one. We can also use our domain or website name such as For simplicity, we just want to use one and only one bucket.

create a bucket in google cloud storage

For storage class and location, I choose Coldline in Singapore, since it is the cheapest combination available.

The storage class circumscribes the usage and price of our bucket. "Coldline" means I will only use the bucket to back up my data and infrequently access it. For more details about the storage class (Standard, Nearline, or Coldline) comparison, refer to this page:

Simple Pricing Example

Let's assume that we have 1000 GB in size. We save it for 2 months and 10 days in Coldline storage class. Strorage charges are prorated.

$0.005(per GB per month) * 1000 (GB) * 70/60(months) = $11.667 (or about IDR 170,000)

Let's assume that we only use it normally, so we don't calculate the cost of operations, network usage, etc. It is dead cheap, compared to the new external storage.

And, that's pretty much it.

Now we can solely upload folders or files, create a folder, and manage everything just like other storage services. I hope this article gives you an idea to make something bigger than free storage.


Popular posts from this blog

About Prabowo Murti


Hello. My name is Prabowo Murti. This website is made to write all things about programming, business, religion (especially Islam), my family, minimalism, etc, basically anything that related to my journey in life. I will do my best to write all articles in English, not because I am good at it, but just for practice.

About Me I obtained my bachelor's degree in Computer Science from Gadjah Mada University. I love to read and write. I was born in a small town named Kubu Raya, in West Kalimantan. Now I live in Tangerang, Banten. Let's say I am proud to be a muslim and an Indonesian.

I believe that we can make this world a better place to live by our writings.

If you have any question, feel free to ask by writing an email to prabowo.murti at Gmail or submit your comment (at the end of each article). I also have some digital footprints elsewhere.

Muhajirin Dotnet It is a small company I built from 2008. It also has a subdomain named Blog Belajar Bisnis, captur…

Learn Nested Set on Yii2 Framework

The nested set behaviour is an approach to store hierarchical data in relational databases. For example, if we have many categories for our product or items. One category can be a "parent" for other categories, means that one category consists of more than one category. The model can be drawn using a "tree" model. There are other approaches available but what we will learn in this article is specifically the NestedSetsBehavior made by  Alexander Kochetov, which utilizing the Modified Preorder Tree Traversal algorithm.

Install Yii2 framework advanced template
My assumption is that we have our standard installation of Yii2 framework advanced template. You can read more about advanced template from the repository page on Github: Make sure that our installation is working by calling the default URL localhost:8080 after running the following command

$ ./yii serve --docroot="backend/web"

We also need to make sure tha…

Improving Our Ignoring Skills

We live in a world full of information. Unfortunately, most of them are junk. As what Daniel Pink said on his book, "A Whole New Mind: Why Right-Brainers will Rule the World", abundance is one the three forces which changes our era to what he called "Conceptual Age". All people around the globe get wealthier, have more materials, buy more stuff, but not fulfilment. Looks rich from the outside, but not happier.
We need to differ the one which useful and the ones which don’t deserve our attention. Most of us nowadays are already aware of advertisement that pops up or shown at the sidebar. We already know that ads should be blocked using Chrome extensions such as AdBlock or any other similar stuff. Our unconscious mind tells us about how to not stare at the sales person’s eyes, how not to give a $hit. The small man that lays inside our head makes us reject the phone call from a number prefixed by 021-555 or any other similar phone number because we have a strong feel…