You can apply a patch by using the MapR Installer, by using the command line (a manual process), or by using a MapR Installer Stanza.

Creating Custom Images

The mapr-setup.sh script allows you to build custom Amazon Machine
Images (AMIs) or Azure VM images. You can use these images to create more instances of
the original image. With a couple of exceptions, the steps for creating custom images
are the same for AWS and Azure.

To create a custom image:

Create the instance from which you want to build the image.

Download or copy mapr-setup.sh to the instance. For more
information, see MapR Installer.

Prep the image. This step adds MapR software to the image. For example:

./mapr-setup.sh image prep --version 5.2.2

Respond to the questions in the script.

(Optional): Install other software as needed on the image.

(Azure only): Finalize the image:

./mapr-setup.sh image finalize azure

Create the image by using the image create command:

Note: (Azure only): The image create command must be run off the VM that you
want to make an image out of. The command can be run anywhere the Azure CLI
is installed or anywhere the MapR Installer 1.6 setup script is installed.

AWS
example

./mapr-setup.sh image create

Azure example

In this example, the script looks in the
MapRImageCreateRG resource group for a machine
called MyVirtualMachine and creates an image called
MapRImage2: