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
AWSしくじり先生(NLPハンズオンのESSにて)
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
kazkanda
April 27, 2021
Technology
1.9k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWSしくじり先生(NLPハンズオンのESSにて)
kazkanda
April 27, 2021
More Decks by kazkanda
See All by kazkanda
2年ちょっとで18kg 減量した話
kazkanda
0
780
re:InventをVirtualで2年連続参加して(JAWS-UG 横浜支部LT)
kazkanda
0
210
在宅勤務で体重が やばくなったので。。。(IT運動部LT)
kazkanda
0
530
サウナとの出会い、そして『エンジニア銭湯』へ
kazkanda
0
150
浜松町で見つけた松屋より安いカレー屋の話
kazkanda
0
1.3k
Other Decks in Technology
See All in Technology
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
170
え、こんなに早く改修できるの?──新人エンジニアとスクラムマスターの2人が語る、AI×アジャイル開発の現場
ysasago
1
230
今話題のAI「Jev」って何? 宇宙最速で学ぶ会
minorun365
PRO
27
15k
Claude in Chrome 入門 / Introduction to Claude in Chrome
cielo1985
0
840
あるけみー式LTスライド作成術
alchemy1115
2
220
幾何アルゴリズムで なめらかなピン操作を / iOSDC Japan 2026 / smoothpin
kazumanagano
0
350
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
200
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
270
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
4
640
「守り」で活用するオンデバイスLLM 〜写ってはいけないを総力戦で防ぐ〜 / iOSDC Japan 2026
nakamuuu
0
170
TinyGo 開発サイクルを高速化する:Go で作るエミュレータ入門
zozotech
PRO
1
740
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
4
230
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
390
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Navigating Weather and Climate Data
rabernat
0
520
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
370
How to Ace a Technical Interview
jacobian
281
24k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
4 Signs Your Business is Dying
shpigford
187
23k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
670
Agile that works and the tools we love
rasmusluckow
331
22k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Transcript
AWSしくじり先生 NLPハンズオンでまさかの。。。 神田 佳積(Kazumi Kanda)
自己紹介 • 神田 佳積(Kazumi Kanda) • Twitter:@kazumiks • 福岡のシステム受託会社に勤務 •
サーバサイドエンジニアだが、現在は terraformを用いたAWSの構築+ Lambdaでの開発(Python) • JAWS-UG横浜運営スタッフ
話したいこと • AWSの課金について • Cost Explorerについて
背景 • 昨年3月のJAWS DAYS 2020でNLP(自然言語処理)ハン ズオンに参加。(LINE APIの部分までは到達できず。。。) • そのNLPハンズオンでElasticSearch Serviceを利用したあと
で。。。
NLPハンズオンでやったこと 1. Amazon Translateで適当な英語のニュースを探し、Lambdaを用いて日本語翻 訳する。 2. Amazon Pollyで日本語翻訳した文字列を音声変換し、ファイル保存する。 3. Pollyで音声変換した日本語翻訳ファイルをAmazon
TranscribeでLambdaを用 いて文字起こしする。 4. Transcribeで起こした文字をAmazon Comprehendで分析する。(Cloud9を使 用) 1. 分析結果にElastic Search Service(Kibana)を用いる。 このElastic Search Serviceでしくじることに。。。
昨年4月の請求 書を見たら。。。 請求額が2万円近く に。。。(>_<)
CostExplorer を見たら… NLPハンズオンの終了 後に急激に課金され ていることが判明。。。 この期間に課金が…
リージョンとサービスで 見ると… • リージョンはオレゴンでや たら課金されている。。。 ($5/日) • サービスは Elasticsearch Serviceで課金されて
いた!
原因は。。。 • Elasticsearch Serviceのインスタンス (r5.large.elasticsearch)を立ち上げっぱなしのママ1ヶ月放 置し、$5/日の課金をされていた。 • 使用しているElasticsearch Serviceのインスタンスタイプが高 いもの($0.186/時間)だった。
インスタンスタイプで 見ると… r5.large.elastics earch(Elasticse arch Serviceのイ ンスタンスタイプ)で $4.46/日課金され ている。
ElasticSearch Serviceの料金は? (2020/5/28当時・オレゴ ンリージョンにて) • 無料利用枠あり (t2.micro.elasticse archインスタンスタイプ で750時間/月) •
r5.large.elasticsear chインスタンスタイプは $0.186/時間。
現在の ElasticSearch Serviceの料金につ いて • t3.small.elasticsear chが無料利用枠のイン スタンスタイプに加わった • r5.large.elasticsear
chインスタンスタイプの 値段は$0.186/時間 ママ
原因特定後は。。。 • 立ち上げっぱなしだったElasticsearch Serviceのドメイン(イン スタンス)を削除。 • S3バケット、Cloud9等も併せて削除
まとめ ハンズオン終了後は後片 付けを忘れずに。
御清聴ありがとう ございました!