Blog

Installing Halo Daemons with RightScale: Part II

Overview

In my last blog post I discussed importing and installing the CloudPassage Halo RightScript on a single cloud server. In this blog, we will see how to use RightScale to automatically deploy the CloudPassage Halo daemon to  multiple servers across different cloud providers.

Deployment

With the RightScale platform’s Deployment concept, we have the ability to manage a group of servers across multiple clouds the same way we would manage a single server. In the absence of a Deployment, we would have had to go to cloud servers individually and repeat the daemon install process manually on each one of them.

If you haven’t done so already, I highly recommend looking into organizing your servers as deployments in keeping with best practices. You can read more about setting up deployment in RightScale here.

To go to an existing deployment, go to Manage -> Deployments and select a Deployment.

Click the Scripts tab. Find the RightScript that you would like to run on multiple Servers and click the Run action icon.

NOTE: If no instances are running, you will see an info icon instead of a run icon.

Next, you will see a list of all active servers in your Deployment that use the selected RightScript.  Put a checkmark next to each server that you would like to run the RightScript on and click the Run Script action link.

Next you will be prompted to enter your CloudPassage API key. You can enter it as a Credential or as simple text. Select the Credential you created in part 1 of this blog.

Once you click Continue, the CloudPassage Halo script will be installed asynchronously on all the servers you selected in the deployment.

You can monitor the progress of the Halo daemon installation by going to the Audit Entries tab.

There you have it. With just a few clicks we have successfully installed the CloudPassage Halo RightScript on as many servers as you choose. The servers in my example deployment were on two separate clouds – Amazon’s EC2 and Rackspace.

In the final blog in this series, I will walk you through the process of creating a ServerTemplate with the CloudPassage Halo script pre-installed for use. Server instances launched from such a ServerTemplate will have the CloudPassage Halo daemon up and running from the get go allowing you to configure and monitor the security of your servers right off the bat.

Related Posts