Programatic Access for AWS CLI


To deploy an MDAI Cluster, we use the AWS CLI for access and control to the various AWS tech we leverage.

Pre-requisites

Before you install a cluster, you will need to Create an AWS IAM Admin Account

Setup the AWS CLI

We've found the Gettings Started with the AWS CLI gude extremely helpful in setting up everything from pre-requisites, to programatic access via your desired terminal tools.

There are two methods we recommend for programatic access to your AWS resources via the AWS CLI, though there are more that you can access the CLI with and can be found here

The AWS SSO option is more secure and generally recommended by AWS and AWS Practitioners.

Configure

AWS SSO Config

Login

# Assumes your machine is already configured access to AWS via `aws configure sso`.
aws sso login --profile <AWS_PROFILE>

Option 2: Short-term credentials

The AWS Short-term credentials option is light-weight and simple to setup with a few commands.

AWS Short-term Credentials

After configuration, you should be able to AWS CLI commands.