<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Yaron Hollander on Medium]]></title>
        <description><![CDATA[Stories by Yaron Hollander on Medium]]></description>
        <link>https://medium.com/@hello_92179?source=rss-b198a1d3fc4d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*cTPIkB9GMtJxBe7T1u8Ivg.png</url>
            <title>Stories by Yaron Hollander on Medium</title>
            <link>https://medium.com/@hello_92179?source=rss-b198a1d3fc4d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 13:33:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hello_92179/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Another cheat sheet: 18 load balancing options on GCP]]></title>
            <link>https://medium.com/swlh/another-cheat-sheet-18-load-balancing-options-on-gcp-bca9befbf010?source=rss-b198a1d3fc4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/bca9befbf010</guid>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[load-balancing]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Yaron Hollander]]></dc:creator>
            <pubDate>Tue, 05 May 2020 00:37:53 GMT</pubDate>
            <atom:updated>2020-05-05T13:48:16.565Z</atom:updated>
            <content:encoded><![CDATA[<p>Like my <a href="https://medium.com/@hello_92179">two previous posts</a>, this one contains yet another cheat sheet for Google Cloud Platform (GCP) architects. And like the previous ones, I re-use here bits of the concise overview of GCP from my book, “The Professional Cloud Architect’s Big Fact Sheet”. You can read more about the book at <a href="http://economo.tech/"><em>economo.tech</em></a><em>. </em>I’ll focus this time on choosing the right approach to <strong>load balancing</strong>.</p><p>Load balancing has an important role in ensuring the high availability and scalability of your system. Load balancing is about distributing incoming requests across your resources so that the whole thing works in a reliable way and doesn’t get overwhelmed by traffic.</p><p>There are systems with and without load balancing, and when it’s “with”, it can be done in different ways. In GCP, under the title Cloud Load Balancing (<strong>CLB</strong>), Google offer several different services that implements the “anycast” routing concept: a single IP address lets users access multiple “backend” destinations, automatically selecting the right one. The right one could be the one with most capacity, or closest to the user, or other options based on the <strong>balancing mode</strong>. CLB will decide how to split traffic after it has done a <strong>health check</strong> of the available resources. CLB lets you choose whether you’d like a load balancer that acts as “reverse proxy”, hiding the users and the backend from each other. I’ve listed all the important facts about all of these in the book.</p><p>In this post I actually want to highlight a different point: GCP offers a lot of load balancing also when it doesn’t use the CLB title. Depending on what your system needs, a similar balance of the load can sometimes be achieved in a simpler way than what CLB offers, or sometimes, using GCP services that have different names for things. In an exam, interview or a conversation at work, a discussion about having to balance incoming requests shouldn’t always lead you to choosing CLB; there are alternatives which might meet your requirements more economically.</p><p>The table later in this post reviews 18 different GCP services or features that may, in some situations, give you the load balancing you need. I’ve used the same funny faces as in my <a href="https://medium.com/@hello_92179/my-cheat-sheet-for-choosing-the-right-database-on-gcp-d0f3fe8c2360">database choice cheat sheet</a>. The green smiley faces in the table mean “yes” or “comprehensive”. The red sad faces mean “no” or “very limited”, and the amber ones are somewhere in the middle. Note that even though the red face means that the GCP service (the row) doesn’t support a certain feature (the column), this isn’t always a bad thing because sometimes you don’t need this feature.</p><p>Let me explain what each column in the cheat sheet is for.</p><ul><li>“<strong>Can spread load across healthy instances</strong>”. This column simply indicates whether this service performs this basic function of load balancing.</li><li>“<strong>Can spread load across VMs</strong>”. This column clarifies whether a “yes” in the first column applies to resources that sit in their own virtual machines. Often these VMs are added to an “instance group” that gets connected to the load balancer.</li><li>“<strong>Can spread load across services</strong>”. By “services” here I mainly refer to services that run in containers. So this column clarifies whether a “yes” in the first column applies to containerised services. Often these services are defined as a “network endpoint group” that gets connected to the load balancer.</li><li>“<strong>Auto-scaling</strong>”. I know, auto-scaling isn’t the same as load balancing; it’s about the ability of your solution to grow or shrink based on demand. Still, there are cases when you’re asked to ensure that your backend resources have the availability needed to serve all the requests in a balanced way, and you can achieve this by auto-scaling alone. Also, many services combine load balancing with auto-scaling.</li><li>“<strong>Session affinity</strong>”. When a client sends multiple requests to a server as part of one session, the “affinity” is the ability of the load balancer to send the later requests to the same backend that the client has already started talking to. This is important if earlier in the session the backend stored some parameters for this client. On the other hand, if requests remain “loyal” to the backend they already spoke you, then less load balancing actually takes place.</li><li>“<strong>Content-based</strong>”. This is when the load balancer can examine the request and decide where it needs to go, for example based on the path info in the URL. Since such load balancers aren’t blind, you can use one load balancer for multiple services, each one with its own set of backends.</li><li>“<strong>Global</strong>”. Some load balancing options allow you to balance the load across resources in different regions, so that users can send requests to your system in a single universal way.</li></ul><p>There are many facts behind this cheat sheet, all of which are explained in more detail in the <a href="http://economo.tech/">book</a>, but I’d like to point out that it’s also largely based on my own judgement, and you might have a different opinion on some things. For example, I’ve given Cloud Pub/Sub a green face in the “content-based” column, because you can control the distribution of messages by the way you create topics. It’s a different approach from having a URL map in a CLB, but in my opinion it’s still a powerful content-based load balancing approach. See also the points below (after the table) about why I chose an “amber” face in some places.</p><p>There’s a small number of empty cells in the cheat sheet — they are for cases where the infrastructure is all handled for you, so you don’t need to worry about whether it’s a VM or a container.</p><p>The acronym GKE means “Google Kubernetes Engine”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OkYEF0wdZ_zUm6i9ALBLig.png" /><figcaption>18 GCP services with load balancing features</figcaption></figure><p>In case you’re curious what was my thinking behind the “amber” faces, here are a few examples of how I got there.</p><ul><li>I gave Pub/Sub an amber for spreading the load because it ensures the load of messages is distributed well between data centres, but distribution to the final destinations depends on your Pub/Sub topics and on the subscriber systems you set up at these destinations.</li><li>I gave Cloud Tasks am amber for spreading the load and auto-scaling because it doesn’t exactly spread and scale; if it can’t handle the workload now, it puts the task in a queue and runs it when it can, which can be a legitimate alternative to classical load balancing in some situations.</li><li>I gave the GKE cluster auto-scaler an amber for session affinity because GKE apps are generally happier when you use them for stateless systems that don’t rely on sessions.</li><li>The amber for the TCP proxy is because it sends all requests from the same client to the same backend, which is more crude than session affinity.</li><li>The TCP/UDP load balancers aren’t fully content-based, but you can include multiple instance groups in a target pool and multiple forwarding rules.</li><li>I gave the external TCP/UDP load balancer an amber for balancing the load because it relies on a legacy method, unlike most other load balancers.</li><li>I gave Istio and Anthos an amber in the VM column because you can probably somehow use VMs, but you’d typically use these with micro-services.</li></ul><p>I hope this sheet doesn’t throw you off balance... If it does, consider using one of these 18 load balancing options.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bca9befbf010" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/another-cheat-sheet-18-load-balancing-options-on-gcp-bca9befbf010">Another cheat sheet: 18 load balancing options on GCP</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My cheat sheet for protecting your GCP resources]]></title>
            <link>https://medium.com/@hello_92179/my-cheat-sheet-for-protecting-your-gcp-resources-1493575c48dc?source=rss-b198a1d3fc4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1493575c48dc</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[gcp-certification]]></category>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[identity-management]]></category>
            <dc:creator><![CDATA[Yaron Hollander]]></dc:creator>
            <pubDate>Sat, 25 Apr 2020 23:11:59 GMT</pubDate>
            <atom:updated>2020-04-26T09:48:12.096Z</atom:updated>
            <content:encoded><![CDATA[<p>There are lots of great sources of info to use when you design solutions in the Google Cloud Platform (GCP). But there are some things I needed and couldn’t find anywhere, so I’ve created my own. This post is about another one of these. It is based on the chapter about <strong>security</strong> <strong>services</strong> in my book, “The Professional Cloud Architect’s Big Fact Sheet”. You can read more about the book at <a href="http://economo.tech/"><em>economo.tech</em></a><em>.</em></p><p>Every solution in GCP needs various layers of defence to protect it from the bad guys out there. To create the first concept of your solution, you sometimes want to go through the main protection methods that are built into GCP, just to look at your options, without getting yet into the detail.</p><p>The different GCP features you use for security aren’t necessarily listed as “security services” in Google’s formal documentation. Some of them hide under “networking”, “storage”, “containers” and so on. But they are still there to add layers of security around your cloud resources.</p><p>So the “cheat sheet” below is the one I use as a check list when thinking about security at the solution concept stage. I also used it for revision before the GCP architecture exam. It’s quite a modest sheet: it only says the absolute minimum about every service, as a reminder of what it can help you protect. I’ve somehow managed to list 40 different GCP services or features that provide a security function.</p><p>In the cheat sheet I’ve kept the colour coding I use in the book, which splits the GCP services into 10 areas (only 7 of them are in this table). If you read the book then it includes a list of facts about each one of the 40 services and features listed here. If you know these GCP features already, or if you learn about them from other sources, then you may find this cheat sheet helpful as a stand-alone checklist.</p><p>Here it is!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ewCo1nh21KG56bO8RZB13A.png" /><figcaption>My cheat sheet for protecting your GCP resources</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1493575c48dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My cheat sheet for choosing the right database on GCP]]></title>
            <link>https://medium.com/@hello_92179/my-cheat-sheet-for-choosing-the-right-database-on-gcp-d0f3fe8c2360?source=rss-b198a1d3fc4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0f3fe8c2360</guid>
            <category><![CDATA[cloud-sql]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[big-table]]></category>
            <category><![CDATA[bigquery]]></category>
            <category><![CDATA[gcp]]></category>
            <dc:creator><![CDATA[Yaron Hollander]]></dc:creator>
            <pubDate>Sun, 19 Apr 2020 15:05:03 GMT</pubDate>
            <atom:updated>2020-05-05T19:57:57.536Z</atom:updated>
            <content:encoded><![CDATA[<h3>16 criteria for choosing a database on GCP</h3><p>In this post I’ll share with you my “cheat sheet” for comparing the different database options on the Google Cloud Platform (GCP). This sheet is included in chapter 6 of my book, “The Professional Cloud Architect’s Big Fact Sheet”, which is a fact list for use by GCP architects or those preparing for a GCP architecture exam. You can read more about the book at <a href="http://economo.tech/"><em>economo.tech</em></a><em>.</em></p><p>As a GCP architect, sooner or later, you’ll have to choose between the different GCP database options. My cheat sheet for use in such situations is all in one table, which you can see below. The table summarises the different features of seven database technologies that GCP offers. Note that this one is only about proper databases; other storage solutions, and other data services, are for a separate sheet (or you can check out chapters 5 and 7 in my book).</p><p>Each row in the cheat sheet looks at one aspect of working with a database. If you’re an experienced database engineer or architect then you’ll know these criteria quite well from work with other databases. (Or, if you’re not sure, I do go through them one-by-one in the book.)</p><p>The green smiley faces in the table mean “yes” or “comprehensive”. The red sad faces mean “no” or “very limited”, and the amber ones are somewhere in the middle. Places where there’s no face indicate that the topic is not relevant to the specific database.</p><p>In many places, a red face indicates a disadvantage of this option, but not always. For example, some of the database options don’t support column-based storage, but that’s because they follow a different concept, and it’s not necessarily a weakness. So a “no” here doesn’t mean it’s a bad thing.</p><p>Every face shown in the cheat sheet summarises a lot of detailed info, which you can find in the GCP formal documentation or other sources, including (as a very concise list of facts) in chapter 6 of my book. It’s important to note that this table isn’t exactly a standalone tool, because the topics it covers are complex, and some aspects are too subtle to be simply summarised as red, amber or green. I hope the table can help you remember the details (it has definitely helped me!) because it’s the details, rather than the funny faces, that really matter.</p><p>Some rows of the cheat sheet deal with factual info. For example, there’s no room for doubt regarding whether or not a database is NoSQL. But other rows are a matter of professional judgement, and you might have a different opinion from mine on these topics.</p><p>In the “analytics” row (*), Spanner and BigQuery are green because they support complex joins and very large datasets. Firebase doesn’t support such joins but I still gave it a smiley face because it allows multiple indexes. I’ve not given Cloud SQL a smiley because it’s not a tool for big data analytics.</p><p>In the “replication” row (**), green is for databases that offer a hierarchical approach to redundancy, both within regions and across regions. Amber is for databases with just a standby copy for use in case of failure.</p><p>The “capacity / quota limits” row (***) reflects my personal judgement about whether a complex project, processing very large datasets, is likely to hit capacity or quota constraints.</p><p>I hope you find this helpful!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*lFzcRVM3_uXjo2bJ-L0Y5g.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0f3fe8c2360" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>