Follow this if you are running this lab as part of a formal workshop where we provided you with an account.
AWS_SECRET_ACCESS_KEYfrom either the
Windowssection, depending on your use
If you are running this lab through your own account, you will need to have a user with access and secret keys.
The user should have the following permissions:
This access is very permissive and the user should be removed after you’re done working on the lab
Connect to your
KafkaClientInstance using SSH and the Keypair you provided when the cluster was built
Check that the AWS CLI is installed
$ aws version aws-cli/1.x.y Python/3.7.4 Linux/...`
If it’s not installed, follow this guide to install the CLI on your system.
Configure the AWS CLI with the Access Key ID and Secret Access Key you gathered above
$ aws configure
For output format you can choose
table - JSON is good for this exercise.
You can change this on the command line by adding
--output [text|json|table at run time]. This is helpful if you are getting a very large JSON object back and want to see text.
aws kafka list-clustersand you should see a list of clusters in your account