Creating a Custom Image

To create a custom CloudyCluster Image with additional software or libraries.

When using a CloudyCluster Custom Image you must first:

Complete the following steps to locate the CloudyCluster Image Name of the instance to base the custom ami with.
  1. Navigate to the CloudyCluster GCP Marketplace.
  2. Enable CloudyCluster
  3. On the subsequent page, locate the image name, after you obtain this image name, you will enter it in the field where prompted.
To customize your CloudyCluster Image, complete the following steps
  1. Navigate to the launch configuration from the GCP marketplace
  2. Select the Create a custom Image option, this will launch the instance without loading any CloudyCluster software
    Custom Image Checkbox

note, To reboot during software install you will want to remove the following line from the crontab (This is what is disabled by the original checkbox):

@reboot root /opt/CloudyCluster/srv/ 2>> /opt/CloudyCluster/logs/CheckIfControlNode.stderr

note, To enable CloudyCluster launching on the next reboot you should edit the crontab file and un-comment that line.

Now you can launch the new image from the console (make sure you use a SA with the appropriate permissions)


Automate The Process

If you want to automate the process of adding software to the release CloudyCluster AMIs, you can use the builderdash project. The Builderdash project was created to provided a build system, that we use internally to build CloudyCluster releases. It is open sourced so the same methodology can be used to add Software to the Image. The project is available on Github.