The first thing to distinguish is Function as a Service (FAAS) is only one type of serverless offering, Amazon S3 is a backend as a service and it is also a serverless offering. No need to learn a new framework/paradigm # In my opinion, the following are some more compelling reasons to use serverless containers on Google Cloud Run: 1. Reasons to use serverless containers #Īs Cloud run is serverless you already have the advantages of a Serverless offering. With the amazing and generous pricing of Google Cloud Run the app runs almost free of cost. Of course, it runs on serverless containers. If you have more questions about this app comment below are contact me over email. This small app is hosted on Google Cloud Run and I am paying under $0.10 a month but bear in mind the requests are pretty heavy as it has to scrape and extract out news headlines then save it into a database. It collects the news from either RSS or scrapes the headlines where RSS is not provided.Ĭurrently running with a cron(ish) setup the app gets ~1 request per minute including collection and posting to Twitter. This is a relatively simple project, it gets news about Nepal in the English language from 14 sources (both local Nepalese media and international media). That project was Nepal_News_En twitter account. After that half failed, a somewhat successful project I tried Google Cloud Run for another personal side project. Hopefully, after the above story, you want to read more about why should you invest time in learning and using Google Cloud Run. I have also done a talk on Serverless Containers on Google Cloud run. If you liked my story, in addition to the official guides/videos do have a look at the unofficial Cloud Run FAQ and the awesome Cloud Run repos on Github. That just blew my mind and I instantly became a Google Cloud Run Fan. To my delightful surprise, I could get a working serverless HTTPs URL for the same app in like 30 mins. It promised HTTPs URLs for any container with a web server running on port 8080. Then in mid-Apr 2019, I read news about Google Cloud Run being available. To my surprise, it took us like 2 days worth of work just to get a working URL for that API.įast forward 2 months, the project didn’t really go as planned and the k8s cluster was stopped in Feb 2019. As the app’s backend API was already containerized and GKE was managed K8s I thought getting a running URL would not take long. I wanted to learn how to set up a Google Kubernetes Engine ( GKE) Kubernetes cluster, so I teamed up with another DevOps Engineer and started to configure a Kubernetes cluster. If you can dockerize your app, you can run it in a serverless way on Cloud Run on serverless containers. Running serverless containers on Cloud Run is very easy. In my opinion, Google Cloud Run actually brings serverless containers to the masses. I don’t think they are as good and as software engineer friendly as Cloud Run. There are other Serverless container offerings like AWS Fargate and Azure Containers. For this project, we started using Google Cloud Platform, why? Because you get $300 free credit for a year :) simple. I was mentoring them, guiding them to have a real-world project they could include in their resumes. How I ran into Google Cloud Run #Ī year back I was helping some master's students here in Sydney with a side project. In this post, later we will into how Cloud Run manages these two issues. It is very clear that Cold Starts and Vendor Lock-in are the two big ones. Below is a summary of the results as presented at a conference in 2019. A developer advocate at Google Cloud did a survey about Serverless pain points. Serverless pain points #įunction as a service (FAAS) has lots of advantages, still, there are some pain points too. In addition to these awesome reasons, this post discusses 5 more compelling reasons to use serverless containers on Google Cloud Run for your next project. Being serverless, there are no servers for you to manage. It has a fully managed serverless version, which gives software scalability, high availability, and cost based on precise usage. Google Cloud Run makes deploying serverless containers a breeze.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |