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
Google にクロールされて AWS に 26 万円請求された話
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
labocho
October 05, 2019
Programming
720
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Google にクロールされて AWS に 26 万円請求された話
labocho
October 05, 2019
More Decks by labocho
See All by labocho
Pagehoonk - DOM based JavaScript dispatcher
labocho
0
93
Other Decks in Programming
See All in Programming
Go 1.27 における memory allocation の高速化
andpad
0
150
これって Effect でできたのでは? / TSKaigi Mashup Kansai #2
susisu
0
150
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
170
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
430
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
320
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
730
その節約、円になってますか?
isamumumu
1
730
What's New in Android 2026
veronikapj
0
260
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
270
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
180
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
200
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
4
400
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
900
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
250
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
590
We Are The Robots
honzajavorek
0
300
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
570
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
360
Rails Girls Zürich Keynote
gr2m
96
14k
New Earth Scene 8
popppiees
3
2.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.4k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
950
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
270
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Transcript
Google ʹΫϩʔϧ͞Ε ͯ AWS ʹ 26 ສԁٻ ͞Εͨ @labocho
about • @labocho (github, twitter, etc..) • ࡾॏݝࢢࡏॅ • Ruby
on Rails ͷडୗ։ൃ (ࣾһ2ਓ) • ࠓճձࣾؔͳ͍
None
ຊ
ൃ
͍ͭ௨Γ AWS ͔Βͷٻॻ͕
None
$2499.36 = 26ສԁڧ
?
ௐࠪ
ٻॻΛΈͯΈΔ
None
ϩάΛͱΔ
None
whois Ͱݟͯ Googlebot Β͍͠
IP ΞυϨεࢦఆͯ͠ ΞΫηεΛڋ൱ͨ͠Β੩Խ
ߟ
ԻϑΝΠϧΛΞοϓͯ͠ Podcast Ͱௌͨ͘Ίͷ Web ΞϓϦΛ࡞ͬͯͨ
ߏਤ Amazon S3 Ξοϓϩʔυ ϑΟʔυ μϯϩʔυ Ξοϓϩʔυ Podcast ΞϓϦ
ϑΝΠϧͷ URL
ϑΟʔυʹ ೝূτʔΫϯ͚ͭͯͨ /channels/:id/feed?auth_token=randomstring
Ͳ͔͜Β Podcast ͷ URL ͕ Google ʹ࿙Εͨ?
Google Podcast ΞϓϦ?
࣌όέοτͷαΠζ 80GB ఔ
ͳͷʹ 22TB/mo ͷ௨৴
ೝূτʔΫϯ͖ͭ URL Λੜ
https://…/path/to/file? AWSAccessKeyId=XXXXXXXXXX… https://…/path/to/file? AWSAccessKeyId=YYYYYYYYYY… 1 ճͷΞΫηεͰฦ͢ URL 2 ճͷΞΫηεͰฦ͢ URL
Googlebot ͔Βৗʹҧ͏ ϑΝΠϧʹݟ͑ͨ
ରࡦ
ରࡦ • robots.txt • app ଆͰਪଌࠔͳ URL ʹ • ٻΞϥʔϜ
(େࣄ)
ٻΞϥʔϜ • ٻֹ͕͋Β͔͡Ίઃఆֹͨۚ͠Λ͑ͨ࣌ Ͱ௨ • $1, $20, $100 ͳͲ͍͔ͭ͘ઃఆ͓ͯ͘͠ͱݟ མͱ͠ʹ͍͘
AWS ͷ࿈བྷ
༗ྉαϙʔτܖͯ͠ ঢ়گΛઆ໌
4ޙ...
ࠓճʹݶΓʹݮֹ!! ※ Amazon ͞Μͷ͝ްҙͳͷͰɺ ಉ༷ͷέʔεͰݮֹ͞ΕΔͱݶΓ·ͤΜ
ֶΜͩ͜ͱ
ֶΜͩ͜ͱ • Google Podcast ͷԻϑΝΠϧΫϩʔϧ͠ ͯΔ • ͔ࣗ͠Θͳ͍ Web
ΞϓϦͰ robots.txt ͪΌΜͱॻ͘ • AWS ͬͯΔਓ͍·͙͢ٻΞϥʔτઃఆ͠ ͍ͯͩ͘͞!!!!
͕࣌ؒ͋·ͬͨΒ͏ͪͷೣͰͲ͏ͧ