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
Transcript
15 slides
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等も併せて削除
まとめ ハンズオン終了後は後片 付けを忘れずに。
御清聴ありがとう ございました!
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
550
サウナとの出会い、そして『エンジニア銭湯』へ
kazkanda
0
160
浜松町で見つけた松屋より安いカレー屋の話
kazkanda
0
1.4k
Other Decks in Technology
See All in Technology
生成AI時代のIAMのマニアックな話
takuros
6
3.2k
アラートを見直していたら営業組織への理解にちょっとだけ繋がった話
z63d
1
190
JAWS_FESTA2026_オンプレ-AWS間プロキシサーバの移行_性能_障害対応で得た実践ノウハウ_高島一晃.pdf
tkazuaki0820
1
110
Context != Context: One window, many lifecycles (AI Native DevCon, Nov 2026)
birgitta410
0
120
AIエージェントの監視、思考を見るか行動を見るか / Monitoring AI Agents: Thoughts or Actions
yusukeshimizu
2
190
Kiro を使うコツ (頼み方、覚えさせ方、任せ方) | 目指せ Kiro マスター 09
inariku
PRO
3
150
Gifu WordPress Meetup #200 に向けて、私たちには何ができるだろうか?/ 2026-11-07 Gifu WordPress Meetup
torounit
0
280
Go初心者のクラウドエンジニアが、デプロイを通して旨味を知っていく話
ryudai
1
190
2026-11-11 Tamachi.sre#7 PaCにインフラリソースの命を救われました。 / PaC saves the infra resource life
masasuzu
0
150
Kiro CLI 入門 (ターミナルと CI で使う) | 目指せ Kiro マスター 03
inariku
PRO
2
140
Context Ontology Accelerator 入門 (業務データの意味を、AI エージェントに渡す)
inariku
PRO
3
670
ぼくのClaude Codeの使い方
falken
PRO
3
6k
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
530
A designer walks into a library…
pauljervisheath
211
25k
Testing 201, or: Great Expectations
jmmastey
46
8.4k
The Language of Interfaces
destraynor
162
27k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Designing for Timeless Needs
cassininazir
1
560
Typedesign – Prime Four
hannesfritz
42
3.2k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
60k
Speed Design
sergeychernyshev
33
2.2k
The agentic SEO stack - context over prompts
schlessera
0
1k
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
530