Chapter 3. Using virtual servers: EC2
This chapter covers
- Launching a virtual server with Linux
- Controlling a virtual server remotely via SSH
- Monitoring and debugging a virtual server
- Reducing costs for virtual servers
It’s impressive what you can achieve with the computing power of the smartphone in your pocket or the laptop in your bag. But if your task requires massive computing power or high network traffic or needs to run reliably 24/7, a virtual server is a better fit. With a virtual server, you’ll get a part of a server located in a data center. On AWS, virtual servers are offered by the service called Elastic Compute Cloud (EC2).
A virtual server is part of a physical server that’s isolated by software from other virtual servers on the same physical server; it consists of CPUs, memory, networking interfaces, and storage. The physical server is also called the host server, and the virtual servers running on it are called guests. A hypervisor is responsible for isolating the guests from each other and for scheduling requests to the hardware. Figure 3.1 shows these layers of server virtualization.