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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
AI時代、つくる力を自分たちの手に。 ──電通×KAG、アジャイルとAI駆動開発で挑む開発の変革
yuukiyo
3
440
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
5
2.5k
AI AgentによるEmbedded SREの取り組み
tgidgd
1
270
AI駆動開発におけるハーネスエンジニアリングの勘所
tsukuboshi
1
890
AI時代のエンジニアの情報発信〜個人の発信を組織の力に変える〜
ryo_kawamata
0
4.5k
E2Eってつらくないですか?E2Eの管理コストを下げる手段とその実践
akaboshinit
6
2.8k
契約で守るコンパウンドプロダクトのデザインシステム
yug1224
1
1.6k
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
120
スマートロックを支えるFlutter × ネイティブ連携の実践 / Flutter and Native Integration in Practice: Powering Smart Locks
bitkey
PRO
0
110
日本AIベンチャーレポート2026
kentarofujii
0
260
AIコーディングエージェント開発_全体像
happysamurai294
0
140
Agent × Maestro で始める モバイル E2E 端末準備からテスト実行・結果確認まで
sansantech
PRO
0
240
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
470
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Statistics for Hackers
jakevdp
799
230k
We Are The Robots
honzajavorek
0
410
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
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等も併せて削除
まとめ ハンズオン終了後は後片 付けを忘れずに。
御清聴ありがとう ございました!