Add Disks for Rok to Use

This guide will walk you through editing the Launch Template of the node group's underlying Auto Scaling group (ASG) in order to attach EBS volumes to your instances.

Rok can run on any instance type, as long as there are disks available for it to use.

  • For instance types that have instance store volumes (local NVMe storage) attached, Rok will automatically find and use all of them.
  • For instance types without instance store volumes (EBS-only), you will need one or more extra EBS volumes of the exact same size. Rok will use all extra EBS volumes with devices names /dev/sd[f-p].

See also

What You'll Need

Procedure

  1. Go to the Amazon EC2 Auto Scaling console.

  2. Find the Auto Scaling group associated with your node group. Inspect the Tags of each Auto Scaling group and find the one that corresponds to your cluster and node group.

  3. Edit its Launch template.

    ../../../_images/asg-edit-lt.png
  4. Create a new launch template version.

    ../../../_images/lt-new-version.png
  5. In the Storage (volumes) section click Add new volume.

    ../../../_images/lt-add-new-volume.png
  6. Set the specifications of the extra EBS volume:

    • Set Size (GiB) to 500.
    • Set Device name to /dev/sdf.
    • Set Volume type to General Purpose SSD (gp2).
    ../../../_images/lt-extra-ebs-volume.png

    Note

    You may use any disk size you prefer. We recommend that you use at least 500GiB per disk, as the size of EBS volumes affect their performance.

  7. Click Add new vlomue to create the new template version.

    ../../../_images/lt-new-version-success.png
  8. Go back to the Launch template section of the Auto Scaling group, refresh the drop down menu with the versions and select the newly created one.

    ../../../_images/asg-update-lt-version.png

Note

From now on, all newly created instances will have an extra EBS disk. To replace the existing instances start an instance refresh operation by setting Minimum healthy percentage to 0 so that all instances are replaced at the same time.

See also

Summary

You have successfully added local storage to your node group for Rok to use.

What's Next

The next step is to deploy Rok.