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

About AWS Lambda and kintone

youyo
October 04, 2017

About AWS Lambda and kintone

youyo

October 04, 2017
Tweet

More Decks by youyo

Other Decks in Technology

Transcript

  1. ձࣾ֓ཁ ໊ࣾ גࣜձࣾϔϓλΰϯ IFQUBHPOJOD ୅ද ཱՖ୓໵ ڌ఺ ੨৿ݝࡾ୔ࢢɺٶ৓ݝઋ୆ࢢ ૑ۀ ೥݄̓

    ࣄۀ Ϋϥ΢υಋೖʹؔ͢ΔίϯαϧςΟϯά Ϋϥ΢υͷߏஙอकӡ༻ Ϋϥ΢υͷΤϯδχΞ޲͚ڭҭ ࢿ֨ "1/ίϯαϧςΟϯάύʔτφʔ Ұൠୈೋछిؾ௨৴ࣄۀऀ ౦๺ຊࣾͰ͸།Ұͷ AWSίϯαϧςΟϯάύʔτφʔ
  2. monolithic architecture vs micro services .POPMJUI .JDSPTFSWJDFT εέʔϥϏϦςΟ ͢΂ͯͷػೳ͕εέʔϥϒϧͳઃ ܭͰ͋Δඞཁ͕͋Δ

    ػೳ αʔϏε ୯ҐͰεέʔϥ ϒϧͰ͋Ε͹ྑ͍ ։ൃ ̍ػೳͷվम͕ଞػೳʹӨڹΛ༩ ͑ΔՄೳੑ͕͋Δ ͢΂ͯͷػೳΛಉҰͷٕज़ελο ΫͰ։ൃ͢Δඞཁ͕͋Δ ػೳ αʔϏε ୯ҐͰ։ൃΛਐ ΊΔ͜ͱ͕Ͱ͖Δ ػೳ͝ͱʹҟͳΔٕज़ελοΫ ͷ࠾༻΋Մೳ ӡ༻ τϥϒϧ࣌ɺ̍ΞϓϦ಺Ͱ׬݁͠ ͍ͯΔͷͰ௥੻͸༰қ τϥϒϧ࣌ɺෳ਺αʔϏε͕࿈ ܞ͍ͯ͠ΔͷͰ௥੻͕ࠔ೉ͳ৔ ߹΋͋Δ
  3. Serverless Architecture • ϚΠΫϩαʔϏεͷͻͱͭ • Faas(Function as a service) •

    ؔ਺ΛϑϧϚωʔδυͯ͘͠ΕΔ • AWS Lambda • Google cloud functions • Azure Functions • Functional Saas • ϑϧϚωʔδυαʔϏεͰɺ
 ؔ਺Λݺͼग़͢Α͏ʹར༻Ͱ͖ΔSaas • Amazon Cognito • Auth0 • Firebase Micro Services Monolithic Architecture Serverless Architecture Another Saas, Paas… Faas FSaas
  4. AWS Lambdaৄࡉ • Function as a service • ίʔυΛΞοϓϩʔυ͢Δ͚ͩͰར༻Մೳ •

    S3΍CloudWatchEventsͳͲଞͷαʔϏεͱ࿈ܞ • ݴޠ: nodejs, python, java, C# • ैྔ՝ۚɻίʔυ࣮ߦʹ͔͔ͬͨ࣌ؒͰ՝ۚɻ100ms୯Ґɻ • ϝϞϦׂ౰ྔΛௐઅ͢Δ͜ͱͰɺॲཧೳྗΛมߋͰ͖Δ • Dead letter queue, lambda@edge…
  5. ͳͥkintone+Lambdaͳͷ͔ʁ • jsҎ֎ͷݴޠͰϩδοΫॲཧ͕ॻ͚Δ • αʔόαΠυͰͷॲཧ͕࣮૷Ͱ͖Δ • ֎෦αʔϏεͱͷ࿈ܞ͕͠΍͍͢ • kintoneͰະఏڙͷػೳΛlambdaͰ࣮૷ •

    ॲཧ͚ͨ࣌ؒͩ͠ͷैྔ՝ۚ(ͦ͏ͦ͏՝ۚ͞Εͳ ͍) • େྔσʔλͷొ࿥͸kintone͸ۤखͳͷͰɺΫϥ΢υ ଆʹҰ୴อଘͯ͠ɺLambdaͰΏͬ͘Γอଘ͢Δ • Lambda(AWS)ʹ͸σʔλΛಡΈॻ͖͢ΔUI͕ͳ͍