If you're not using GitHub Codespaces, you need to install the tools and configure AWS credentials using your own AWS account.
# Linux (x86_64)
cd /tmp
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip -o awscliv2.zip
sudo ./aws/install
# macOS
brew install awscliVerify: aws --version
mkdir -p ~/bin
curl https://downloads.exasol.com/exasol-personal/installer.sh | bash
mv exasol ~/bin/Or download it from the Exasol Personal Edition page and place it in ~/bin/ (or any other folder on the PATH).
You'll need your own AWS account. Configure the CLI with your credentials:
aws configureSet the region:
export AWS_DEFAULT_REGION=eu-central-1Verify:
aws sts get-caller-identityWe tested this workshop with the following IAM policy. The permissions are broad; you may be able to make them more restrictive for your setup.
{
"Version": "2012-10-17",
"Statement": [
{ "Effect": "Allow", "Action": "ec2:*", "Resource": "*" },
{ "Effect": "Allow", "Action": "s3:*", "Resource": "*" },
{
"Effect": "Allow",
"Action": [
"iam:CreateRole", "iam:PassRole", "iam:DeleteRole",
"iam:GetRole", "iam:GetRolePolicy", "iam:TagRole",
"iam:ListRolePolicies", "iam:ListAttachedRolePolicies",
"iam:PutRolePolicy", "iam:DeleteRolePolicy",
"iam:CreateInstanceProfile", "iam:TagInstanceProfile",
"iam:AddRoleToInstanceProfile", "iam:DeleteInstanceProfile",
"iam:RemoveRoleFromInstanceProfile", "iam:GetInstanceProfile",
"iam:ListInstanceProfiles", "iam:ListInstanceProfilesForRole",
"iam:ListRoles"
],
"Resource": "*"
},
{ "Effect": "Allow", "Action": "ssm:*", "Resource": "*" },
{ "Effect": "Allow", "Action": "logs:*", "Resource": "*" }
]
}Once the tools are installed and AWS is configured, follow workshop.md.