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
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
790
re:InventをVirtualで2年連続参加して(JAWS-UG 横浜支部LT)
kazkanda
0
210
在宅勤務で体重が やばくなったので。。。(IT運動部LT)
kazkanda
0
540
サウナとの出会い、そして『エンジニア銭湯』へ
kazkanda
0
150
浜松町で見つけた松屋より安いカレー屋の話
kazkanda
0
1.3k
Other Decks in Technology
See All in Technology
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
4
1.3k
プロダクト価値を、 チームが使える判断軸に変える
vivion
0
130
今こそ知りたいAmplifyGen2
mkdev10
2
160
OR学会2026年秋期大会_機械学習と数理最適化の融合による、配合レシピ最適化システム開発事例
brainpadpr
0
100
BedrockとLambdaで作る リアルタイム進行型推理ゲーム
kawametho
0
200
継続的なAIコスト最適化
bgpat
1
220
Datadog の学び方 - あるいは、オブザーバビリティを学ぶとは何か
mananyuki
1
500
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
150
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
210
生成AIを使って「人が」考える技術 ― AI時代の人機共想と実践ノウハウ|UNITT AC2026
ishiirikie
0
560
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
2
980
自主式軟體工廠
philipz
0
240
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
GraphQLとの向き合い方2022年版
quramy
50
15k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
58k
Technical Leadership for Architectural Decision Making
baasie
3
590
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Ruling the World: When Life Gets Gamed
codingconduct
0
390
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
510
The Cult of Friendly URLs
andyhume
79
7k
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等も併せて削除
まとめ ハンズオン終了後は後片 付けを忘れずに。
御清聴ありがとう ございました!