Chapter 2. Understanding cloud computing classifications
This chapter explains cloud computing by breaking it down into the core technologies and service models that make it work. Using a vehicle analogy, it shows how data centers provide the engine, virtualization smooths out resource use, APIs act as controls, storage holds persistent data, databases support application state, and elasticity lets capacity expand or contract as needed. The big idea is that cloud computing is not just remote servers, but a coordinated system of infrastructure, software, and automation that enables efficient, on-demand computing at large scale.
A major focus is on why cloud providers can operate so efficiently. Massive data centers benefit from economies of scale in power, cooling, hardware purchasing, and location strategy, while modular designs make them even more flexible and cost-effective. Virtualization is presented as the key breakthrough that raised server utilization and made cloud economics viable. The chapter also explains how cloud APIs let users provision and manage resources remotely, how cloud storage supports files and application data, and why traditional relational databases often struggle to scale in cloud environments, leading to key-value and other NoSQL approaches.
The chapter then compares major cloud classifications and providers. Amazon EC2 is presented as the leading infrastructure service, Microsoft Azure as a hybrid of infrastructure and platform services, and Google App Engine as a highly automated platform for web applications. Ruby on Rails hosting and Salesforce Force.com are discussed as specialized platform options, while private clouds are treated as a smaller-scale, organization-owned alternative with important limitations. The chapter closes by stressing that choosing a cloud requires matching the provider and model to the application’s needs, especially considering scalability, control, lock-in, and the tradeoff between flexibility and simplicity.
Photograph of Google’s top-secret Dalles, OR data center, built near the Dalles Dam for access to cheap power. Note the large cooling towers on the end of each football-sized building on the left. These towers cool through evaporation rather than using more power-hungry chillers. Source: Melanie Conner, New York Times.
Expandable, modular cloud data center. Notice there is no roof. New containers with servers, power, cooling and network taps can be swapped in and out as needed. Source: IEEE Spectrum magazine.
Virtual machine architecture using VMware as an example. The virtualization layer is what interfaces directly with all hardware components, including the CPU. That layer then presents each guest operating system with its own array of virtual hardware resources. The guest OS doesn’t operate differently than it would if installed on the bare hardware, but now several instances of guest OSs with all their applications can share a single physical device and have higher effective utilization. Source: VMWare.
A simple example of how a relational database works. Four tables map out relationships among the data. Because a separate table lists the car manufacturers and colors, there is no need to separately list a red Nissan and a blue Nissan. But to fully understand what the car with CarKey 1 is, you must do a join of the Car, Color, MakeModel, and Make tables.
The same data as in figure 2.4, shown for a key-value type of database. Because all data for an item (row) is contained in that item, this type of database is trivial to scale because a data store can be split (by copying some of the items) or replicated (by copying all the items to an additional data store), and referential integrity is maintained.
The Windows Azure architecture and framework. At the bottom level is the Windows Azure operating system. This runs in the virtualization environment created by Microsoft’s Hypervisor running on bare hardware. At the top layer are end-user applications, which Microsoft is recasting to be delivered as SaaS. Source: Microsoft.
The Cloud at Your Service ebook for free