Upgrade to Pro — share decks privately, control downloads, hide ads and more …

クラウドアプリケーション開発 w/ SendGrid #くまあず #jazug

0a8fe8f4728dbd9536a50f41dedf3103?s=47 nakansuke
November 26, 2016

クラウドアプリケーション開発 w/ SendGrid #くまあず #jazug

2016.11.26 JAZUG熊本支部 勉強会#2の発表資料です。
Azure成分少なめですが。。

0a8fe8f4728dbd9536a50f41dedf3103?s=128

nakansuke

November 26, 2016
Tweet

Transcript

  1. Ϋϥ΢υΞϓϦέʔγϣϯ։ൃ w/ SendGrid 2016.11.26 JAZUG۽ຊࢧ෦ ษڧձ#2

  2. Who am I ? ,"/46,& /","* 4FOE(SJEΤόϯδΣϦετ ⿣  ߏ଄ܭըݚڀॴ(SendGrid೔ຊ୅ཧళ) ۈ຿

    ⿣  SendGridͷັྗΛ఻͑ΔͨΊ೔ʑຉ૸த ⿣  ༷ʑͳٕज़ऀίϛϡχςΟʹࢀՃ @nakansuke kansuke-nakai@kke.co.jp http://nakansuke.hatenablog.com/
  3. ຊΛॻ͖·ͨ͠ʢҰ෦ʣ ޮՌతͳಋೖɾӡ༻ͷͨΊͷ "NB[PO8FC4FSWJDFT׆༻ೖ໳ =  ൃചϚΠφϏग़൛  ୲౰෦෼ɿ Amazon Simple

    Email Service (SES)
  4. ձࣾ঺հ ૑ۀ ઃཱ ୅දऀ ࢿຊۚ ॴһ਺ ্৔ࢢ৔ ࣄۀॴ ೥݄ ೥݄

    ୅දऔక໾ࣾ௕$&0ɹ෰෦ਖ਼ଠ ԯສԁ ໊ʢ೥݄೔࣌఺ʣ +"4%"2ʢ೥݄גࣜެ։ʣ ຊॴɹ౦ژ౎த໺۠ ۽ຊߏ଄ܭըݚڀॴɹ۽ຊݝ٠஑܊ େࡕࢧࣾɹେࡕ෎େࡕࢢதԝ۠ ໊ݹ԰ࢧࣾɹѪ஌ݝ໊ݹ԰ࢢத۠ ෱Ԭࢧࣾɹ෱Ԭݝ෱Ԭࢢതଟ۠ ্ւறࡏһࣄ຿ॴɹத՚ਓຽڞ࿨ࠃ্ւࢢ σϯόʔறࡏһࣄ຿ॴɹΞϝϦΧίϩϥυभ ,,&4*/("103&15&-5%ɹγϯΨϙʔϧ
  5. ࣮͸۽ຊͱͷؔ܎͕ਂ͘ɺ ·ͨɺ۝भͷଟ͘ͷ৓ֲͷ࠶ݐ࣌ʹߏ଄ઃܭΛ୲౰͠·ͨ͠

  6. ͘·͋ͣͱࢲͷؔ܎

  7. ͔͜͜Βຊ୊

  8. Email Platform as a Service 8FCαʔϏε౳ 4FOE(SJE SMTP or Web

    API ड৴#09ʹ౸ண ϝʔϧʹؔ͢Δ͋ΒΏΔػೳΛAPIͰఏڙ͢ΔSaaS
  9. ϝʔϧʁʁ

  10. You Can’t Kill Email TechCrunch: https://techcrunch.com/2016/06/28/you-cant-kill-email/

  11. ECαΠτͰങ͍෺ͨ࣌͠ʹडऔΔϝʔϧ •  Ϣʔβొ࿥׬ྃ௨஌ •  ύεϫʔυϦηοτ •  ߪೖ׬ྃ௨஌ •  ΫϨδοτܾࡁ׬ྃ௨஌ • 

    ൃૹͷ͓஌Βͤ •  ഑ૹΞοϓσʔτ
  12. Social, SMS, TweetͳͲͷπʔϧͱൺֱͯ͠࠷΋ROI͕ߴ͍ ❖  ੈքதͰ40ԯҎ্ͷϝʔϧΞΧ΢ϯτ ❖  ͦͷ͏ͪ25%͕ۀ຿ར༻ͷΞΧ΢ϯτ ❖  1ਓ͋ͨΓ3ΞΧ΢ϯτఔ౓อ࣋ ❖ 

    ϚʔέςΟϯάϝʔϧͷ։෧཰͸ฏۉ20~25% ❖  1ਓ͕ड͚औΔϚʔέςΟϯάϝοηʔδ͸500Ҏ্/݄ ϝʔϧʹؔ͢Δࣄ࣮
  13. ओͳϝʔϧͷར༻༻్ τϥϯβΫγϣϯϝʔϧ ϚʔέςΟϯάϝʔϧ ⿣  ༑ୡϦΫΤετ ⿣  ύεϫʔυϦϚΠϯμ ⿣  ൃૹͷ͓஌Βͤ ⿣ 

    ܾࡁ׬ྃͷ͓஌Βͤ ⿣  ϝʔϧϚΨδϯ ⿣  χϡʔεϨλʔ ⿣  ϦπΠʔτ͞Ε·ͨ͠ ⿣  εςοϓϝʔϧ
  14. ༻్ͷมԽ ਓͱਓͷίϛϡχέʔγϣϯ ਓʹϦʔν͢ΔͨΊͷπʔϧ

  15. ͔͠͠ϝʔϧΛಧ͚Δͷ͸೉͍͠

  16. 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
  17. ϝʔϧ഑৴ͷྺ࢙ ʮແடংʯ࣌୅ Ұׅେྔ഑৴ʹΑΓϝʔϧ͸ݏ͕ΒΕΔ΋ͷʹ ʮεύϜใࠂʯ࣌୅ εύϜϘλϯΛ࢖ͬͯεύϜΛ๾໓͢ΔΑ͏ʹ ʮΤϯήʔδϝϯτʯ࣌୅ εύϜϑΟϧλ͕ચ࿅͞ΕΑΓෳࡶʹͳΓɺ·ͨύʔιφϥΠζ ͞ΕͨϑΟϧλʹΑΓෆཁͳϝʔϧ͸ϒϩοΫ͞ΕΔΑ͏ʹ ड͚ख͕ཉ͕͠ΔϝʔϧΛૹΔඞཁ͕Ͱ͖ͯͨ

  18. ಧ͚ΔͨΊʹߟྀ͢΂͖͜ͱ ⿣  ૹ৴υϝΠϯೝূ ⿣  ό΢ϯεϝʔϧͷରॲ ⿣  ϦετΫϦʔχϯά ⿣  ഑৴ස౓ɺϘϦϡʔϜௐ੔ ⿣ 

    *1΢ΥʔϜΞοϓ ⿣  Ϩϐϡςʔγϣϯ؅ཧ ⿣  ϑΟʔυόοΫϧʔϓ ⿣  ϒϥοΫϦετରࡦ
  19. ϝʔϧ഑৴ʹಛԽͨ͠αʔϏεΛར༻ͯ͠ղܾ͢Δ ⿣  ߟྀ͠ͳ͚Ε͹ͳΒͳ͍͜ͱ͕ଟ͗͢Δ ⿣  ໘౗Λݟ͍ͯΔ͚ͩͰ͕࣌ؒա͗ͯ͠·͏ ⿣  օɺಧ͍ͯ౰ͨΓલͩͱࢥ͍ͬͯΔ

  20. One Platform for All Your Email

  21. ݩ͔Βඋ͍͑ͯΔػೳ ⿣  ૹ৴υϝΠϯೝূ ⿣  ό΢ϯεϦετͷ࡞੒ɺ࠶ૹ࣌ഁغ ⿣  ഑৴ఀࢭ؅ཧ ⿣  ։෧ΫϦοΫτϥοΩϯά ϝʔϧपΓͰඞཁʹͳΔػೳ͸σϑΥϧτͰఏڙ

  22. Partners

  23. Our Happy Customers

  24. ݄ؒ300ԯ௨ૹ৴

  25. ͏Ε͍͠ػೳͨͪ

  26. Suppression List ό΢ϯε΍εύϜใࠂͳͲɺ ࠶ૹͯ͠͸·͍ͣ৔߹ʹࣗಈతʹഁغ ⿣  #PVODFT ⿣  4QBN3FQPSUT ⿣  *OWBMJE

    ⿣  6OTVCTDSJCF
  27. X-SMTPAPI ΦϦδφϧͷ֦ுػೳ ⿣  ϦΫΤετͰͷେྔૹ৴ ⿣  ࠩ͠ࠐΈ ⿣  ΧςΰϦ෼͚ ⿣  ࣝผ༻*%෇༩

    ⿣  ֤छػೳͷ0O0⒎੾ସ { "to": [ "ben@sendgrid.com", "joe@sendgrid.com" ], "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 }
  28. Event Webhook ൃੜͨ͠Πϕϯτ৘ใΛࢦఆͨ͠URLʹPOST͢Δػೳ ར༻ྫɿϩά஝ੵ 3FDFJWF 1SPDFTT %FMJWFS 3FBE SFDFJWFE FWFOUOPUHFOFSBUFE

    QSPDFTTFE ESPQQFE EFMJWFSFE CPVODF PQFO DMJDL VOTVCTDSJCF TQBNSFQPSU
  29. Parse Webhook ड৴ͨ͠ϝʔϧΛύʔεͯ͠ࢦఆͨ͠URLʹPOST͢Δػೳ ར༻ྫɿۭϝʔϧɺ͓໰͍߹Θͤड෇͚ &NBJM 1045

  30. ໘౗ͳ͜ͱ͸SaaSʹ೚ͤͯຊۀʹ஫ྗ ࠷ۙͷ܏޲ͱͯ͠ɺSaaSͳͲ༷ʑͳWebαʔϏε͕ఏ ڙ͢ΔAPIΛར༻ͯ͠ɺ։ൃ଎౓ΛߴΊΔಈ͖͕Ճ଎   ϝʔϧ഑৴ɿSendGrid   ి࿩ɿTwilio   ࢮ׆ɾੑೳ؂ࢹɿNew Relic,

    Mackerel   ໊ࢗɿSansan   ձܭɿfreee, ϚωʔϑΥϫʔυ   ஍ਤɿGoogle Map, MapFan   SFA/CRMɿSalesforce ͳͲ͋ΒΏΔ෼໺ͷαʔϏε͕ଘࡏ source: ೔ܦSYSTEMS
  31. Azure & SendGrid

  32. 2012೥1݄ʹఏܞൃද Azure͔Βͷϝʔϧૹ৴͸SendGridҰ୒ʂ

  33. Azure & SendGridࣄྫ

  34. 1. ௚઀ܖ໿ʢsendgrid.comʣ - શػೳར༻ՄೳɺΫϨδοτΧʔυࢧ෷͍ɺυϧ෷͍ 2. ύʔτφʔܦ༝ 2.1 ߏ଄ܭըݚڀॴʢsendgrid.kke.co.jpʣ - ೔ຊޠυΩϡϝϯτɺαϙʔτɺ೔ຊԁՁ֨ɺ੥ٻॻ෷͍Մ

    2.2 Azure Marketplace - ແྉ࿮͕݄ؒ25,000௨ʢ௨ৗ12,000௨ʣɺҰ෦ػೳ੍ݶ͋Γ ஫ҙɿෳ਺ͷܖ໿ϧʔτ͕ଘࡏ ,,&Ͱ͸ϧʔτʹΑΒͣαϙʔτ͠·͕͢ɺύʔτφʔݻ༗ͷ໰୊ʹ͍ͭͯ͸ର৅֎ͱ͍ͯ͠·͢
  35. DEMO

  36. Happy Sending!! Delivering  Email  that  Ma0ers