Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
「EC2を止め忘れた夜にベッドから出たくない」を解決するAWS ChatBot
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yuki_Kurono
February 16, 2022
Programming
1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
「EC2を止め忘れた夜にベッドから出たくない」を解決するAWS ChatBot
JAWS-UG 初心者支部#45
LT.5
Yuki_Kurono
February 16, 2022
More Decks by Yuki_Kurono
See All by Yuki_Kurono
Terraform(IaC)と実環境の乖離どうしていますか?
yuki_kurono
0
55
今年のre:inventから学ぶこと
yuki_kurono
0
120
re_invent 2023事前勉強会
yuki_kurono
0
110
CloudFormationの運用が 辛くならない方法を本気で考えてみた
yuki_kurono
0
380
CloudFormationで登場したForEachをちゃんと理解してみる
yuki_kurono
0
920
Turnstileのウィジェット モードとは何者か
yuki_kurono
0
740
CodeGuru Security ってなんだ?
yuki_kurono
0
1.2k
えるしってるか CloudFrontはWAFがあっても カスタムエラーレスポンスを返せる
yuki_kurono
0
460
Cloudflare初心者がIaCから基本構成を学んでみた
yuki_kurono
1
670
Other Decks in Programming
See All in Programming
JIS keyboard support in Omarchy
lef237
0
130
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
230
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
sbt 2.0: takeoff
eed3si9n
0
160
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
残高管理から台帳サービスへの進化
artoy
1
200
The Rails Doctrine Decade
koic
2
600
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
280
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
800
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Discover your Explorer Soul
emna__ayadi
2
1.3k
So, you think you're a good person
axbom
PRO
2
2.2k
Are puppies a ranking factor?
jonoalderson
2
4.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Being A Developer After 40
akosma
92
590k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
580
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Transcript
「EC2を止め忘れた夜にベッドから出たくない」 を解決するAWS ChatBot アイレット株式会社 黒野雄稀 JAWS-UG 初心者支部#45 2022/02/16
自己紹介 名前:黒野 雄稀 趣味:Cookie Clicker AWS歴:3年くらい 所属:アイレット株式会社
こんなことはないでしょうか?
AWS 社内検証環境 EC2 仕事してるときの僕
AWS 社内検証環境 EC2 仕事終わった後の僕
寝る前の僕
None
欲しい機能 ・ベッドから出ずに停止したい(寒いし) ・コンソール,CLIを使うためにPCを起動したくない
AWS Chatbot は、チャットチャネルでの AWS ワーク ロードのモニタリング、運用、トラブルシューティン グを簡単に行えるようにするインタラクティブなエー ジェントです。AWS Chatbot を使用すれば、アラート
の受信、コマンドの実行による診断情報の取得、AWS リソースの設定、ワークフローの開始を行うことがで きます。 https://aws.amazon.com/jp/chatbot/ 概要 AWS ChatBot
・Slack又はAmazon Chimeへのアラーム通知 主な機能(1) AWS Cloud VPC
・SlackからのAWS CLI実行 - @aws ec2 describe-instances -instance-ids i-xxxxxxxxxxx,i-xxxxxxx 主な機能(2) AWS
Cloud VPC
AWS ChatBotの素晴らしいところ
便利!! チームは AWS 環境で実行されているアプリ ケーションのインシデント、セキュリティ検 出結果、その他のアラートについて最新情報 を確認して、コラボレーションし、迅速に対 応できます。チームはコマンドを実行して AWS リソースを安全に設定し、インシデン
トを解決し、Slack チャネルからタスクを実 行できます。 https://aws.amazon.com/jp/chatbot/
簡単!! 数回クリックするだけで AWS 通知を受信し、 チャットチャネルから AWS Command Line Interface (CLI)
コマンドを安全で効率的に 実行できます。 https://aws.amazon.com/jp/chatbot/
無料!! AWS Chatbot に追加料金はかかりません。 また、最低料金や前払いの義務はありません。 https://aws.amazon.com/jp/chatbot/pricing/
AWS Cloud VPC 構成 - 毎日PM11に起動中のインスタンスを通知 - SlackからAWS CLIを実行 ①
② ③ ④
使ってみよう
Slackワークフロービルダー
起動中のインスタンスの通知
Slackワークフローの実行
インスタンスIDを入力
実行結果
困ったこと
TerraformがAWS ChatBot対応してない。。。
解決策 https://github.com/hashicorp/terraform-provider- awscc
セキュリティ
注意するところ ・IAMロールに付与する権限は最小に ・実行ログは取っておこう
今後
今後の期待 ・通知の部分をカスタマイズできるようにできたらな ・CLI出して欲しいな。。(チラッ
AWS ChatBotの今後にも期待です!
参考 ・https://aws.amazon.com/jp/chatbot/ AWS ChatBotドキュメント ・https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-cli-commands.html Running AWS CLI commands from
Slack channels ・https://www.hashicorp.com/blog/announcing-terraform-aws-cloud-control-provider-tech-preview Announcing Terraform AWS Cloud Control Provider Tech Preview