Get the AWS CLI

If your Lucee server is running on an AWS instance launched from the official Amazon Linux AMI then it already has the AWS CLI installed. If not, don't worry, it's easy to install.

"The primary distribution method for the AWS CLI on Linux, Windows, and macOS is pip, a package manager for Python that provides an easy way to install, upgrade, and remove Python packages and their dependencies."

Setup the environment

In order to run commands and manage your AWS services using the CLI you'll need to setup some environment variables. You really only need to setup variables for the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.