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

AWS Lambdaから始まった
Serverlessの「熱」とキャリアパス / It sta...

AWS Lambdaから始まった
Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path

AWS Lambda 10周年記念生誕祭
https://serverless-newworld.connpass.com/event/320224/

shiro seike

November 13, 2024
Tweet

More Decks by shiro seike

Other Decks in Programming

Transcript

  1. ©Fusic Co., Ltd. 2 ਗ਼Ո ࢙࿠ @seike460 AWS Community Builder

    Serverless Serverless Days Fukuoka 2019 Co-Chair ίϛϡχςΟ Fukuoka.php Fukuoka.go JAWS-UG Fukuoka Serverless Meetup Fukuoka Cloudflare Meetup Fukuoka JP_Stripes Fukuoka ࣗݾ঺հ ͸͡Ίʹ גࣜձࣾFusic From ෱Ԭ ϓϦϯγύϧΤϯδχΞ/ΤόϯδΣϦετ
  2. ©Fusic Co., Ltd. 3 CONTENTS ໨࣍ 1. AWS Lambdaʹग़ձ͏લͷ๻ 2.

    AWS Lambdaͱͷग़ձ͍ 3. িܸͷServerless Conf 2018 4. AWS LambdaͰߋʹॻ͖׵ΘΔ๻ͷΩϟϦΞύε
  3. ©Fusic Co., Ltd. 6 AWS Lambdaʹग़ձ͏લͷ๻ ʲલʑ৬ʳઌഐʹ͓ͩͯΒΕ௨ৗۀ຿ + HPɺϝαόɺDNS؅ཧΛ୲౰ ʲલ৬ʳΠϯϑϥ͕෯޿͘Θ͔Δ͜ͱͰΞϓϦ΋͠ͳ͕ΒΠϯϑϥ؅ཧ

    ΠϯϑϥدΓͷΠϯλʔωοτʹؔΘΔ஌ࣝ͸࠷௿ݶಘΒΕ·ͨ͠ ͦͷ݁ՌΠϯϑϥ͕ಘҙͳϑϧελοΫΤϯδχΞʹͳΓ·ͨ͠ ʮஅΒΜ͠ͱΓ͍͋͑ͣ͋ͭʹ΍Βͤͱ͖Ό͑͑΍Ζʯͱ͍͏ͿΜ౤͛ઌʹ… ΠϯϑϥΛ؅ཧ͢Δ͜ͱ͸ۤͰ͸ͳ͍͕؅ཧ͢Δ਺͕ଟେʹͳͬͯ·ͨ͠
  4. ©Fusic Co., Ltd. 9 ࢛ۤീۤ͠ͳ͕Βߏங → ΤίγεςϜʹΑΔສೳײ Serverless Framework΋AWS SAM(2016೥11݄)΋஌Βͣɺ

    ʢงғؾͰʣٕज़બఆͨ͠΋ͷͷΘ͚΋Θ͔ΒͣίϯιʔϧͱʹΒΊͬͯ͜͠ API Gateway + AWS Lambdaͷ؀ڥΛ࡞ͬͯͨͷ͸͍͍ࢥ͍ग़Ͱ͢ ͦͷࠒͨ·ͨ· awslabs/chalice ݟ͚ͭͯڵฃͨ͠ͷΛ͍֮͑ͯ·͢ QiitaͷΞυϕϯτΧϨϯμʔͷهࣄΛݟ͚ͭͯջ͔͘͠ͳͬͯ͠·͍·ͨ͠ ChaliceΛ࢖ͬͯ؆୯ʹPythonͰαʔόʔϨε͠Α͏ [2016೥12݄05೔] https://qiita.com/seike460/items/1cd1f85dd2f782a48d6a
  5. ©Fusic Co., Ltd. 12 Serverlessconf Tokyo 2018΁ Serverlessͱ͍͏ٕज़ʹັͤΒΕ࢝Ίͯ·͕ͨ͠ɺ ·ͩ౦ژͷΧϯϑΝϨϯεʹඈͼࠐΉఔίϛϡχςΟ΁ͷΊΓࠐΊ͓ͯΒͣɺ લड़ͷบͷڧ্͍͕࢘Serverlessconf

    Tokyo 2017ʹͯొஃͯ͠ΔͷΛ ࣾ಺χϡʔεͰோΊͨΓ͍ͯ͠·ͨ͠ ͨͩͦΜͳFusicͷٕज़ίϛϡχςΟ΁ͷߩݙΛࢧ্͍͕͑ͯͨ࢘ୀ৬͢Δ͜ͱʹ ͦͷ্࢘ʹಌΕͯFusicʹೖͬͨ๻͸ɺչ͔͠͞Βͦͷ্࢘ͷ୅ΘΓʹͳΔͱ ΨϜγϟϥʹٕज़ίϛϡχςΟʹࢀՃ͢ΔΑ͏ʹͳΓɺ ͦͷதͰServerlessconf Tokyo 2018ʹࢀՃ͢Δ͜ͱʹͳΓ·ͨ͠ ϓϥΠόγʔอޢͷҝ໨ઢΛೖΕͯ·͢
  6. ©Fusic Co., Ltd. 13 িܸΛड͚ͨServerlessconf Tokyo 2018 Ծʹ΋ServerlessͳγεςϜΛෳ਺ߏஙͨ͜͠ͱ͕͋Γɺ ຊࡇͷલ೔ͷpre-conference WorkshopͷʮServerless

    Tech ChallengeʯͰ͸ νʔϜϝΠτʹ΋ܙ·Εͯ1ҐʹͳΓɺࣗ෼΋௨͡ΔͷͰ͸ͳ͍͔ͱࢥͬͨ…໼ઌ ຊࡇͷൃදͷ਺ʑΛฉ͍ͯࣗ෼͕࡞͍ͬͯΔServerlessͳγεςϜͱ͸ εέʔϧ΋ɺߟྀ͍ͯ͠Δࣄ΋ҧ͍িܸΛड͚·ͨ͠ʢ౦ژλϫʔձ৔ջ͔͍͠ʣ ͋·ΓͷিܸʹຊདྷӡӦ͚͕ͩࢀՃ͢Δ࠙਌ձʹ௚ஊ൑ͯ͠ ແཧ΍ΓࢀՃͤͯ͞΋Β͍·ͨ͠ ࠓࢥ͏ͱ͜͜Ͱൃੜͨ͠೤͕ɺ๻ͷΩϟϦΞΛม͑ͨॠؒͳͷ͔΋͠Ε·ͤΜ
  7. ©Fusic Co., Ltd. 17 ServerlessΛັͤΒΕͯ ͦͷޙ΋͜ͷ೤͸ྫྷΊ΍ΒͣɺServerless Architecture΁ͷׇ๬͸ଓ͖·ͨ͠ ҰํͰ਎ͷճΓͷٕज़ελοΫͷத৺͸AWSͱͱ΋ʹPHP͕࣠ʹ͋Γ·ͨ͠ AWS LambdaͱPHPɺ౰࣌͸Ͳ͏ͯ͠΋นΛײ͡Δ͔͠ͳ͍ঢ়گͰͨ͠

    ͦΜͳ࠷தɺিܸΛड͚ͨServerlessconf2018ͷ௚ޙɺ AWS re:Invent 2018ʹͯAWS LambdaͷΧελϜϥϯλΠϜͷར༻͕Մೳʹ ཌ೥ͷPHPConference2019Ͱ͸PHPΛAWS LambdaͰར༻͢ΔࣄΛݕ౼
  8. ©Fusic Co., Ltd. 18 Laravel + Bref on AWS Lambda

    ฐࣾͷจԽͱͯࠜ͠෇͍͍ͯΔPHP WebFrameworkͷLaravel PHPͷOSSϓϩδΣΫτͰ͋ΔBref ͜ΕΒΛ૊Έ߹ΘͤɺνʔϜͷٕज़ελοΫʹAWS LambdaΛϑΟοτ͍͖ͤͯ͞·ͨ͠
  9. ©Fusic Co., Ltd. 19 PHPΛAWS Lambda্ͰϓϩμΫγϣϯར༻Λ࣮ݱ AWS Dev Day 2022ʹͯServerlessʹͯఏڙ͍ͯ͠Δߴෛՙͷࣄྫ·Ͱ૨͗ண͚Δ

    PHP+Laravelͱ͍͏ٕज़ελοΫʹϑΟοτͤ͞Δ͜ͱͰνʔϜͰಋೖͰ͖ͨࣄྫ https://speakerdeck.com/seike460/serverless-high-load-site-realized-with-amazon-s3-select