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

サーバレスアーキテクチャ

foxtrackjp
January 23, 2017

 サーバレスアーキテクチャ

若手エンジニア集合!新年LT交流会2017 in Fusic

foxtrackjp

January 23, 2017
Tweet

More Decks by foxtrackjp

Other Decks in Programming

Transcript

  1. αʔόϨεΞʔΩςΫνϟ
    Keigo Miyasue
    एखΤϯδχΞू߹ʂ৽೥LTަྲྀձ2017 in Fusic

    View full-size slide

  2. ࣗݾ঺հ
    • ٶ຤ ܒޗ
    • ϕΨίʔϙϨʔγϣϯ
    • ࡶ৯ΤϯδχΞʢiOSΤϯδχΞͩͬͨʣ
    • 20୅ऴྃ·ͰҰϲ݄Λ੾ͬͨ
    • ͖ͭͶ͔Θ͍͍
    keigo.miyasueʢݻΊʣ
    @foxtrackʢॊΒ͔Ίʣ

    View full-size slide

  3. ͦΜͳࢲ͕
    ࠷ۙϋϚ͍ͬͯΔ΋ͷ

    View full-size slide

  4. αʔόϨεΞʔΩςΫνϟ

    View full-size slide

  5. ࠓ೔͸উखʹɾɾ

    View full-size slide

  6. iOSΤϯδχΞ͕ɾɾ

    View full-size slide

  7. αʔόϨεΞʔΩςΫνϟ
    ʹ͍ͭͯޠΓ·͢

    View full-size slide

  8. ͦ΋ͦ΋αʔόϨεͱ͸
    αʔόϨε αʔόʢ؅ཧʣϨε
    Ϋϥ΢υ͕αʔό؅ཧͯ͘͠ΕΔ

    View full-size slide

  9. ΦϯϓϨϛε࣌୅
    • σʔληϯλʔʹߦ͔ͳ͍͍ͯ͘ʢޱͷத͕ס૩͠ͳ͍ʣ
    • αʔόങΘͳ͍͍ͯ͘ʢμϯϘʔϧ։͚ͳ͍͍ͯ͘ʣ
    • ճઢҾ͔ͳ͍͍ͯ͘ʢͦ΋ͦ΋ߟ͑ͳ͍͍ͯ͘ʣ
    • Θ͟Θ͟ग़ࣾ͠ͳͯ͘΋͍͍ʢ˞ײ૝ʹ͸ݸਓ͕ࠩ͋Γ·͢ʣ
    Ϋϥ΢υ࣌୅
    2011೥ʢaws Tokyo Regionʣ

    View full-size slide

  10. Ϋϥ΢υ࣌୅
    2011೥ʢaws Tokyo Regionʣ
    αʔόϨε࣌୅
    2015೥ʙʢʁʣ
    Linuxαʔό
    Nginx ruby

    View full-size slide

  11. APIGateway S3 Lambda
    APIͷޱΛ࡞ͬͯ͘ΕΔ
    φΠεͳ΍ͭ
    ϑΝΠϧΛอ؅ͯ͘͠ΕΔ
    φΠεͳ΍ͭ
    ίʔυΛ࣮ߦͯ͘͠ΕΔ
    φΠεͳ΍ͭ
    ؆୯ͳྫ

    View full-size slide

  12. APIGateway S3 Lambda
    ᶃΞοϓϩʔυ
    ᶄอ؅
    ᶅอ؅Λݕ஌
    ᶆαϜωΠϧΛ࡞੒
    ᶇอ؅Λݕ஌

    View full-size slide

  13. αʔόϨεͷϝϦοτ
    • αʔόΛ؅ཧɾ؂ࢹ͢Δඞཁ͕ͳ͍
    • ྉۚ͸࢖ͬͨ෼͚ͩɺैྔ՝ۚʢ͍҆ʣ
    • ίʔυͱઃఆͰ؆୯ͳαʔϏεͳΒͰ͖ͯ͠·͏
    • Ϋϥ΢υଆͰεέʔϧͯ͘͠ΕΔ
    • ίʔυʹूதͰ͖Δ

    View full-size slide

  14. αʔόϨεͷσϝϦοτ
    • Lambdaͷ࠷௕Քಇ࣌ؒ͸5෼
    • ήʔϜαʔόͳͲʹ͸޲͔ͳ͍
    • ·ͩ·ͩະख़ͳ෼໺

    View full-size slide

  15. ୅දతͳαʔϏεʢAWSʣ
    Lambda Kinesis
    APIGateway SQS SES
    Transcoder
    SNS DynamoDB CloudWatch
    Cognito CloudFront S3

    View full-size slide

  16. ·ͱΊ
    • αʔόϨε͸҆ͯ͘ศར
    • ༷ʑͳαʔϏεΛ૊Έ߹ΘͤͯαʔϏεΛ࡞Δ
    • ٕज़ͱͯ͠·ͩະख़
    • ͖ͭͶ͔Θ͍͍

    View full-size slide