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
AWSしくじり先生(NLPハンズオンのESSにて)
Search
kazkanda
April 27, 2021
Technology
0
1.7k
AWSしくじり先生(NLPハンズオンのESSにて)
kazkanda
April 27, 2021
Tweet
Share
More Decks by kazkanda
See All by kazkanda
2年ちょっとで18kg 減量した話
kazkanda
0
720
re:InventをVirtualで2年連続参加して(JAWS-UG 横浜支部LT)
kazkanda
0
160
在宅勤務で体重が やばくなったので。。。(IT運動部LT)
kazkanda
0
430
サウナとの出会い、そして『エンジニア銭湯』へ
kazkanda
0
110
浜松町で見つけた松屋より安いカレー屋の話
kazkanda
0
1.2k
Other Decks in Technology
See All in Technology
株式会社ビザスク_AI__Engineering_Summit_Tokyo_2025_登壇資料.pdf
eikohashiba
1
120
たまに起きる外部サービスの障害に備えたり備えなかったりする話
egmc
0
420
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
100
Strands AgentsとNova 2 SonicでS2Sを実践してみた
yama3133
1
1.9k
2025-12-18_AI駆動開発推進プロジェクト運営について / AIDD-Promotion project management
yayoi_dd
0
160
Agent Skillsがハーネスの垣根を超える日
gotalab555
6
4.5k
Introduce marp-ai-slide-generator
itarutomy
0
130
松尾研LLM講座2025 応用編Day3「軽量化」 講義資料
aratako
9
4.3k
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
6
1.7k
AWSの新機能をフル活用した「re:Inventエージェント」開発秘話
minorun365
2
470
AWS re:Invent 2025~初参加の成果と学び~
kubomasataka
1
200
MySQLとPostgreSQLのコレーション / Collation of MySQL and PostgreSQL
tmtms
1
1.3k
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
2
210
How to Think Like a Performance Engineer
csswizardry
28
2.4k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
350
Thoughts on Productivity
jonyablonski
73
5k
Facilitating Awesome Meetings
lara
57
6.7k
Applied NLP in the Age of Generative AI
inesmontani
PRO
3
2k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
150
More Than Pixels: Becoming A User Experience Designer
marktimemedia
2
260
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
120
4 Signs Your Business is Dying
shpigford
186
22k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
0
130
Claude Code のすすめ
schroneko
67
210k
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等も併せて削除
まとめ ハンズオン終了後は後片 付けを忘れずに。
御清聴ありがとう ございました!