Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Amazon CloudWatch Syntheticsで始める合成監視
Search
kamadakohei
May 30, 2023
Technology
0
560
Amazon CloudWatch Syntheticsで始める合成監視
kamadakohei
May 30, 2023
Tweet
Share
More Decks by kamadakohei
See All by kamadakohei
FargateのPID namespace sharing を試してみた
kamadakohei
0
1.4k
Amazon VPC Latticeを触ってみた!
kamadakohei
0
1k
ECS Service Connect By Terraform
kamadakohei
0
1.4k
AIアプリ作ってみた
kamadakohei
0
450
LINEBot作ってみた
kamadakohei
0
79
Other Decks in Technology
See All in Technology
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
人工知能のための哲学塾 ニューロフィロソフィ篇 第零夜 「ニューロフィロソフィとは何か?」
miyayou
0
320
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
59k
産業的変化も組織的変化も乗り越えられるチームへの成長 〜チームの変化から見出す明るい未来〜
kakehashi
PRO
1
230
自己管理型チームと個人のセルフマネジメント 〜モチベーション編〜
kakehashi
PRO
5
1.1k
Eight Engineering Unit 紹介資料
sansan33
PRO
0
6.1k
Node vs Deno vs Bun 〜推しランタイムを見つけよう〜
kamekyame
1
100
Bedrock AgentCore Evaluationsで学ぶLLM as a judge入門
shichijoyuhi
2
310
Oracle Cloud Infrastructure:2025年12月度サービス・アップデート
oracle4engineer
PRO
0
180
1万人を変え日本を変える!!多層構造型ふりかえりの大規模組織変革 / 20260108 Kazuki Mori
shift_evolve
PRO
5
610
AI駆動開発ライフサイクル(AI-DLC)の始め方
ryansbcho79
0
290
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
190
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
77
5.2k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Automating Front-end Workflow
addyosmani
1371
200k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
220
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
32
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
140
The Spectacular Lies of Maps
axbom
PRO
1
410
For a Future-Friendly Web
brad_frost
180
10k
Being A Developer After 40
akosma
91
590k
Scaling GitHub
holman
464
140k
Test your architecture with Archunit
thirion
1
2.1k
Transcript
© 2022 SRE Holdings Corporation 1 2980 © 2022 SRE
Holdings Corporation Amazon CloudWatch Synthetics 2023/5/29
© 2022 SRE Holdings Corporation 2 • • • ⁃
Web ⁃
© 2022 SRE Holdings Corporation 3 Agenda • ⁃ ⁃
• Amazon CloudWatch Synthetics ⁃ ⁃
© 2022 SRE Holdings Corporation 4 • • Cognito ALB
EC2 WordPress
© 2022 SRE Holdings Corporation 5 機能追加によるメンテナンス作業実施後 ALBのHealthyHostCountの数も正常、監視のアラートは上がっていない、(社内からの)サイトアクセスも問題 ないのにも関わらず、 社内ユーザーからサービスページを確認できないという報告が来た・・
© 2022 SRE Holdings Corporation 6 • ALB • •
© 2022 SRE Holdings Corporation 7 • • CloudWatch HealthyHostCount)
CPU • PoC Thrid Party AWS • AWS
© 2022 SRE Holdings Corporation 8 Synthetics Monitoring GA Google
Analytics Amazon CloudWatch Synthetics Real User Monitoring crul WebpageTest.org Amazon CloudWatch RUM
© 2022 SRE Holdings Corporation 9 Amazon CloudWatch Synthetics •
AWS • Canary Web API • Canary Blue Print • • • API Canary REST API • • Web • Canary Recorder Google • GUI GUI Amazon CloudWatch Synthetics
© 2022 SRE Holdings Corporation 10 Amazon CloudWatch Synthetics •
CloudWatch SyntheticsはCanaryと呼ばれるリソースを作成することで合成監視を実施する • Canaryの実体はヘッドレスブラウザを操作できるNode.js(Puppeteer)、もしくはPython(Selenium) のスクリプトを実⾏するLambda • このLambdaが定期実⾏することで定期的な合成監視を実施する
© 2022 SRE Holdings Corporation 11 • • • CloudWatch
Synthetics
© 2022 SRE Holdings Corporation 12 • • Amazon CloudWatch
Synthetics AWS • Blue Print
© 2022 SRE Holdings Corporation 13 • • Amazon CloudWatch[
] ~ ~ • Amazon CloudWatch Synthetics AWS Black Belt Online Seminar
© 2022 SRE Holdings Corporation 14 Appendix
© 2022 SRE Holdings Corporation 15 • ALBのリスナールールでメンテナンスページを追加した際の優先度設定を間違えてしまったいた.. • 通常時
ルール1:社内LANからのアクセスをサービスページにリダイレクト ルール2:すべてのアクセスをサービスページにリダイレクト ルール3:すべてのアクセスをメンテナンスページにリダイレクト • メンテナンス時 ルール1:社内LANからのアクセスをサービスページにリダイレクト ルール3:すべてのアクセスをメンテナンスページにリダイレクト ルール2:すべてのアクセスをサービスページにリダイレクト