Skip to content

apeaircreative/local-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Cloud Infrastructure Practice

This project helps to understand cloud infrastructure concepts by simulating a cloud environment.

Think of the setup as a neighborhood where everything works together to keep the community running smoothly, safely, and efficiently—just like a real cloud network, but all local.


./run_minio_pipeline.sh

This script will:

  • Start and configure the MinIO Docker container
  • Setup MinIO client alias and generate local CA certificates
  • Create bucket and attach security policies
  • Create users and service accounts with read/write policies
  • Rotate access keys in batch
  • Encrypt and upload a test file to MinIO storage

The Neighborhood (Virtual Cloud Network - VCN)

The Virtual Cloud Network (VCN) is the entire neighborhood—a safe, private area where all the houses (servers and services) live and talk to each other.


Streets (Subnets)

The neighborhood has different streets called subnets. Some are public where visitors can come freely, while others are private and hidden from outsiders.


Houses (Servers and Backend Sets)

  • Web Server House:
    Shows visitors websites or applications.
  • Backend Server Houses:
    Handle the work behind the scenes and process requests.
  • Backend Set:
    A group of houses working together for specific jobs, like running events or chores collectively.

Gates and Doors (Gateways)

  • Main Gate (Internet Gateway):
    The big gate where visitors arrive from the outside internet.
  • Back Gate (NAT Gateway):
    A secret door letting private houses send mail outside but stays hidden from strangers.
  • Magic Door (Service Gateway):
    Special door connecting only to trusted services within the neighborhood.

Guards and Maps

  • Guards (Security Lists):
    Gatekeepers letting only trusted visitors into streets and houses.
  • Neighborhood Map (Route Table):
    Guides visitors and mail to the right destinations.

Traffic Helpers

  • Traffic Cop (Load Balancer):
    Directs visitors evenly to different houses to avoid overcrowding.
  • Reception Desk (Listener):
    Welcomes visitors and tells the traffic cop what they want.

Deliveries and Addresses

  • Address Book (CIDR Block):
    Lists house numbers so mail (data) knows where to go.
  • Mail Carrier (DHCP Options):
    Gives each house its address and mail directions.

Safety and Access

  • House Inspector (Health Check):
    Ensures each house is open and ready for visitors.
  • Magical Keys (SSH Keys):
    Special keys to securely access and fix houses.

  • Secret Tunnel (Site-to-Site VPN):
    Connects your neighborhood to another safe neighborhood for private visits.
  • Traffic Cop Station Size (Shape):
    Determines how many visitors the traffic cop can manage simultaneously.