Skip to content

Creating a Filter Node Instance Template

A filter node instance template will be used later as the base when creating a managed instance group. To create a filter node instance template, perform the following:

  1. Navigate to the “Instance templates” page in the “Compute Engine” section of the menu and click the “Create instance template” button.

    Creating an instance template

  2. Enter the template name into the “Name” field.

  3. Select the virtual machine type to be used to launch a virtual machine with the filter node on from the “Machine type” field.

    Select the proper instance type

    Select the same instance type that you used when you initially configured the filter node (or a more powerful one).

    Using a less powerful instance type may lead to issues in filter node operation.

  4. Click the “Change” button in the “Boot disk” setting. In the window that appears, navigate to the “Custom images” tab and select the name of the project where you created your virtual machine image from the “Show images from” drop-down list. Select the previously created image from the list of available images of the project and click the “Select” button.

    Selecting an image

  5. For the instances based on the template to be identical to the basic instance, configure all of the remaining parameters in the same way as you configured the parameters when creating your base instance.

    Configuring the firewall

    Make sure that the firewall does not block HTTP traffic to the created template. To enable HTTP traffic, select the “Allow HTTP traffic” checkbox.

    Connecting to the instance via a custom private key

    If during base instance creation process you have enabled connection to the instance via a custom SSH key pair, make sure you have access to the private key from this key pair.

  6. Click the “Create” button and wait until the template creation process is finished.

After creating the instance template, you can proceed with the creation of a managed instance group with enabled auto scaling.