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
SlackにEC2インスタンスが落ちたことを通知させてみた
Search
YouYou
July 17, 2020
Technology
1.7k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SlackにEC2インスタンスが落ちたことを通知させてみた
YouYou
July 17, 2020
Transcript
8 slides
SlackにEC2が落ちた事を通知 させてみた
背景 開発環境のEC2インスタンスが勝手に落ちていることがあった 問い合わせの度に都度手動で起動 自動で検知してできれば自動で起動したい
実装機能 • EC2インスタンスがstoppedになったら、専用チャンネルへ通知 • stoppedになったら、自動的に再起動できるようにする • 9:00~21:00の間で稼働できるようにする
使用したサービス • Lambda • CloudWatch Events • (Incoming Webhook)
Lambdaが動くためのトリガールールを作成する
Lamda関数コード • 量が多いためnoteの記事を参照 (https://note.com/tar28/n/na7023ecc9d97)
感想 ・CloudWatch Events関連の情 報が思ったよりも少なかった ・Amazon Chatbotが対応し始め たらそっちの方が楽になりそう
ご清聴ありがとうございました。
More Decks by YouYou
See All by YouYou
AWSマネコンに複数のアカウントで入れるようになりました
yuhta28
2
330
今インフラ技術をイチから学び直すなら
yuhta28
1
330
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
3
710
Datadog外形監視基盤をEC2から ECSへ移行してみた
yuhta28
0
1.9k
アウトプット頑張ったら企業からLT登壇の依頼がきた話
yuhta28
1
1.9k
小さなことから始めるAWSコスト最適入門
yuhta28
1
1.5k
Datadogのコストも監視しよう
yuhta28
1
1.1k
Rcloneを使った定期的なストレージ同期
yuhta28
0
910
Pulumiを触ってみよう
yuhta28
1
2.8k
Other Decks in Technology
See All in Technology
NutanixへのSSHアクセスの今後について
shadowhat
0
140
PHPで家庭用ゲーム機の専用コントローラーをMIDIデバイスとして扱ってみる
wind111
0
190
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
1.1k
IoTのデータ保存をSREの観点で考える
grimoh
1
120
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
3.5k
From vibe coding to reliable (agentic) development
jcabot
0
150
[NW-JAWS DAY]「うちのAWS、インターネット出られないんで」― AWS外の自社サービスをPrivateLinkでシュッと公開する方法
ykimi
3
910
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
150
認知の質も文化醸成も。数年取り組んで見えてきた技術広報のKPI設計 / Tech PR KPIs: Lessons on Awareness Quality and Culture After Several Years
bitkey
PRO
0
180
メール到達性を支える、リンク先URLのドメイン評価の扱い方
wind111
0
190
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
110
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
650
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Visualization
eitanlees
153
17k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
First, design no harm
axbom
PRO
2
1.4k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
The Mindset for Success: Future Career Progression
greggifford
PRO
0
570
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
570
Design in an AI World
tapps
1
390
Testing 201, or: Great Expectations
jmmastey
46
8.4k
4 Signs Your Business is Dying
shpigford
187
23k
How to Think Like a Performance Engineer
csswizardry
28
2.9k