How To Install resalloc-aws on Fedora 36

In this tutorial we learn how to install resalloc-aws in Fedora 36. resalloc-aws is Resource allocator scripts for AWS

Introduction

In this tutorial we learn how to install resalloc-aws on Fedora 36.

What is resalloc-aws

When allocating/removing a machine in AWS/EC2 from command-line, there are many non-trivial options in the ‘aws-cli’ command. This project provides a simplified wrapping command. The ‘resalloc-aws-new’ script is able to (a) start a machine, (b) wait till SSH is available and (c) run a specified playbook. The ‘resalloc-aws-delete’ removes a machine started by ‘resalloc-aws-new’ script. These scripts are primarily designed to be used with ‘resalloc-server’, but they might be used separately.

We can use yum or dnf to install resalloc-aws on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install resalloc-aws.

Install resalloc-aws on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install resalloc-aws using dnf by running the following command:

sudo dnf -y install resalloc-aws

Install resalloc-aws on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install resalloc-aws using yum by running the following command:

sudo yum -y install resalloc-aws

How To Uninstall resalloc-aws on Fedora 36

To uninstall only the resalloc-aws package we can use the following command:

sudo dnf remove resalloc-aws

resalloc-aws Package Contents on Fedora 36

/usr/bin/resalloc-aws-delete
/usr/bin/resalloc-aws-new
/usr/bin/resalloc-aws-wait-for-ssh
/usr/share/doc/resalloc-aws
/usr/share/doc/resalloc-aws/README.md
/usr/share/licenses/resalloc-aws
/usr/share/licenses/resalloc-aws/COPYING

References

Summary

In this tutorial we learn how to install resalloc-aws on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).