LoginSignup
0
0

More than 3 years have passed since last update.

AWS ChatbotがGAになったのでまた試してみた

Posted at

AWS ChatbotがGAになったので、再び試してみました。
https://aws.amazon.com/about-aws/whats-new/2020/04/aws-chatbot-now-generally-available/

どんなもの

SNS経由でアラートをAmazon ChimeやSlackに通知したり、SlackからAWSのコマンドを実行できる環境を提供するサービスです。

設定

設定はとても簡単です。Betaの頃から手順は変わっていないようです。
https://docs.aws.amazon.com/chatbot/latest/adminguide/getting-started.html

image.png

image.png

image.png

アラートの例 (CloudWatch Synthetics)

image.png

コマンド実行の例

ヘルプ

image.png

Read系

image.png

Create系のコマンドは禁止されているようです。
IAM RoleにAdministratorAccess権限を付与してもダメでした。

image.png

雑感

  • AWS CLIになれている方なら、コマンド実行結果を簡単にシェアできるのでとても便利
  • 実運用するなら、lambdaの実行対象はIAM Policyで絞った方が安全かなぁ
  • Slackのユーザ単位でキュリティレベルを変更する仕組みがないので、SlackのユーザとChatobotに適用しているIAM policyが紐付けられるといいな
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0