Course: Cloud Computing Technologies

Source: Fulvio Risso, Politecnico di Torino, Introduction to OpenStack: Architecture and Components. The local file is named 09 - OpenStack.pdf. It contains 79 PDF pages, with printed slides 1 and 3–80. The lecture number follows the filename. The original PDF and figures remain local.

Learning route

Lecture 08 - Introduction to Cloud Computing introduced the cloud management system. OpenStack shows how an Infrastructure as a Service (IaaS) platform splits that job across cooperating services. Follow one VM from a user request to a compute host, then follow its packets and data. Finish by describing several resources together as a stack.

QuestionService
Who is calling, which project is in scope, and where is the API?Keystone
What interface does the person use?Horizon web dashboard, command line or service API
What disk image should it start with?Glance
Which host should run it and who controls its lifecycle?Nova
How does it reach other resources?Neutron
Where do durable VM disks and independent objects go?Cinder and Swift, respectively
Who collects usage data and who deploys a stack?Ceilometer and Heat, respectively

Follow a web VM from request to deployment

Assume Alice has permission to deploy in her team’s project. Keystone authenticates her, returns a scoped token and provides a service catalog. Her client looks up Nova’s endpoint. The token carries the request context, and Nova’s policy decides whether she can create the server. Her role in a different project does not grant the same authority here. OpenStack Keystone Identity and Service Discovery

Alice supplies an image and a flavor. The image supplies initial disk contents, while the flavor specifies resources such as vCPUs and RAM. Nova validates the request and records its state. The lecture’s architecture uses internal messages through RabbitMQ to get work to the relevant services. A database holds resource state, while the message broker routes requests and replies. A successful API submission can precede a running VM. OpenStack Control Plane and Messaging

The scheduler filters out hosts that fail requirements, then ranks the eligible ones. For example, if a VM requires zone A and 8 GiB of RAM, a roomy host in zone B stays ineligible. Among suitable hosts, a positive RAM weight favors spreading and a negative weight favors packing in the lecture’s example. The chosen host’s Nova Compute agent requests launch through its virtualization driver. The guest runs through the host virtualization stack, such as libvirt with QEMU/KVM. OpenStack Nova Scheduling and Instance Lifecycle

Follow a packet across hosts and out of the cloud

Neutron gives Alice a private virtual network, a subnet with an IP range and a port where the VM connects. The slide example gives two tenants the same 10.0.0.0/24 range. Each can reuse the addresses because the networks are separate. DHCP can deliver the assigned settings. For cross-host traffic in the lecture’s VXLAN example, the source host wraps the guest frame and the destination unwraps it into the same logical network. The underlay forwards between host addresses.

A virtual router connects subnets and can give the VM outbound access via source NAT. Alice can associate an external floating IP with the web VM’s port if she needs inbound access. A client still needs a reachable route and a security group that permits the connection. The service must also listen. OpenStack Neutron Networks and Packet Paths

Follow the data through replacement

Glance supplies the boot image. Instance-local disk space is suitable for scratch data. A Cinder volume can hold the database and be reused after VM replacement if retained. Swift stores objects through an API and works well for exported files independent of the VM. Heat can deploy the network, web server, database and volume from a template using their dependencies. For example, it creates a network before a port that refers to it. OpenStack Images Storage and Heat Orchestration

Source map

PDF pagesPrinted slidesMaterial
1–121, 3–13Motivation, modular design, physical host setup context, and service overview
13–2314–24Message bus, architecture, interfaces, service state and node roles
24–3925–40Nova request handling, scheduling and dashboard screenshots
40–5341–54Neutron tenancy, DHCP, routers, ML2 and overlay packet flow
54–6455–65Horizon, Keystone and the user/project/role example
65–7666–77Glance, Cinder, Swift and storage lifetimes
77–7978–80Heat workflow and components, then closing slide

Qualifications and supporting material

The deployment diagram is an example of how controller, compute and network roles can be arranged. The VM flow assumes the hosts, hypervisor and physical network are available. The slides discuss external physical server setup tools such as MAAS. Broker and database redundancy are separate from service modularity. The slide’s named scheduler filters, overcommit defaults and backend examples are version and deployment context.

Keep Layer 2 networks separate from subnet IP configuration. VLAN tagging differs from VXLAN tunnels. An ordinary VM stop also differs from deletion for storage lifetime. The slides mix Heat template format descriptions, so focus on the resource model and call sequence.

The origin story, UI screenshots, image format lists and Swift ring internals are useful for recognition. Prioritize tracing a request and distinguishing identity, scheduling, networking, storage and orchestration.

Retrieval practice

  1. A VM request has an acceptable flavor, but no host satisfies anti-affinity. Can a high weight help? Filtering removes ineligible hosts before weighting starts.
  2. A VM can fetch an external web page, but external users cannot initiate a connection to it. What is missing? Outbound NAT tracks connections initiated inside. A reachable inbound mapping, such as a floating IP in this design, and permissive security rules are needed.
  3. Two replicas boot from the same Glance image. Why does updating one database not update the other? The boot image is the starting template. Runtime writes go to a VM disk or attached volume.
  4. Why does accepting the VM request and recording it in a database fail to prove that it booted? Those steps precede work on the compute host. Check the resulting instance state.
  5. If Alice needs a network and three connected VMs, what does Heat add? It represents them and their dependencies as one stack and coordinates service API operations.