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
CPUクレジット使われた話
Search
Masedati
April 15, 2026
41
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CPUクレジット使われた話
Masedati
April 15, 2026
More Decks by Masedati
See All by Masedati
【Comi-How】わたしのLT論 最初の一歩の話
masedati
0
56
RDS監査ログを設定しよう
masedati
0
25
CUDOSを構築しよう
masedati
0
41
Amazon Inspector概論
masedati
2
200
内製化支援で伝えている AWSネットワークとEC2への接続方法
masedati
0
31
Amazon Q CLIの歩き方
masedati
0
120
改めて学ぶデプロイ戦略
masedati
0
33
怠惰な人のためのブログ執筆術
masedati
0
31
AWS リソース使用前に料金体系はしっかり確認しよう
masedati
0
20
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
330
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
67k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
What's in a price? How to price your products and services
michaelherold
247
13k
Are puppies a ranking factor?
jonoalderson
2
4.1k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
810
The Curious Case for Waylosing
cassininazir
1
580
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
350
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
540
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Transcript
CPUの クレジット使われた話
とある日のダッシュボード
とある日のダッシュボード 平均CPU使用率が24.2%で t3.smallのベースライン(20%)を常時超過
前日にメンテナンスやったかな? まず考えたこと やってない
単純にアクセス数が増加して CPU負荷が上がっている? 次に考えたこと ダッシュボード確認する
CloudWatchダッシュボード 16日を境にアクセス数が1.5倍になっている
誰が? WAFログを調査すると「216.73.216.179」から 大量アクセス(7万アクセス/日)がきていることが判明
WAFでブロックされないのか? ①Countモードにしておりブロックしない設定となっている ②SignalNonBrowserUserAgentをブロックしたときの 正当なリクエストへの影響が不明である
対処法 robot.txtでクローラーに対して パスへのアクセスを制御する ◆robots.txt ルートディレクトリに置くテキストファイル どのパスにアクセスしてよいか・してはいけないか を伝える あくまでも「お願いベース」の仕組みであり、 悪意のあるクローラーは無視するため強制力はない
# 全クローラーに /page/ へのアクセスを禁止 User-agent: * Disallow: /page/ # 特定クローラーのみ禁止
User-agent: meta-webindexer Disallow: /page/ # クロール間隔を指定 User-agent: Claude-SearchBot Disallow: /page/ Crawl-delay: 1 /fsx/document_root/robots.txt
効果
本日学んだこと T系インスタンスは、CPUクレジットを監視しよう 大量アクセスをしてくるクローラーにはrobot.txtで制御しよう