MSK (+Serverless) Setup
This guide has been written for MSK Serverless but is applicable for MSK in general as well.
Authentication options for Kafka-UI:
Creating an instance
Go to the MSK page
Click "create cluster"
Choose "Custom create"
Choose "Serverless"
Choose VPC and subnets
Choose the default security group or use the existing one
Creating a policy
Go to IAM policies
Click "create policy"
Click "JSON"
Paste the following policy example in the editor, and replace "MSK ARN" with the ARN of your MSK cluster
Attaching the policy to a user
Creating a role for EC2
Go to IAM
Click "Create role"
Choose AWS Services and EC2
On the next page find the policy which has been created in the previous step
Attaching the role to the EC2 instance
Go to EC2
Choose your EC2 with Kafka-UI
Go to Actions -> Security -> Modify IAM role
Choose the IAM role from previous step
Click Update IAM role
Last updated