Posts

GCP Networking — Logging & Traffic Analysis

GCP Networking — Logging & Traffic Analysis 1. What is Cloud Logging? Cloud Logging collects and stores logs generated by Google Cloud resources. In this section, the main focus is on: VPC Flow Logs Flow Analyzer Packet Mirroring Cloud NAT Logging Exporting logs to BigQuery Visualizing logs using Data Studio / Looker Studio Simple flow VM / VPC ↓ Traffic & Logs ↓ Cloud Logging ↓ BigQuery ↓ Data Studio / Looker Studio ↓ Reports & Dashboards 2. VPC Flow Logs What is it? VPC Flow Logs record sampled information about network traffic going to and from VM instances. Think of it as a network traffic diary . For example: VM-A 10.10.0.2 | | TCP traffic ↓ VM-B 10.50.0.2 VPC Flow Logs can tell you things such as: Who communicated with whom? Which port was used? Which protocol? How much data was transferred? When did the communication happen? Important VPC Flow Logs are enabled per subnet . If you enable Flow Logs on: Subnet-A then the VM instances inside tha...

GCP Network Monitoring & Network Intelligence

  GCP Network Monitoring & Network Intelligence 1. Why Network Monitoring? In a large Google Cloud environment, you may have: Multiple VPC networks Multiple network interconnections Many teams managing different parts of the network This creates challenges such as: Lack of network visibility Performance issues Network bottlenecks Connectivity problems Difficulty analyzing network behavior The goal of network monitoring is to get visibility + detect problems + troubleshoot + prevent outages . 2. Cloud Monitoring Cloud Monitoring helps you monitor the performance and utilization of your Google Cloud resources. You can create custom dashboards containing charts for the metrics you care about. Example metrics For VM instances, you can monitor: CPU utilization Packets sent Packets received Bytes sent Bytes received Packets dropped by firewall So, simply: Cloud Monitoring = See what is happening in your infrastructure. Dashboard customization Charts can be customized using: Filters...