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
580
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
470
LINEBot作ってみた
kamadakohei
0
84
Other Decks in Technology
See All in Technology
PMとしての意思決定とAI活用状況について
lycorptech_jp
PRO
0
130
非情報系研究者へ送る Transformer入門
rishiyama
11
7.5k
AWSの資格って役に立つの?
tk3fftk
2
340
Scrumは歪む — 組織設計の原理原則
dashi
0
180
僕、S3 シンプルって名前だけど全然シンプルじゃありません よろしくお願いします
yama3133
1
220
[E2]CCoEはAI指揮官へ。Bedrock×MCPで構築するコスト・セキュリティ自律運用基盤
taku1418
0
170
2026年もソフトウェアサプライチェーンのリスクに立ち向かうために / Product Security Square #3
flatt_security
1
310
OCI技術資料 : コンピュート・サービス 概要
ocise
4
54k
最強のAIエージェントを諦めたら品質が上がった話 / how quality improved after giving up on the strongest AI agent
kt2mikan
0
190
社内レビューは機能しているのか
matsuba
0
130
VLAモデル構築のための AIロボット向け模倣学習キット
kmatsuiugo
0
150
Zeal of the Convert: Taming Shai-Hulud with AI
ramimac
0
110
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
170
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Google's AI Overviews - The New Search
badams
0
930
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
120
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.9k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
350
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
110
Chasing Engaging Ingredients in Design
codingconduct
0
140
Evolving SEO for Evolving Search Engines
ryanjones
0
150
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:すべてのアクセスをサービスページにリダイレクト