# AWS MSK 建立&設定 ## 1. 進入 AWS MSK Create 頁面  ## 2. 測試期間選 m5.large, 2 Broker 即可(省錢)  ## 3.Storage EBS 調整為 100GB  ## 4. 選擇自行創立的 VPC、Security Group (該 VPC需要兩個不同 zone的 subnet)  ### 4.1 補充: VPC 資源圖  ### 4.2 補充: Security Group 入出站規則(請先保持全開進行測試)  ## 5. 開啟 IAM, SASL 認證  ## 6. Monitoring and tags 使用預設即可  <span style="color: red;">**※創建MSK 約30分鐘,需耐心等待**</span> ## 7. 進入 AWS MSK Cluster **可以看到需要創建 ASM secret警告,因為SASL身分認證是使用ASM serect授權的**  ## 8. 創建 ASM Secret  **8.1 請選擇Other type of secret**  **8.2 請將 key/value 使用 Plaintext 改成以下形式** ``` { "username": "teddytest", "password": "teddytest" } ```  **8.3 Encrypto Key 請自行創立(不能使用 AWS 預設 key)**  **8.4 Serect 名稱一定要以 AmazonMSK_為開頭**  ## 9.關聯 ASM secret  <span style="color: red;">**※建立 AWS MSK 到此為止結束**</span>
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up