CHAPTER 28Deploying Linux to the Cloud

 

To get a new Linux system to use, instead of just running, a standard installation program from a physical DVD, you can get a Linux image and deploy it to a cloud. One way to do that is to take a generic Linux image (one that is bootable but unconfigured) and provide information to configure it to suit your needs. Another way is to go to a cloud provider, choose an image, click through selections to configure it, and launch it.

The point is that cloud computing is offering up new ways to start up and use Linux systems. In Chapter 27, I had you do a standard Linux installation to create a virtual machine that runs on a Linux hypervisor. In this chapter, I will show you how to use cloud images to start up a fresh Linux system.

First, I describe how to use cloud-init to combine a Linux cloud image manually with configuration information in order to allow it to run in a variety of environments. Next, I tell you how a similar process is done on an OpenStack cloud or an Amazon Elastic Compute Cloud (EC2) by clicking through easy-to-use cloud controllers to choose images and settings to run the Linux cloud instance that you want.

Getting Linux to Run in a Cloud

Cloud platforms are great for spinning up new virtual machines quickly and efficiently. They can do so ...

Get Linux Bible, 10th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.