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

SendGrid Night #04

7b2811ce112d0221e1dfd1fe86fc24d7?s=47 Koichiro Ohba
May 19, 2016
940

SendGrid Night #04

SendGrid導入のお話し

7b2811ce112d0221e1dfd1fe86fc24d7?s=128

Koichiro Ohba

May 19, 2016
Tweet

Transcript

  1. SendGridۤ࿑࿩ SendGrid Night #04; 2016-05-19

  2. גࣜձࣾΫϥ΢υϫʔΫε CTO

  3. ಋೖͨ͠ͱ͖ʹେมͩͬͨ͜ͱ

  4. CrowdWorks.jp user: 900000 mail: 4m/mon

  5. None
  6. SendGridΛಋೖ͢ΔͨΊʹ ॏཁͳ͜ͱ

  7. IPΞυϨεͷ৴པੑ ࣮੷ͷແ͍IPΞυϨε͔Βͷϝʔ ϧૹ৴͸εύϜϝʔϧ൑ఆ͞Ε΍ ͘͢Ϣʔβʔʹಧ͔ͳ͍͜ͱ͕͋ ΔʢಛʹΩϟϦΞϝʔϧʣ

  8. IP Warm up

  9. ΢ΥʔϜΞοϓ೔਺ ̍࣌ؒ͋ͨΓͷૹ৴਺ᮢ஋        

                                  
  10. None
  11. None
  12. None
  13. None
  14. ಥવͷΞΧ΢ϯτౚ݁

  15. தҪ͞Μͷखް͍αϙʔτ

  16. Spam mail trap

  17. ରࡦ

  18. Mail Confirm Campaign

  19. ਓ͕ड͚औ͍ͬͯΔϝʔϧΞ υϨε͚ͩΛEvent HookΛ ར༻ͯ͠நग़͠ɺΫϦʔϯͳ ϝʔϧΞυϨεΛ؅ཧ͢Δ

  20. DynamoDBʹอଘͨ͠ΫϦʔϯͳϝʔ ϧΞυϨεͱ෇͖͋Θͤͯ഑৴͢Δ

  21. ͍ͨͤͭͳ͜ͱ

  22. ͍͘Β४උͯ͠΋ࣦഊ͢Δ͜ ͱ͕͋Δ

  23. ΫϦʔϯͳϝʔϧΞυϨεͷҡ࣋

  24. ෼͚Δ (ϦεΫΛ࠷খԽ͢Δ)

  25. IPΛ༻్ʹΑͬͯ෼͚Δ

  26. υϝΠϯΛ༻్ʹΑͬͯ෼͚Δ

  27. αϒϢʔβʔΛ༻్ʹΑͬͯ෼͚Δ

  28. ෼͚͓͍ͯͨ͜ͱͰٹΘΕͨ͜ͱ • ౚ݁͞Ε͍ͯͳ͍αϒΞΧ΢ϯτ͸ӡ༻ΛܧଓͰ͖ͨ • ϒϥοΫϦετʹొ࿥͞Εͨͱ͖ͷӨڹൣғ͕ݶఆత

  29. ͍·औΓ૊ΜͰ͍Δ͜ͱ

  30. Meldium (https:// www.meldium.com/)ͱ૊Έ ߹ΘͤͯϢʔβʔαϙʔτͱ αϒΞΧ΢ϯτΛڞ༗ɻ ໰͍߹ΘͤͷରԠΛޮ཰Խɻ

  31. SendGridͷEvent HookΛ API GatewayͰड͚औΔ

  32. None
  33. DatadogͰදࣔ

  34. SendGrid΁ͷཁ๬

  35. Subuser΋ૹ৴ྔΛΈ͍ͨ

  36. APIΛ΋ͬͱ࢖͍΍͘͢

  37. Event hookʹෳ਺ͷ endpointΛొ࿥͍ͨ͠

  38. Parse hookʹ΋ෳ਺ͷendpointରԠ΄͍͠ • ड͚ΔϝʔϧΞυϨεʹΑͬͯPOSTઌͷURLΛ ม͍͑ͨ • ਖ਼نදݱͰendpointΛৼΓ෼͚Δ(Mandrill͸Ͱ ͖·͢) • Dateͷ೔෇ΛͱΓ͍ͨ(headersཁૉ͔Β୳ͯ͠

    ͜ͳ͍ͱ͍͚ͳ͍)