60 Recipes for Apache CloudStack

Book description

Planning to deploy and maintain a public, private, or hybrid cloud service? This cookbook’s handy how-to recipes help you quickly learn and install Apache CloudStack, along with several API clients, API wrappers, data architectures, and configuration management technologies that work as part of CloudStack’s ecosystem. You’ll learn how to use Vagrant, Ansible, Chef, Fluentd, Libcloud, and several other open source tools that let you build and operate CloudStack better and faster.

Table of contents

  1. Preface
    1. Why I Wrote This Book
    2. CloudStack Within the Cloud Computing Picture in 500 Words
    3. How This Book Is Organized
    4. Technology You Need to Understand
    5. Online Content
    6. Conventions Used in This Book
    7. Safari® Books Online
    8. How to Contact Us
    9. Acknowledgments
  2. I. Installation
    1. 1. Installing from Source
      1. 1.1. Installing the Prerequisites for Ubuntu 14.04
        1. Problem
        2. Solution
        3. Discussion
      2. 1.2. Installing the Prerequisites for CentOS 6.5
        1. Problem
        2. Solution
        3. Discussion
      3. 1.3. Installing from Source
        1. Problem
        2. Solution
        3. Discussion
      4. 1.4. Using the CloudStack Simulator
        1. Problem
        2. Solution
        3. Discussion
      5. 1.5. Using the CloudStack Sandbox: DevCloud
        1. Problem
        2. Solution
        3. Discussion
          1. DevCloud prerequisites
          2. Adding DevCloud as a hypervisor
      6. 1.6. Vagrant-Based CloudStack Testing Deployment
        1. Problem
        2. Solution
        3. Discussion
      7. 1.7. Building CloudStack Binary Packages
        1. Problem
        2. Solution
        3. Discussion
    2. 2. Installing from Packages
      1. 2.1. Installing the Prerequisites on the Management Server
        1. Problem
        2. Solution
        3. Discussion
      2. 2.2. Setting Up the Management Server
        1. Problem
        2. Solution
        3. Discussion
      3. 2.3. Setting Up an Image Catalog and Seeding it with the SystemVM Template
        1. Problem
        2. Solution
        3. Discussion
      4. 2.4. Preparing a KVM Hypervisor
        1. Problem
        2. Solution
        3. Discussion
      5. 2.5. Configuring libvirt
        1. Problem
        2. Solution
        3. Discussion
      6. 2.6. Basic Zone Network Configuration and NAT Router Setup
        1. Problem
        2. Solution
        3. Discussion
      7. 2.7. Configuring a Basic Zone
        1. Problem
        2. Solution
        3. Discussion
      8. 2.8. Troubleshooting Your First CloudStack Deployment
        1. Problem
        2. Solution
        3. Discussion
  3. II. Clients and API Wrappers
    1. 3. API Clients
      1. 3.1. The CloudStack API
        1. Problem
        2. Solution
        3. Discussion
      2. 3.2. Signing an API Request
        1. Problem
        2. Solution
        3. Discussion
      3. 3.3. Installing CloudMonkey, the CloudStack Interactive Shell
        1. Problem
        2. Solution
        3. Discussion
      4. 3.4. Configuring CloudMonkey
        1. Problem
        2. Solution
        3. Discussion
      5. 3.5. Using CloudMonkey as an Interactive Shell
        1. Problem
        2. Solution
        3. Discussion
      6. 3.6. Starting a Virtual Machine Instance with CloudMonkey
        1. Problem
        2. Solution
        3. Discussion
      7. 3.7. Using Apache Libcloud with CloudStack
        1. Problem
        2. Solution
        3. Discussion
      8. 3.8. Managing Key Pairs and Security Groups Using Libcloud
        1. Problem
        2. Solution
        3. Discussion
      9. 3.9. Hybrid Cloud Applications Using Libcloud
        1. Problem
        2. Solution
        3. Discussion
      10. 3.10. IPython Interactive Shell with Libcloud
        1. Problem
        2. Solution
        3. Discussion
      11. 3.11. Installing and Configuring jclouds CLI
        1. Problem
        2. Solution
        3. Discussion
      12. 3.12. Using jclouds CLI with CloudStack
        1. Problem
        2. Solution
        3. Discussion
      13. 3.13. Using CloStack: A Clojure Client for CloudStack
        1. Problem
        2. Solution
        3. Discussion
      14. 3.14. Starting a Virtual Machine with CloStack
        1. Problem
        2. Solution
        3. Discussion
      15. 3.15. Use CloStack Within Your Own Clojure project
        1. Problem
        2. Solution
        3. Discussion
      16. 3.16. StackerBee, a Ruby Client for CloudStack
        1. Problem
        2. Solution
        3. Discussion
    2. 4. API Interfaces
      1. 4.1. Installing and Configuring EC2Stack
        1. Problem
        2. Solution
        3. Discussion
      2. 4.2. Using the AWS CLI with EC2Stack
        1. Problem
        2. Solution
        3. Discussion
      3. 4.3. Improving the EC2Stack API Coverage
        1. Problem
        2. Solution
        3. Discussion
      4. 4.4. Using Python Boto with EC2Stack
        1. Problem
        2. Solution
        3. Discussion
      5. 4.5. Installing Eutester to Test the AWS Compatibility of Your CloudStack Cloud
        1. Problem
        2. Solution
        3. Discussion
      6. 4.6. Using Eutester with EC2Stack to Write Functional tests
        1. Problem
        2. Solution
        3. Discussion
      7. 4.7. Installing and Configuring gstack: The CloudStack GCE Interface
        1. Problem
        2. Solution
        3. Discussion
      8. 4.8. Using gstack with the gcutil Tool
        1. Problem
        2. Solution
        3. Discussion
      9. 4.9. Supporting the OCCI Standard in CloudStack
        1. Problem
        2. Solution
        3. Discussion
          1. Install and run the rOCCI server
          2. Install the rOCCI client
          3. Test the OCCI client against the server
  4. III. Configuration Management and Advanced Recipes
    1. 5. Configuration Management
      1. 5.1. Installing Veewee
        1. Problem
        2. Solution
        3. Discussion
      2. 5.2. Using Veewee to Create a Vagrant Base Box
        1. Problem
        2. Solution
        3. Discussion
      3. 5.3. Introducing Packer to Build Cloud Images
        1. Problem
        2. Solution
        3. Discussion
      4. 5.4. Installing Vagrant to Build and Test Cloud Images
        1. Problem
        2. Solution
        3. Discussion
      5. 5.5. Using the Vagrant CloudStack Plug-In
        1. Problem
        2. Solution
        3. Discussion
      6. 5.6. Introducing Ansible to Configure Cloud Instances
        1. Problem
        2. Solution
        3. Discussion
      7. 5.7. Provisioning with Ansible Playbooks
        1. Problem
        2. Solution
        3. Discussion
      8. 5.8. Ansible Provisioning with Vagrant CloudStack Plug-In
        1. Problem
        2. Solution
        3. Discussion
      9. 5.9. Installing knife-cloudstack
        1. Problem
        2. Solution
        3. Discussion
      10. 5.10. Starting an Instance with Knife
        1. Problem
        2. Solution
        3. Discussion
      11. 5.11. Bootstrapping Instances with Hosted Chef
        1. Problem
        2. Solution
        3. Discussion
    2. 6. Advanced Recipes
      1. 6.1. Installing Fluentd to Collect CloudStack Logs and Events
        1. Problem
        2. Solution
        3. Discussion
      2. 6.2. Configuring the CloudStack Fluentd Plug-In
        1. Problem
        2. Solution
        3. Discussion
      3. 6.3. Using MongoDB as a Fluent Data Store
        1. Problem
        2. Solution
        3. Discussion
      4. 6.4. Playing with Basho Riak CS Object Store
        1. Problem
        2. Solution
        3. Discussion
      5. 6.5. Installing RiakCS on Ubuntu 12.04
        1. Problem
        2. Solution
        3. Discussion
      6. 6.6. Using Python Boto to Store Data in RiakCS
        1. Problem
        2. Solution
        3. Discussion
      7. 6.7. Using RiakCS as Secondary Storage for CloudStack
        1. Problem
        2. Solution
        3. Discussion
      8. 6.8. Installing Apache Whirr
        1. Problem
        2. Solution
        3. Discussion
      9. 6.9. Using Apache Whirr to Deploy a Hadoop Cluster
        1. Problem
        2. Solution
        3. Discussion
  5. IV. Summary
    1. 7. Summary
      1. What We Covered
      2. Other Areas to Explore
      3. Final Words
  6. Index
  7. Colophon
  8. Copyright

Product information

  • Title: 60 Recipes for Apache CloudStack
  • Author(s): Sébastien Goasguen
  • Release date: October 2014
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781491910139