Create a compatible AMI

Prev Next

This topic describes how to create an AMI that is compatible for use with Zesty Disk and AWS EMR.

If needed, Zesty can share a custom AMI for your use.

Prerequisites

  • AWS access with permission to create EC2 instances

  • For EMR v7.0.0 or later, Amazon Linux 2023 is required

To create an EMR-compatible AMI:

  1. From AWS, launch an EC2 instance using the base Amazon Linux compatible with your EMR cluster.

  2. Install any software that is required for your application.

  3. Install the Btrfs filesystem and the Zesty Disk utility wrappers:

    • For EMR versions earlier than 7.0.0, use this code:
      curl -s https://static.zesty.co/emr/release/prepare-zestydisk-ami.sh | sudo bash

    • For EMR versions from v7.0.0 or later, use this code:
      curl -s https://static.zesty.co/emr/release/prepare-zestydisk-ami-7.sh | sudo bash

  4. Create an AMI from the instance as you normally would.

When the AMI is created, you will need its ID number when launching the cluster.