<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alex Nyambura</title>
    <description>The latest articles on DEV Community by Alex Nyambura (@lxmwaniky).</description>
    <link>https://dev.to/lxmwaniky</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3072567%2Fa7e77240-8607-462d-81b5-b737e5501e4c.jpeg</url>
      <title>DEV Community: Alex Nyambura</title>
      <link>https://dev.to/lxmwaniky</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lxmwaniky"/>
    <language>en</language>
    <item>
      <title>Google Cloud VMs and Networking</title>
      <dc:creator>Alex Nyambura</dc:creator>
      <pubDate>Fri, 18 Jul 2025 13:12:05 +0000</pubDate>
      <link>https://dev.to/lxmwaniky/google-cloud-vms-and-networking-1gl</link>
      <guid>https://dev.to/lxmwaniky/google-cloud-vms-and-networking-1gl</guid>
      <description>&lt;p&gt;In Google Cloud, every Virtual Machine (VM) must be connected to a Virtual Private Cloud (VPC) network. If there’s no VPC, you can’t launch a VM.&lt;/p&gt;

&lt;h2&gt;
  
  
  Basics
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;VPC -  A global, isolated virtual network within your GCP project. It spans all regions.&lt;/li&gt;
&lt;li&gt;Subnets are regional; each region must have its own subnet to launch resources like VMs&lt;/li&gt;
&lt;li&gt;VMs are always launched inside a subnet, which belongs to a VPC.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;Even though subnets are regional, a VPC itself is global. That means VMs in different regions (but within the same VPC) can communicate with each other internally, without needing external IP addresses or a VPN.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Firewall Rules
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Firewall rules in GCP apply at the network level, not the individual VM.&lt;/li&gt;
&lt;li&gt;Default behaviour: all incoming traffic is denied by default.&lt;/li&gt;
&lt;li&gt;You must explicitly allow traffic&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://www.cloudskillsboost.google/course_templates/60" rel="noopener noreferrer"&gt;Learn More&lt;/a&gt;&lt;/p&gt;

</description>
      <category>googlecloud</category>
      <category>cloudengineering</category>
      <category>cloudcomputing</category>
      <category>vpc</category>
    </item>
  </channel>
</rss>
