The AWS CLI allows you to interact with AWS services from a terminal session. Make sure you have the latest version of the AWS CLI installed on your system.
See the AWS Command Line Interface installation page for more details.
To get started with the workshop you need to have Administrator Access to an AWS Account. Please do not use the accounts root user since this is bad practice and leads to potential security risks.
We recommend you create a dedicated IAM user following this guide.
Make sure, that you are able to login into the AWS Console with your IAM user.
aws configure to setup your AWS account.
aws configure AWS Access Key ID [None]: YOUR KEY AWS Secret Access Key [None]: YOUR SECRET KEY Default region name [None]: eu-central-1 Default output format [None]: json
Now try the following:
aws sts get-caller-identity
In the output you should see something similar to
The AWS CDK uses Node.js (>= 10.3.0).
To install Node.js visit the node.js website.
If you already have Node.js installed, verify that you have a compatible version:
Output should be >= 10.3.0:
Next, we’ll install the AWS CDK Toolkit. The toolkit is a command-line utility which allows you to work with CDK apps.
Open a terminal session and run the following command:
npm install -g email@example.com
You can check the toolkit version:
cdk --version 1.57
This needs to be done only once per AWS Account (co-ordinate by yourselves who is going to do this)
cdk bootstrap <aws-account-id>/eu-central-1
aws-account-id is the account id without dashes.