Donate to support Ukraine's independence.
Generated by AI

Mastering AWS Networking: VPC Sharing, VPC Peering, Transit Gateway, Cloud WAN

A well-designed network architecture is the backbone of any cloud infrastructure. It ensures better performance, security, resilience, and easier troubleshooting. Additionally, choosing the right networking solutions can optimize costs by leveraging AWS services that align with your application’s needs. This article focuses on complex, large-scale setups where multiple teams operate across multiple AWS accounts and regions. Let’s dive into AWS’s networking offerings and explore the best options for connecting Virtual Private Clouds (VPCs) and external networks. This guide compares VPC Sharing, VPC Peering, AWS Transit Gateway (TGW), and AWS Cloud WAN, highlighting their use cases, advantages, and limitations. ...

March 14, 2025 · 6 min · 1205 words · Serhii Kaidalov
Generated by AI

AWS AI/ML Certification Journey

I’ve just earned all three AI/ML AWS certifications and want to share my subjective thoughts about each certificate in particular. Inspiration I decided to pursue these three AWS AI/ML certifications after attending re:Invent 2024 in Las Vegas. Nearly every talk revolved around AI - how to integrate AI into workloads or how AI is already transforming solutions both within and beyond AWS. ...

February 23, 2025 · 5 min · 905 words · Serhii Kaidalov
Generated by AI

Why Nginx Logs Wrong Client IPs Behind Cloudflare and NLB (and How to Fix It)

When running a website behind a load balancer and Cloudflare, handling client IPs in Nginx can be tricky. Different setups use different headers to pass the real IP: Custom Domains via Cloudflare: Cloudflare sends the real client IP in the CF-Connecting-IP header. Direct CNAME to Load Balancer: The load balancer sets the real client IP in the X-Forwarded-For header. What is the challenge? Nginx’s real_ip_header directive doesn’t support variables. This limitation means you can’t conditionally choose between headers like X-Forwarded-For and CF-Connecting-IP. ...

December 28, 2024 · 3 min · 527 words · Serhii Kaidalov