free Google Cloud Platform : While there are a lot of providers that offer smaller VPS you can test for free for a certain time range, there are not many that are permanently free. This article will focus on setting up an f1-micro VPS on Google Cloud Platform that is advertised as “always free”. Google offers a very broad range of possible VPS configurations and in contrast to other providers, the free tier is rather hidden in all the available options. This article will guide you through the setup process step by step.
When testing Google cloud computing for the first time you will currently also get a voucher that allows renting a wide range of non-free VPS configurations up to a total amount of 300$ in the first 12 months.
If you already have a valid account at Google Cloud Platform (either in test phase or upgraded) you can directly go to Set up an f1-micro instance. Otherwise, you first need to get a new test account.
Create a test account on Google Cloud Platform
Visit the Google cloud console (https://console.cloud.google.com/getting-started) and press Try For Free.
Fill out all necessary information on the displayed dialog. You will be required to enter valid credit card information. Google will not charge your credit card even if you use up all of the 300$ that is part of the test phase.
After entering all the required information, the free-trial phase is started.
The f1-micro VPS is part of Google’s “ always free ” products. If the 12 month test period has ended or if you used up all the credit of your voucher, you will not be able to use these free products anymore. In this case, you will have to upgrade your account, enabling Google to charge your credit card. However, the f1-micro VPS will still be free. Be aware that you might be credited in this case if you use more than the free network egress traffic of 1 GB per month (excluding Australia and China).
Set up an f1-micro instance
Although setting up an f1-micro VPS as shown in this article will not generate any cost for you, it could happen that due to some mos configuration you are actually using a non-free product.
I cannot take responsibility for any cost that might be generated on your account, especially when exceeding the allowed traffic volume of 1 GB per month. Be sure to use the correct configuration and check your balance repeatedly to avoid any unwanted charges!
Visit the compute engine section of the Google Cloud Platform (https://console.cloud.google.com/compute/) and create a new instance.
The next dialog will allow you to define the configuration of your VPS. You can also choose a much more powerful setup, but only the correct F1-micro settings will result in a free VPS.
Choose a meaningful name for your new VPS and select micro (1 shared CPU) as the machine type. Only instances located in certain US regions will be part of the “always free” deal. At the time of writing this included the regions us-central1 (Iowa), us-east1 (South Carolina) and us-west1 (Oregon).
Check the text next to your settings. It has to look like below and show a free usage time that is equivalent to the number of days in the current month times 24 hours (720 hours for November with 30 days).
Use the first option in the menu to open an ssh-shell in a new browser window to access the VPS.
I hope you liked this short article and now can start using your micro-VPS instance for a lot of cool stuff.
The Google Cloud Platform Free Tier offers:
- 12-month, $300 free trial. That is the amount of money Google gives for the 12-month trial period to developers who want to evaluate paid services;
- Always free products. From our perspective, this is the most exciting thing. It is possible to design architectures allowing particular projects to run perpetually for free. That requires a bit of Google Cloud skills and a proper mindset for a developer. However, it pays off well in a long-term perspective.
A $300 bonus is pretty cool, but you can spend it too quickly.The desirable goal is to build an architecture that uses free-tier products making the business consume no or limited resources for the infrastructure.
Which projects can be hosted on Google Cloud forever and totally for free?
Well, it depends on your team’s programming skills. Today, even the cheapest computer is powerful enough to do an immense amount of work. You only need to apply the most efficient way to use those resources. In 90% of all cases, you can easily explain enormous infrastructure bills by simple architecture or software development bugs.Google Cloud Platform engineers did an excellent charity job designing the Google Cloud Platform free tiers. With a skilled team having a good understanding of the platform, it is possible to host small and middle-sized projects totally for free.