Chapter 9. Connecting to the Cloud

Cloud modules may seem like the most daunting type of Salt module, because of how many functions are required to present a cohesive tool for a cloud provider. Fortunately, connecting to most cloud providers is easy, once you know how. In this chapter, we'll discuss:

  • Understanding how cloud components fit together
  • Learning which functions are required, and how they are used
  • Comparing Libcloud-based modules with direct REST modules
  • Writing a generic cloud module
  • Troubleshooting cloud modules

Understanding cloud components

The word cloud has suffered from an unfortunate bout of overuse and misuse in recent years, so before we talk about what the components look like, we need to define what we're actually talking about ...

Get Extending SaltStack 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.