Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Lambda Functionでのサーバレスが向くケース/サーバレスではないケース
Search
Tetsuyuki Honda
September 14, 2016
1.5k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Lambda Functionでのサーバレスが向くケース/サーバレスではないケース
Tetsuyuki Honda
September 14, 2016
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Optimising Largest Contentful Paint
csswizardry
37
4k
Believing is Seeing
oripsolob
1
270
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
610
Raft: Consensus for Rubyists
vanstee
143
7.8k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
970
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Agile that works and the tools we love
rasmusluckow
331
22k
Site-Speed That Sticks
csswizardry
13
1.6k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
300
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
680
Transcript
None
Lambda FunctionͰͷ αʔόϨε͕͘έʔεʗ αʔόϨεͰͳ͍έʔε クラスメソッド株式会社 2016/09/09 本田 哲之
ࣗݾհ • ຊా೭ • σʔλΠϯςάϨʔγϣϯ෦ॴଐ • ݱࡏίϯαϧ෦ʹग़͓ͯ͠ख͍
ຊͷൃද֓ཁ • αʔόϨε͕͘έʔε (EC2ͳ͠ɺLambdaΛ༻) • શͳαʔόϨεͱͳΒͳ͍έʔε (EC2͋ΓɺLambdaΛ༻ɺΞϯϚωʔδυ) • αʔόϨεͰͳ͍έʔε (EC2͋ΓɺLambdaͳ͠)
αʔόϨε͕͘έʔε (EC2ͳ͠ɺLambdaΛ༻)
ߟྀ͢ΔϙΠϯτ • Ұճͷॲཧ͕࣮࣌ؒ֬ʹ͍ͷ • ݱࡏ͚ͩͰͳ͘কདྷͷՄೳੑߟྀ͢Δ • αʔόϨεͰ࡞ΔͨΊͷߟྀ͢Δ
αϯϓϧ http://dev.classmethod.jp/cloud/aws/aws-iot-kinesis-firehose-lambda-1/
• AWS IoTΛ͍ɺIoTػث͔ΒͷσʔλΛ σʔλϕʔεʹొ͢Δαϯϓϧ • ϦΫΤετҰճͷॲཧ͕࣌ؒඞ͍ͣ • AWS IoTʙLambda·ͰϚωʔδυαʔϏε Ͱ࡞Մೳ
શͳαʔόϨεͱͳΒͳ͍ έʔε (EC2͋ΓɺLambdaΛ༻ɺ ΞϯϚωʔδυ)
ߟྀ͢ΔϙΠϯτ • Ұճͷॲཧ͕͍͔࣌ؒո͍͠ͷ • σʔλͷ૿େʹΑΔॲཧ࣌ؒԆは? • バッチ処理 • طଘϥΠϒϥϦΛྲྀ༻ •
खͬऔΓૣ͘EC2で動かしたい
αϯϓϧ
None
• طଘεΫϦϓτΛྲྀ༻(OSίϚϯυΛcall) • σʔλ݅ര૿ʹΑΔॲཧ࣌ؒԆʁ • Lambda͔ΒEC2Λىಈɾఀࢭ͢Δ͜ͱͰ ίετΛԼ͛Δ • EC2 Container
Service、Elastic BeansTalk 辺りで(フルマネージドという意味での) サーバレスは可能?
αʔόϨεͰͳ͍έʔε (EC2͋ΓɺLambdaͳ͠)
ߟྀ͢ΔϙΠϯτ • ॲཧʹҰఆ͕࣌ؒඞཁ • ϒϥβ͔Βͷ࠶࣮ߦΛதʹߦ͏ͳͲɺ ৗ࣌Քಇ͓͍ͤͯͨ͞΄͏͕߹͕͍͍
αϯϓϧ
• EC2Λৗ࣌ىಈɺσʔλੳΛߦ͏ • ੳSQLʹΑΔҰൠతͳόον • SQLΛߟ͑Δ͚ͩͳͷͰ࣮͠қ͍ • ॲཧ࣌ؒʹ͍ͭͯߟྀෆཁ
·ͱΊ • Ұճ͋ͨΓͷॲཧ࣌ؒΛߟྀ͠Α͏ • ࣮͢ΔͨΊͷߟྀ͠Α͏ • ϚωʔδυͰ࡞ΕΔͷ͔Λߟྀ͠Α͏
͋Γ͕ͱ͏͍͟͝·ͨ͠