Ojasa Mirai

Ojasa Mirai

Cloud

Loading...

Learning Level

🟢 BeginneršŸ”µ Advanced
ā˜ļø Cloud Basics Overviewā“ Why Cloud Computing?šŸ” Providers Comparisonāš™ļø Compute OptionsšŸ—„ļø Database OptionsšŸ’° Cost EstimationšŸ” Security Fundamentals🌐 Networking BasicsšŸ“Š Monitoring & ObservabilityšŸ“ˆ Scaling & AvailabilityšŸš€ Deployment Strategiesāœ… Cloud Readiness
Cloud/Cloud Fundamentals/Networking Basics

Networking Basics — 🌐 VPCs, Firewalls, and Connectivity

Cloud networking creates isolated, private networks for your applications. Understanding networking is critical for security and performance.


šŸŽÆ Virtual Private Cloud (VPC)

A VPC is your private network in the cloud. Think of it as renting a building and creating internal networks.

Your VPC (Private Network)
ā”œā”€ā”€ Subnet 1 (10.0.1.0/24)
│   └── Web servers (isolated)
ā”œā”€ā”€ Subnet 2 (10.0.2.0/24)
│   └── Database servers (isolated)
└── Router
    └── Internet Gateway (connects to internet)

Benefits:

  • Isolation: Only your resources in your VPC
  • Control: You define network structure
  • Security: Restrict who can access what
  • Privacy: Private IP addresses for internal communication

Cloud VPCs:

  • AWS: VPC
  • GCP: VPC Network
  • Azure: Virtual Network

šŸ’” Firewalls and Security Groups

Firewalls control which traffic is allowed in/out.

Inbound Rules: What can access your servers?

Outbound Rules: What can your servers access?

Example:

Inbound Rules:
- Allow HTTP (port 80) from anywhere
- Allow HTTPS (port 443) from anywhere
- Allow SSH (port 22) from office IP only

Outbound Rules:
- Allow all outbound traffic

Why this matters:

Without firewall rules, your database could be world-accessible (bad).

With rules, only your app servers can access database (good).


šŸ“Š Network Architecture Example

Internet (Public)
        ↓
    [Load Balancer]
        ↓
VPC (Private Network)
ā”œā”€ā”€ [Web Server 1]
ā”œā”€ā”€ [Web Server 2]
ā”œā”€ā”€ [Web Server 3]
└── [Database]

Traffic flow:

1. User requests come from internet

2. Load balancer routes to web servers

3. Web servers connect to database (private)

4. Database inaccessible from internet

5. Result: Secure, scalable architecture


šŸ’° Connectivity Options

Internet-connected

Resources accessible from internet. Use for web servers, APIs.

Private (No Internet)

Resources only accessible within VPC. Use for databases, internal services.

Hybrid

Connect your on-premise network to cloud VPC.

Example: Company network ↔ VPN ↔ Cloud VPC

All systems work as if same network.


šŸŽØ Real-World Example: E-commerce Architecture

Users on Internet
      ↓
Load Balancer (public, available to all)
      ↓
Web Servers (public subnet, can receive requests)
      ↓
App Servers (private subnet, internal only)
      ↓
Database (private subnet, internal only)

Security:

  • Users can't directly access database
  • Users can't directly access app servers
  • Only web servers exposed to internet
  • Database completely protected

šŸ”‘ Key Networking Concepts

ConceptPurpose
VPCYour private network in cloud
SubnetSmaller networks within VPC
Security GroupFirewall rules for resources
Route TableHow traffic flows through network
NAT GatewayAllow private resources to access internet
VPNEncrypt connection from home/office to cloud
DNSMap domain names to IP addresses

āœ… Networking Best Practices

1. Least Privilege: Only allow necessary traffic

2. Multi-tier: Separate web, app, database layers

3. Private Databases: Never expose databases to internet

4. Monitoring: Log and monitor network traffic

5. DDoS Protection: Use cloud provider's DDoS protection


šŸ”‘ Key Takeaways

  • āœ… VPC is your isolated private network
  • āœ… Security groups act as firewalls
  • āœ… Subnet separates resources by function
  • āœ… Databases should never be public
  • āœ… Load balancers distribute traffic
  • āœ… VPN secures remote connections
  • āœ… Proper networking is critical for security

Want advanced patterns? 🌐 Networking Basics (Experienced)


Resources

Python Docs

Ojasa Mirai

Master AI-powered development skills through structured learning, real projects, and verified credentials. Whether you're upskilling your team or launching your career, we deliver the skills companies actually need.

Learn Deep • Build Real • Verify Skills • Launch Forward

Courses

PythonFastapiReactJSCloud

Ā© 2026 Ojasa Mirai. All rights reserved.

TwitterGitHubLinkedIn