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
メール配信基盤をAmazon SESに移行した話
Search
山田哲也
October 02, 2023
Technology
830
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
メール配信基盤をAmazon SESに移行した話
山田哲也
October 02, 2023
More Decks by 山田哲也
See All by 山田哲也
k6で負荷試験をやってみた話
techi
0
970
Other Decks in Technology
See All in Technology
DMMブックスのNext.js化を加速させるAI活用 / Migrating DMM Books to Next.js with AI
kentarom
1
310
分割40%キーボードにスムーズに入門するには
hoto17296
1
220
V8コントリビュート超入門
riyaamemiya
0
110
Backstageでつくるセルフサービスな社内開発基盤
kikunosuke75
1
210
『自分で判断できるか』を基準に、プロダクトのハンズオン研修でAI利用の線を引いてみた / Where We Drew the Line on AI in Hands-on Training
honyanya
1
840
Bet AI Day 2026丨Production-Ready AI Agents — エンタープライズの実務を任せるための設計と運用
layerx
PRO
2
1.7k
Beyond the Hype: Practical AI for Your Oracle Database with MCP
thatjeffsmith
1
170
Driving AI Adoption Using In-House GPUs to Serve Qwen
po3rin
2
350
AI時代に、プロダクトの数だけ積み上がる所有コストをどうエンジニアリングするか / Engineering the Cost of Ownership
kzkmaeda
0
460
こんなアーキテクチャ図は嫌だ BEYOND THE TIME: 半年後の自分へ贈る15のメッセージ / 15 of Anti-pattern in AWS Architecture Diagrams
naospon
2
140
Digitization部 紹介資料
sansan33
PRO
2
7.8k
データエンジニアの困りごとをDevinと一緒に解消する
10xinc
2
620
Featured
See All Featured
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
460
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
910
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
180
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
320
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
640
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
260
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
500
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
440
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Transcript
メール配信基盤を Amazon SESに移行した話 株式会社リーディングマーク 山田 哲也
山田哲也 株式会社リーディングマーク所属 インフラエンジニア X(旧Twitter):@techi_dev
None
移行の背景
移行前のメール配信 サービス ユーザー Mandrill (Mailchimp)
Mandrill (Mailchimp) 移行前のメール配信 サービス ユーザー 障害が多発!(去年5回ほど) ひどい時は一日中メール機能 が使えない日も
他サービスへ移行を決断
サービス 料金 メリット Amazon SES 1,000通/0.10USD ・awsサービスで統一できるので管理しやすい ・料金が圧倒的に安い ・AWSのサポートを受けられる Send
Grid 100,000通/12,000円 ・Railsライブラリがあるため導入が楽 ・事例や公式のドキュメントが充実している ・HTMLメールのテンプレートもGUIで作れる ・日本語サポートあり 移行先メール配信基盤の選定
サービス 料金 メリット Amazon SES 1,000通/0.10USD ・awsサービスで統一できるので管理しやすい ・料金が圧倒的に安い ・AWSのサポートを受けられる Send
Grid 40000通/2300円 ・導入が楽 ・事例や公式のドキュメントが充実している ・HTMLメールのテンプレートもGUIで作れる ・日本語サポートあり 移行先メール配信基盤の選定 導入や運用を考えるとSendGridの方が圧倒的に楽だったが、 AWSの知見を社内に溜めていきたいという想いから Amazon SESへの移行を選択
メール配信基盤の アーキテクチャ
メール送信&ステータス保存
メール送信&ステータス保存 このままだとサービス側でメッセージIDがわからないため 特定のメールステータスを検索することができない。 セカンドリリースとしてステータス参照機能を実装。
メール送信&ステータス保存
メール送信&ステータス保存 メッセージIDをサービスで利用しているDBに保存。 メッセージIDからメールステータス情報を取得できるように。
メールイベントデータの保存 ユーザーから 「メールが届かない」などの 問い合わせがあった際に使用。 サプレッションリストに登録され てしまっているケースが多い。
障害発生時のメール送信
移行後のメール配信基盤構成
最後に メール送信が安定した(障害率0.018%) コストがMailChimpの時と比べて1/3になった 多くのAWSサービスに触れられ知見が深まった アラートなど監視環境の整備 移行して良かった点 今後の課題
Thank You