Week 8

Cloud Foundation (OpenStack)

OPS3 - Virtualization and Cloud Infrastructure

Welcome to Week 8!

1. Case Study: The "Nebula Inc." Startup

The Roadmap:

By the end of this module, you will have a fully functional, multi-tier cloud application environment running on infrastructure you defined yourself.

2. Deep Dive: Identity Management (Keystone)

2.1 The Authentication Workflow (The "Token Dance")

When you run a command like openstack server list, a complex sequence of events, often called the "Token Dance," occurs in the background before you see any output.

Figure 1: The Keystone "Token Dance" - Documenting the 7-step process of authentication and authorization

2.2 The Backend (Where are users stored?)

Keystone is modular and capable of integrating with existing enterprise systems. It can store users locally or talk to external systems:

2.3 Token Providers (Fernet vs UUID)

The format of the token itself determines the performance of the cloud.

2.4 The Hierarchy

2.5 CLI Implementation (Case Study: Nebula Inc.)

Step 1: Create the Project

Step 2: Create the User

Step 3: Assign the Role

2.6 Identity Verification & Management

Auditing Access

Managing Users

Section 2 Checkpoint

Summary:

Resources:

3. Deep Dive: Image Management (Glance)

3.1 Understanding Disk Formats

Not all virtual disks are created equal. You must choose the right format for your cloud workload:

RAW is a bit-for-bit copy of the disk. It offers the fastest performance because there is no overhead, but it is space-inefficient. A 10GB drive takes up 10GB of physical space, even if it is empty, making it slow to copy over the network.

ISO is a read-only archive used for installation media. While essential for building images, it is rarely used in cloud "boot-from-image" scenarios because we prefer pre-installed operating systems.

3.2 Glance Architecture

Glance is split into distinct components to separate the metadata from the actual data payload.

Figure 2: Glance Architecture - The separation of the API, Registry (Metadata), and Backend Store (Data)

3.3 CLI Implementation (Case Study: Nebula Inc.)

Step 1: Download the Source

Step 2: Upload to Glance

3.4 Managing Images (Day 2 Operations)

Once images are uploaded, they are not static. You may need to update their metadata or remove obsolete versions.

Listing Images

Updating Metadata (Properties) Sometimes we forget a flag or need to deprecate an OS.

Deleting Images

Section 3 Checkpoint

Summary:

Resources:

4. Deep Dive: Networking (Neutron)

4.1 What is SDN (Software Defined Networking)?

Figure 3: Neutron SDN Architecture - The separation of the Logical Control Plane (API) from the Physical Data Plane (Open vSwitch)

4.2 The Virtual Switch: Open vSwitch (OVS)

4.3 Under the Hood: The Linux Connection

Everything you learned in Week 4 applies here. Neutron uses standard Linux kernel features to build these structures:

4.4 Flow of Traffic (North-South vs East-West)

Designing a cloud network requires understanding the two primary directions of traffic flow, as they traverse different paths through the infrastructure.

Figure 4: North-South vs East-West Traffic - Visualizing how traffic stays within the cloud versus how it exits to the internet

4.5 CLI Implementation (Case Study: Nebula Inc.)

Step 1: Create the Switch (Network)

Step 2: Define Addressing (Subnet)

Step 3: Build the Gateway (Router)

Step 4: Wiring (Interface Attachment)

Step 5: Uplink (External Gateway)

4.6 Verification

Log in to Horizon -> Network -> Network Topology. You should see the Nebula Router creating a bridge between the Blue (Private) line and the Red (Public) line.

Section 4 Checkpoint

Summary:

Resources:

6. Industry Comparison: The "Polyglot" Cloud Engineer

6.1 Concept Mapping

Concept OpenStack Term AWS Term Azure Term
Identity Service Keystone IAM (Identity & Access Mgmt) Microsoft Entra ID (Azure AD)
The "Container" Project (Tenant) Account Subscription / Resource Group
Image Service Glance AMI Registry Azure Compute Gallery
Network Service Neutron VPC (Virtual Private Cloud) VNet (Virtual Network)
Routing Neutron Router Internet Gateway (IGW) VPN Gateway / VNet Peering

6.2 The "Standard Operating Environment" across Clouds

In Section 3, we discussed the "Golden Image." This strategy is universal.

7. Summary

4. Lab Exercises

Summary

Review the key concepts covered in this week's material

Questions?