Servers and data centers
Servers are roles, not just boxes
A server provides a service to another program, called a client. A server can be a program running on a physical computer or inside a virtual machine. A physical server is equipment containing processors, memory, storage connections and network interfaces. Several server programs can run on one machine, and one application can use many machines.
What a data center contains
A data center is a facility designed to house computing equipment and the infrastructure that supports it. Racks hold equipment; power systems supply electricity; cooling removes heat; network equipment connects machines; physical access controls protect the facility. These systems can have redundancy, meaning additional components that can take over if a component fails. Redundancy reduces certain risks but cannot eliminate all failures.
Trace a bookstore request
Consider a fictional data center containing Host A and Host B. Host A runs the bookstore application in a virtual machine (a software-defined computer using physical hardware). Host B holds the catalog service.
Customer browser | network vData center Host A: application VM <--> Host B: catalog service Shared facility: power, cooling, network equipmentThe browser requests a book list. The application asks the catalog service for records and sends the resulting page back. If the network between hosts fails, both machines might still be running while the bookstore cannot produce its catalog. A running machine and a healthy application are different things.
Who operates the equipment?
With an owned facility, the organization arranges its equipment, electricity, cooling and maintenance. When renting public-cloud virtual compute, the provider operates physical infrastructure; the customer normally manages the guest operating system and application unless a more managed service changes that division. The exact responsibility boundary depends on the product and agreement.
A virtual machine is not a separate physical computer. The provider can allocate isolated virtual machines to different customers on one host, or offer dedicated hardware for particular requirements. You should not assume which physical server your virtual machine uses.
A server can be available and still fail a request
Suppose Host A has power and the application is running, but Host B cannot return catalog records. The customer can receive an error even though a monitoring check reports Host A is online. To diagnose the problem, check the application response and its dependency, not only whether the physical machine is reachable.
A data center also has shared failure risks: a power or network problem may affect multiple machines. Later lessons explain how fault domains and recovery designs address these risks.
Practice: separate roles and ownership
For a fictional rented VM, classify a browser, the VM, a rack power supply and the catalog file by role. Identify the provider-operated equipment and the customer-managed application data. Explain why running the application in two VMs on an unknown physical host does not prove that the VMs can survive a facility outage.
Next, compare buying machines with renting capacity.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Servers and data centers — knowledge check
Apply the lesson to the fictional bookstore. Choose one answer per question.
Which statement describes a server correctly?
What is a data center?
Who normally operates physical hosts for a public-cloud rented VM?
Host A runs but cannot contact the catalog on Host B. What follows?
Two VMs are running, but physical placement is unknown. What is justified?