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

ServerLessでPriceLessの夢を見たい/serverless-priceless-dream

 ServerLessでPriceLessの夢を見たい/serverless-priceless-dream

JAWS-UG福岡 2016/6/11「3度目の濃い目にAWSの話をしてみよう」でお話した資料です。

Kunihiro Morita

June 11, 2016
Tweet

More Decks by Kunihiro Morita

Other Decks in Technology

Transcript

  1. ServerLessͰ PriceLessͷເΛݟ͍ͨ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 1

  2. ৿ా๜༟ @morita92hiro kunihiro.morita.52 • גࣜձࣾΦϧλʔϒʔε • ιϦϡʔγϣϯΞʔΩςΫτ • Πϯϑϥ 2016/6/11

    JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 2
  3. 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 3

  4. 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 4

  5. 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 5

  6. ৐Δ͔͠ͳ͍ ͜ͷϏοά΢Σʔϒʹ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 6

  7. ֹ݄10ԁ͔Β࡞ΔServerLess Website 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 7

  8. ྉۚΛߟ͑Δ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 8

  9. ੩తαΠτ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 9

  10. S3ྉۚ ແྉ࿮1 1 https://aws.amazon.com/jp/free/ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 10

  11. ετϨʔδ4 4 https://aws.amazon.com/jp/s3/pricing/ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 11

  12. ϦΫΤετ4 4 https://aws.amazon.com/jp/s3/pricing/ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 12

  13. σʔλసૹ4 4 https://aws.amazon.com/jp/s3/pricing/ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 13

  14. 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 14

  15. ֹ݄0ԁ͔Β 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 15

  16. ͓໰͍߹Θͤϖʔδ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 16

  17. Cognitoྉۚ ແྉ࿮1 1 https://aws.amazon.com/jp/free/ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 17

  18. IAMྉۚ ແྉ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 18

  19. ֹ݄0ԁ͔Β 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 19

  20. ͓໰͍߹Θͤ௨஌ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 20

  21. Lambdaྉۚ ແྉ࿮1 1 https://aws.amazon.com/jp/free/ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 21

  22. SESྉۚ ແྉ࿮1 1 https://aws.amazon.com/jp/free/ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 22

  23. ֹ݄0ԁ͔Β 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 23

  24. ந৅Խ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 24

  25. SNSྉۚ ແྉ࿮1 1 https://aws.amazon.com/jp/free/ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 25

  26. ֹ݄0ԁ͔Β 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 26

  27. ߴ଎Խ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 27

  28. CloudFrontྉۚ ແྉ࿮1 1 https://aws.amazon.com/jp/free/ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 28

  29. σʔλసૹ5 5 https://aws.amazon.com/jp/cloudfront/pricing/ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 29

  30. ϦΫΤετ5 5 https://aws.amazon.com/jp/cloudfront/pricing/ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 30

  31. ࡉ͔͍͜ͱ͸ʢ͈́ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 31

  32. ֹ݄0ԁ͔Β 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 32

  33. SSLূ໌ॻ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 33

  34. ACMྉۚ ແྉ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 34

  35. ֹ݄0ԁ͔Β 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 35

  36. WAF 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 36

  37. WAFྉۚ • ΢Σϒ ACL 5 USD (΢Σϒ ACL͝ͱ) /݄ 1

    USD (΢Σϒ ACL ಺ͷϧʔϧ) /݄ • ϦΫΤετ 100 ສ΢ΣϒϦΫΤετ͋ͨΓ 0.60 USD 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 37
  38. ֹ݄660ԁ(6υϧ)͔Β2 2 1υϧ=110ԁ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 38

  39. DNS 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 39

  40. Route53ྉۚ • ϗετκʔϯ 0.50 USDʢϗετκʔϯ͝ͱʣ/݄ – ࠷ॳͷ25ͷϗετκʔϯ 0.10 USDʢϗετκʔϯ͝ͱʣ/݄ –

    ͦΕҎ্ͷϗετκʔϯ • ΫΤϦ 0.400 USDʢ100 ສΫΤϦ͝ͱʣ – ࠷ॳͷ 10 ԯΫΤϦ/݄ 0.200 USDʢ100 ສΫΤϦ͝ͱʣ – 10 ԯΫΤϦҎ্/݄ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 40
  41. ֹ݄715ԁ(6+0.5υϧ)͔Β2 2 1υϧ=110ԁ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 41

  42. ҉߸ˍ෮߸ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 42

  43. KMSྉۚ • 1 USD (Ωʔ͝ͱ) /݄ • ϦΫΤετແྉ࿮1 1 https://aws.amazon.com/jp/free/

    2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 43
  44. ֹ݄825ԁ(6+0.5+1υϧ)͔Β23 3 SendGrid Freeϓϥϯ 2 1υϧ=110ԁ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 44

  45. ·ͱΊ • ແྉ࿮͋Γֹ݄0ԁ͔Β • ແྉ࿮͋Γֹ݄825ԁɺWAFআ͚͹165ԁ͔Β 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 45

  46. ࠔͬͨͱ͖͸ElasticBeanstalk 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 46

  47. αʔόʔ͋Γ or ͳ͠ ͲͬͪͰ࡞Δʁ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 47

  48. ServerLessͰ PriceLessͷ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 48

  49. ເΛݟ͍ͨ ͍͍ເΛݟΔ 2016/6/11 JAWS-UG෱Ԭ ̏౓໨ͷೱ͍໨ʹAWSͷ࿩Λͯ͠ΈΑ͏ 49