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
クラウドアプリケーション開発w/ SendGrid #くまあず #jazug
Search
nakansuke
November 26, 2016
Technology
1
190
クラウドアプリケーション開発 w/ SendGrid #くまあず #jazug
2016.11.26 JAZUG熊本支部 勉強会#2の発表資料です。
Azure成分少なめですが。。
nakansuke
November 26, 2016
Tweet
Share
More Decks by nakansuke
See All by nakansuke
Gmailの新ガイドラインでエンジニアが知っておくべき、これからの「メール配信」のあり方
nakansuke
0
120
SendGrid Introduction
nakansuke
0
350
コミュニティで写真を撮るときの心得
nakansuke
1
2.8k
コミュニティ、デベロッパとの付合い方 〜SendGridの場合〜
nakansuke
1
1.7k
SendGrid x kintone利用例紹介と効果的な活用方法
nakansuke
0
1.1k
SendGrid New Features #sgnight7
nakansuke
0
190
SendGrid APIインプット#mbshack
nakansuke
0
140
海外Webサービスを日本に持ってきた話
nakansuke
0
420
Community & Developer Relations #CMC_Meetup
nakansuke
1
820
Other Decks in Technology
See All in Technology
SDN の Hype Cycle を一通り経験してみて思うこと / Going through the Hype Cycle of SDN
mshindo
3
290
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
130
心が動くエンジニアリング ── 私が夢中になる理由
16bitidol
0
130
Android 15 でウィジェットピッカーのプレビュー画像をGlanceで魅せたい/nikkei-tech-talk-27-1
nikkei_engineer_recruiting
0
110
日経電子版のStoreKit2フルリニューアル
shimastripe
2
160
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
7
740
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
330
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
アジャイルでの品質の進化 Agile in Motion vol.1/20241118 Hiroyuki Sato
shift_evolve
0
210
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.9k
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.9k
初心者向けAWS Securityの勉強会mini Security-JAWSを9ヶ月ぐらい実施してきての近況
cmusudakeisuke
0
150
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Making Projects Easy
brettharned
115
5.9k
Optimizing for Happiness
mojombo
376
70k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Code Review Best Practice
trishagee
64
17k
A Tale of Four Properties
chriscoyier
156
23k
A better future with KSS
kneath
238
17k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Documentation Writing (for coders)
carmenintech
65
4.4k
Transcript
ΫϥυΞϓϦέʔγϣϯ։ൃ w/ SendGrid 2016.11.26 JAZUG۽ຊࢧ෦ ษڧձ#2
Who am I ? ,"/46,& /","* 4FOE(SJEΤόϯδΣϦετ ߏܭըݚڀॴ(SendGridຊཧళ) ۈ
SendGridͷັྗΛ͑ΔͨΊʑຉத ༷ʑͳٕज़ऀίϛϡχςΟʹࢀՃ @nakansuke
[email protected]
http://nakansuke.hatenablog.com/
ຊΛॻ͖·ͨ͠ʢҰ෦ʣ ޮՌతͳಋೖɾӡ༻ͷͨΊͷ "NB[PO8FC4FSWJDFT׆༻ೖ = ൃചϚΠφϏग़൛ ୲෦ɿ Amazon Simple
Email Service (SES)
ձࣾհ ۀ ઃཱ දऀ ࢿຊۚ ॴһ ্ࢢ ࣄۀॴ ݄ ݄
දऔకࣾ$&0ɹ෦ਖ਼ଠ ԯສԁ ໊ʢ݄࣌ʣ +"4%"2ʢ݄גࣜެ։ʣ ຊॴɹ౦ژத۠ ۽ຊߏܭըݚڀॴɹ۽ຊݝ٠܊ େࡕࢧࣾɹେࡕେࡕࢢதԝ۠ ໊ݹࢧࣾɹѪݝ໊ݹࢢத۠ ԬࢧࣾɹԬݝԬࢢതଟ۠ ্ւறࡏһࣄॴɹத՚ਓຽڞࠃ্ւࢢ σϯόʔறࡏһࣄॴɹΞϝϦΧίϩϥυभ ,,&4*/("103&15&-5%ɹγϯΨϙʔϧ
࣮۽ຊͱͷ͕ؔਂ͘ɺ ·ͨɺभͷଟ͘ͷֲͷ࠶ݐ࣌ʹߏઃܭΛ୲͠·ͨ͠
͘·͋ͣͱࢲͷؔ
͔͜͜Βຊ
Email Platform as a Service 8FCαʔϏε 4FOE(SJE SMTP or Web
API ड৴#09ʹ౸ண ϝʔϧʹؔ͢Δ͋ΒΏΔػೳΛAPIͰఏڙ͢ΔSaaS
ϝʔϧʁʁ
You Can’t Kill Email TechCrunch: https://techcrunch.com/2016/06/28/you-cant-kill-email/
ECαΠτͰങ͍ͨ࣌͠ʹडऔΔϝʔϧ • Ϣʔβొྃ௨ • ύεϫʔυϦηοτ • ߪೖྃ௨ • ΫϨδοτܾࡁྃ௨ •
ൃૹͷ͓Βͤ • ૹΞοϓσʔτ
Social, SMS, TweetͳͲͷπʔϧͱൺֱͯ͠࠷ROI͕ߴ͍ ❖ ੈքதͰ40ԯҎ্ͷϝʔϧΞΧϯτ ❖ ͦͷ͏ͪ25%͕ۀར༻ͷΞΧϯτ ❖ 1ਓ͋ͨΓ3ΞΧϯτఔอ࣋ ❖
ϚʔέςΟϯάϝʔϧͷ։෧ฏۉ20~25% ❖ 1ਓ͕ड͚औΔϚʔέςΟϯάϝοηʔδ500Ҏ্/݄ ϝʔϧʹؔ͢Δࣄ࣮
ओͳϝʔϧͷར༻༻్ τϥϯβΫγϣϯϝʔϧ ϚʔέςΟϯάϝʔϧ ༑ୡϦΫΤετ ύεϫʔυϦϚΠϯμ ൃૹͷ͓Βͤ
ܾࡁྃͷ͓Βͤ ϝʔϧϚΨδϯ χϡʔεϨλʔ ϦπΠʔτ͞Ε·ͨ͠ εςοϓϝʔϧ
༻్ͷมԽ ਓͱਓͷίϛϡχέʔγϣϯ ਓʹϦʔν͢ΔͨΊͷπʔϧ
͔͠͠ϝʔϧΛಧ͚Δͷ͍͠
22%ͷϝʔϧ͕Inboxʹಧ͍͍ͯͳ͍ "2- -JWF (PPHMF :BIPP *41T &UD 403#4 144- $#-
#4# #MBDLMJTUT &UD (PPHMF 4QBN "TTBTTJO .BJM 5SVTU .D"GFF 4QBN 'JMUFST &UD /( ड৴#09 εύϜϑΥϧμ ϝʔϧαʔό &UD &UD &UD SourceɿReturn Path
ϝʔϧ৴ͷྺ࢙ ʮແடংʯ࣌ Ұׅେྔ৴ʹΑΓϝʔϧݏ͕ΒΕΔͷʹ ʮεύϜใࠂʯ࣌ εύϜϘλϯΛͬͯεύϜΛ໓͢ΔΑ͏ʹ ʮΤϯήʔδϝϯτʯ࣌ εύϜϑΟϧλ͕ચ࿅͞ΕΑΓෳࡶʹͳΓɺ·ͨύʔιφϥΠζ ͞ΕͨϑΟϧλʹΑΓෆཁͳϝʔϧϒϩοΫ͞ΕΔΑ͏ʹ ड͚ख͕ཉ͕͠ΔϝʔϧΛૹΔඞཁ͕Ͱ͖ͯͨ
ಧ͚ΔͨΊʹߟྀ͖͢͜ͱ ૹ৴υϝΠϯೝূ όϯεϝʔϧͷରॲ ϦετΫϦʔχϯά ৴සɺϘϦϡʔϜௐ
*1ΥʔϜΞοϓ Ϩϐϡςʔγϣϯཧ ϑΟʔυόοΫϧʔϓ ϒϥοΫϦετରࡦ
ϝʔϧ৴ʹಛԽͨ͠αʔϏεΛར༻ͯ͠ղܾ͢Δ ߟྀ͠ͳ͚ΕͳΒͳ͍͜ͱ͕ଟ͗͢Δ ໘Λݟ͍ͯΔ͚ͩͰ͕࣌ؒա͗ͯ͠·͏ օɺಧ͍ͯͨΓલͩͱࢥ͍ͬͯΔ
One Platform for All Your Email
ݩ͔Βඋ͍͑ͯΔػೳ ૹ৴υϝΠϯೝূ όϯεϦετͷ࡞ɺ࠶ૹ࣌ഁغ ৴ఀࢭཧ ։෧ΫϦοΫτϥοΩϯά ϝʔϧपΓͰඞཁʹͳΔػೳσϑΥϧτͰఏڙ
Partners
Our Happy Customers
݄ؒ300ԯ௨ૹ৴
͏Ε͍͠ػೳͨͪ
Suppression List όϯεεύϜใࠂͳͲɺ ࠶ૹͯ͠·͍ͣ߹ʹࣗಈతʹഁغ #PVODFT 4QBN3FQPSUT *OWBMJE
6OTVCTDSJCF
X-SMTPAPI ΦϦδφϧͷ֦ுػೳ ϦΫΤετͰͷେྔૹ৴ ࠩ͠ࠐΈ ΧςΰϦ͚ ࣝผ༻*%༩
֤छػೳͷ0O0⒎ସ { "to": [ "
[email protected]
", "
[email protected]
" ], "sub": { "%name%": [ "Ben", "Joe" ] }, "category": [ "Orders" ], "unique_args": { "orderNumber": "12345", "eventID": "6789" }, "filters": { "footer": { "settings": { "enable": 1, "text/plain": "Thank you for your business" } } }, "send_at": 1409348513 }
Event Webhook ൃੜͨ͠ΠϕϯτใΛࢦఆͨ͠URLʹPOST͢Δػೳ ར༻ྫɿϩάੵ 3FDFJWF 1SPDFTT %FMJWFS 3FBE SFDFJWFE FWFOUOPUHFOFSBUFE
QSPDFTTFE ESPQQFE EFMJWFSFE CPVODF PQFO DMJDL VOTVCTDSJCF TQBNSFQPSU
Parse Webhook ड৴ͨ͠ϝʔϧΛύʔεͯ͠ࢦఆͨ͠URLʹPOST͢Δػೳ ར༻ྫɿۭϝʔϧɺ͓͍߹Θͤड͚ &NBJM 1045
໘ͳ͜ͱSaaSʹͤͯຊۀʹྗ ࠷ۙͷͱͯ͠ɺSaaSͳͲ༷ʑͳWebαʔϏε͕ఏ ڙ͢ΔAPIΛར༻ͯ͠ɺ։ൃΛߴΊΔಈ͖͕Ճ ϝʔϧ৴ɿSendGrid ిɿTwilio ࢮ׆ɾੑೳࢹɿNew Relic,
Mackerel ໊ɿSansan ձܭɿfreee, ϚωʔϑΥϫʔυ ਤɿGoogle Map, MapFan SFA/CRMɿSalesforce ͳͲ͋ΒΏΔͷαʔϏε͕ଘࡏ source: ܦSYSTEMS
Azure & SendGrid
20121݄ʹఏܞൃද Azure͔Βͷϝʔϧૹ৴SendGridҰʂ
Azure & SendGridࣄྫ
1. ܖʢsendgrid.comʣ - શػೳར༻ՄೳɺΫϨδοτΧʔυࢧ͍ɺυϧ͍ 2. ύʔτφʔܦ༝ 2.1 ߏܭըݚڀॴʢsendgrid.kke.co.jpʣ - ຊޠυΩϡϝϯτɺαϙʔτɺຊԁՁ֨ɺٻॻ͍Մ
2.2 Azure Marketplace - ແྉ͕݄ؒ25,000௨ʢ௨ৗ12,000௨ʣɺҰ෦ػೳ੍ݶ͋Γ ҙɿෳͷܖϧʔτ͕ଘࡏ ,,&ͰϧʔτʹΑΒͣαϙʔτ͠·͕͢ɺύʔτφʔݻ༗ͷʹ͍ͭͯର֎ͱ͍ͯ͠·͢
DEMO
Happy Sending!! Delivering Email that Ma0ers