Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Web API Next Challenge
Search
uchimanajet7
March 22, 2016
Technology
0
1.1k
Web API Next Challenge
2016/03/18 @AWSJ
第二回 WAVE での発表資料になります
#aws #wave #api
uchimanajet7
March 22, 2016
Tweet
Share
More Decks by uchimanajet7
See All by uchimanajet7
aws chaliceで作るslack翻訳bot
uchimanajet7
0
2.7k
Building "Cloud Automator" CLI with golang
uchimanajet7
1
120
期待値コントロール
uchimanajet7
0
1.1k
Enjoy the difference
uchimanajet7
0
1.6k
Developer が Serverworks で働いてみて感じた6つのこと
uchimanajet7
1
1.8k
入社したてエンジニアがサーバーワークスで働いてみて感じた3つのこと
uchimanajet7
0
1.9k
JAWS−UG中央線の紹介
uchimanajet7
0
150
Technology that is used in “Skybrain”
uchimanajet7
0
67
We are using the “Fastly”
uchimanajet7
0
100
Other Decks in Technology
See All in Technology
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.7k
The Role of Developer Relations in AI Product Success.
giftojabu1
0
120
社内で最大の技術的負債のリファクタリングに取り組んだお話し
kidooonn
1
550
ドメイン名の終活について - JPAAWG 7th -
mikit
33
20k
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
120
VideoMamba: State Space Model for Efficient Video Understanding
chou500
0
190
SREが投資するAIOps ~ペアーズにおけるLLM for Developerへの取り組み~
takumiogawa
1
260
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
200
Engineer Career Talk
lycorp_recruit_jp
0
170
BLADE: An Attempt to Automate Penetration Testing Using Autonomous AI Agents
bbrbbq
0
310
DMARC 対応の話 - MIXI CTO オフィスアワー #04
bbqallstars
1
160
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
110
Featured
See All Featured
Done Done
chrislema
181
16k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Happy Clients
brianwarren
98
6.7k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
How STYLIGHT went responsive
nonsquared
95
5.2k
A Tale of Four Properties
chriscoyier
156
23k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Being A Developer After 40
akosma
86
590k
How GitHub (no longer) Works
holman
310
140k
Transcript
/FYU$IBMMFOHF 8FC"1* ݄ גࣜձࣾϰΝϧݚڀॴ ాֶ ୈճ8"7&!"84+
2 ͝ҙ ‣ 201603݄18ݱࡏͷใͰ͢ ‣ ࢿྉͷදݱจݴมߋ͞ΕΔՄೳੑ͕͋Γ·͢ ‣ WAVEͰͷൃදͳͷͰݸਓతͳߟ͍͑ೖͬͯ ͍ΔͨΊࠓޙൃද͞ΕΔਖ਼ࣜͳͷͱҟͳΔ߹͕ ͋Γ·͢
‣ ਖ਼ࣜ൛ͱͷࠩҟ͕͋ͬͨ߹ɺਖ਼ࣜ൛͕ج४ͱͳΓ ·͢ͷͰྃ͝ঝ͍ͩ͘͞ ‣ ͝ҙݟɾ࣭͕͋Γ·ͨ͠Β͓ؾܰʹ͓͍߹Θͤ ͍ͩ͘͞
3 ࣗݾհ ా ֶʢ͏ͪͩ ·ͳͿʣ uchimanajet7 Spot Instances AWS SDK
for Go Support API Gateway
4 ձࣾհ ౦ژਿฒ۠ߴԁࣉ2−3−17 1976ʢত51ʣ7݄26 155໊ʢ201510݄1ݱࡏʣ
5 ɾαʔϏεհ
6 VAL Innovation Camp IUUQTZPVUVCF79)#U-F:M
l7BM8FC4FSWJDFz /FYU$IBMMFOHF
8 Val Web Service ‣ ʮӺ͢ͺ͋ͱ Web Serviceʯ͚ͩͷ୯ମαʔϏ ε͔ΒAPIΤίϊϛʔΛߟྀͨ͠ෳ߹αʔϏε ‣
͚ࣗࣾͩͰͳ͘ଞࣾͷAPIαʔϏεϥΠφοϓ ʹՃ͍͖͍͑ͯͨ ‣ ProgrammableWebMashapeͱݴͬͨαʔϏ εͱಉ༷ͷߟ͑ํ ‣ ໘ࣗࣾυϝΠϯʹಛԽͨ͠API Management αʔϏεΛࢦ͍ͯ͘͠
9 Val Web Service
10 TIBCO MASHERY IUUQTXXXQDQDPKQQSPEVDUNBTIFSZ
11 Val Web Service ‣ ͳͥʮVal Web Serviceʯͳͷ͔ʁ ‣ ݱঢ়ͷAPIϏδωεʹ՝͕ଟ͍
‣ ར༻ऀࢹͩͱ - Ͳ͜ʹͲΜͳAPI͕͋Δͷ͔Θ͔Βͳ͍ - APIͷར༻ํ๏͕ͦΕͧΕҟͳΔ - APIͷυΩϡϝϯτͦΕͧΕҟͳΓࡶ - ఏڙ͍ͯ͠Δձࣾ͝ͱʹܖೝূ͕ඞཁ - ར༻ऀ͕গͳ͍APIͩͱར༻ྫΛ୳͢ͷ͕ࠔ
12 Val Web Service ‣ ఏڙऀࢹͩͱ - Ͳ͏ͬͯެ։ͯ͠ೝ͍͔ͤͯ͘͞ - ެ։ʹ͋ͨͬͯͷӡ༻ηΩϡϦςΟΛͲ͏͢
Δ͔ - ར༻ঢ়گύϑΥʔϚϯεͷܭଌΛͲ͏͢Δ͔ - σʔλ͚ͩඇެ։API͔͠ͳ͍߹ʹͲ͏ ͬͯެ։͢Δ͔ - ՝ۚϢʔβʔཧΛͲ͏͢Δ͔
13 Val Web Service ‣ ͜͏ͨ͠՝Λղܾ͍ͯͨ͘͠͠Ίʹ ‣ طଘͷސ٬νϟωϧΛ૬ޓͰར༻͢ΔΈ - ηʔϧεϚʔέςΟϯάͰޭࣄྫΛ׆༻Ͱ͖Δ
- ୯७ͳνϟωϧͷ֦େɺΞοϓηϧ/Ϋϩεηϧ - ར༻ن͕େ͖͘ͳΔ͜ͱʹΑΔғ͍ࠐΈͱϑΟʔυ όοΫͷ૿Ճ ‣ ҟͳΔྖҬͰ͓ޓ͍ͷڧΈΛ࠷େݶʹ׆༻Ͱ͖ΔΈ - ະͷྖҬͰ༧ଌΛߦ͏͜ͱ͕ՄೳʹͳΔ - ୯ҰͰఏڙ͢Δ͜ͱ͕͍͠৽ͨͳղܾํ๏ - ීஈͱҟͳΔઢʹΑΔ৽͍͠ൃݟ
14 ಋೖࣄྫ IUUQTFLJXPSMEOFUDBTF
15 Val Web Service ‣ γϯάϧϙΠϯτԽʹΑΔޮԽ - APIར༻࣌ͷೝূ͕୯ҰԽ - υΩϡϝϯτ͍߹Θͤʹ͍ͭͯɺϑΥʔϚο
τͷ౷ҰԽ૭ޱͷ୯ҰԽ - ར༻ܖࢧ͍ͱ͍ͬͨࣄతͳ෦୯ҰԽ - ϢʔβʔཧηΩϡϦςΟͱ͍ͬͨॏཁͳ෦ Mashery Λར༻͢Δ͜ͱʹΑΓ҆৺ɾ҆શʹ୯ ҰԽ - ར༻ऀఏڙऀࡶͳ࡞ۀ͔Βղ์͞ΕΔ
16 Val Web Service ‣ API࿈ܞʹΑΔ৽ͨͳՄೳੑɾՃՁͷ - ͓ޓ͍ͷڥ͕AWS্ʹߏங͞Ε͍ͯΔ߹ɺඇৗʹ ॊೈ͔ͭ҆શʹ૬ޓଓՄೳ -
σʔλͱAPIඇެ։APIͱެ։APIͳͲ͕݅߹͑࿈ ܞ͢Δ͜ͱ͕Մೳ - ϚελʔσʔλྨΛ࿈ܞ͢Δ͜ͱʹΑΓɺσϑΝΫτε λϯμʔυͱͳΓಘΔՄೳੑ - ࿈ܞʹΑΓ৽ن։ൃ͠ͳ࣮ͯ͘ݱՄೳͱͳΔՄೳੑ - ϝΠϯϏδωεʹϑΥʔΧε͠ͳ͕ΒόϦΤʔγϣϯ Λ૿ͤΔ
17 AWS ಋೖࣄྫ IUUQTBXTBNB[PODPNKQTPMVUJPOTDBTFTUVEJFTWBM
18 Val Web Service ‣ ݁Ռͱͯ͠APIΤίϊϛʔࣗମ͕׆ੑԽ͢Δ͜ͱ͕త ‣ API͕ศརʹؾܰʹར༻Ͱ͖ΔΑ͏ʹͳΔͱɺߋʹϞϊ ͮ͘Γͷϋʔυϧ͕Լ͕Δ ‣
͜ΕʹΑΓɺ৽ͨͳαʔϏεϓϩμΫτ͕૿͑Πϊ ϕʔγϣϯͷՄೳੑ͕૿͑Δ͜ͱ͕ظͰ͖Δ ‣ ͞Βʹɺ͜ͷΑ͏ͳऔΓΈ͕૿͍͚͑ͯͬͱେ ͖ͳ୯ҐͰͷ࿈ܞ͕ՄೳͱͳΔ ‣ ͦΕͧΕ͕ಘҙɾྖҬͰAPIͷϗʔϜηϯλʔʹ ͳ͍ͬͯ͘͜ͱͰ࣮ݱͰ͖Δͱߟ͍͑ͯΔ
l4LZ#SBJOz /FYU$IBMMFOHF
20 SkyBrain ‣ ަ௨ҠಈମͷҐஔใཧΛతͱͯ͠࡞தͷIoT ͚αʔϏε ‣ ॊೈ͔ͭ҆Ձʹಈ࡞͢Δ͜ͱΛඪͱ͍ͯ͠Δ ‣ ௨৴ϓϥοτϑΥʔϜ SORACOM
Air Λར༻ ‣ ػثεϚʔτϑΥϯΛར༻ͯ͠ϓϩτλΠϐϯάத ‣ ΫϥυڥAWSΛར༻ ‣ S3ɺLambdaɺAPI Gatewayͱ͍ͬͨϑϧϚωʔδυ αʔϏεΛੵۃతʹར༻ ‣ ߏங࣌ؒͷॖͱߏஙޙͷӡ༻ෛ୲Λߟྀ͍ͯ͠Δ
21 ࣄྫհ IUUQXXXTMJEFTIBSFOFU403"$0.DPOOFDUFEUTPSBDPNCFBNJPU
22 SkyBrain ‣ σʔλͷΞοϓϩʔυSORACOM Funnel or Amazon Kinesis Ͱߦ͏ ‣
σʔλͷऔಘʹ͍ͭͯAmazon API Gateway Λར ༻ͯ͠APIԽ ‣ σʔλͷੵͱ׆༻͕؆୯͔ͭ҆શɾ҆Ձʹߦ͑Δ ‣ ͜ΕʹΑΓ΄΅ϦΞϧλΠϜͳσʔλΛ׆༻Ͱ͖ΔΑ ͏ʹͳΔ ‣ ϦΞϧλΠϜͳσʔλ͕ՃΘΔ͜ͱͰɺطଘͷσʔλ API͕৽ͨͳՁΛ࣋ͭ
23 SkyBrain $PHOJUP +BWB4DSJQU 4%, ,JOFTJT -BNCEB 4 "1*(BUFXBZ 6TFST
403"$0. "JS 403"$0. 'VOOFM -BNCEB
24 SkyBrain $PHOJUP +BWB4DSJQU 4%, ,JOFTJT -BNCEB 4 "1*(BUFXBZ 6TFST
403"$0. "JS 403"$0. 'VOOFM -BNCEB VQMPBE
25 SkyBrain $PHOJUP +BWB4DSJQU 4%, ,JOFTJT -BNCEB 4 "1*(BUFXBZ 6TFST
403"$0. "JS 403"$0. 'VOOFM -BNCEB ׆༻
l࿏ઢਤ"1*z /FYU$IBMMFOHF
27 ࿏ઢਤ API ‣ 2005͔Βݱࡏ·Ͱʮ࿏ઢਤ ASPʯͱͯ͠࿏ઢ ਤͷαʔϏεΛల։த ‣ Windows൛ͰΘΕ͍ͯΔ࿏ઢਤΛݩʹ͠ ͯαʔϏεΛ։ൃ
‣ ͜ͷ࣌ͷ࿏ઢਤೖྗิॿʼදࣔɾදݱ ‣ ͜ͷͨΊదʹσϑΥϧϝ͞Ε͓ͯΓӺͷҐஔؔ ͔ͭΈ͍͢ ‣ ·ͨͰ͖Δ͜ͱ͕গͳ͍ͷͰͦΕ੍͕ͱͳΓૢ ࡞୯७Ͱ͋Δ
28 ASP࿈ܞαʔϏε IUUQTFLJXPSMEOFUTFSWJDFXFCBCPVUIUNM
29 ࿏ઢਤ API ‣ ۙϢʔβʔɺσόΠε͕ଟछଟ༷ʹͳͬͨ ‣ ٻΊΒΕΔදݱ࣭ߴ͘ͳΓଟ༷ੑΛ૿͍ͯ͠ Δ ‣ ͍·ٻΊΒΕ͍ͯΔͷೖྗิॿ
≤ දࣔɾදݱ ‣ ҰൠతͳਤαʔϏεͱಉ༷ͷදࣔɾදݱ͕ඞཁ ‣ ϢʔβʔαΠυͰίϯτϩʔϧͰ͖Δඞཁ͕͋Δͨ ΊAPI͕ඞཁ ‣ ͍·ͷཁ͍·ͷWebϑϩϯτΤϯυٕज़Λͬ ͯղܾ͍͖͍ͯͨ͠
30 ৽͍͠࿏ઢਤ IUUQSPTFO[VTUSJLJOHMZDPN
31 ࿏ઢਤ API ‣ JavaScript ϕʔεͷAPIͰͷૢ࡞͕Մೳ ‣ දࣔɾදݱ͢ΔͨΊͷػೳΛࡌ ‣ WebϕʔεͰͷදࣔͱͳΔͨΊ൚༻ੑ͕ߴ͍
‣ ͜ΕʹΑΓදࣔɾදݱํ๏ͷ෯͕͕ΓϢʔβʔ͕ر ͢Δঢ়گʹԠͯ͡ରԠͰ͖ΔΑ͏ʹͳ͍ͬͯΔ ‣ ਤͱಉ͡Α͏ʹຊશࠃΛγʔϜϨεʹදݱ ‣ దͳσϑΥϧϝΛ͍ͯ͠ΔͷͰݟ͍͢͢͞͞ ͦͷ·· ‣ ͞·͟·ͳσʔλΛදࣔɾදݱͰ͖ΔαʔϏεͱͯ͠ͷ Ґஔ͚
·ͱΊ
33 ·ͱΊ ‣ ʮVal Web ServiceʯʹΑΓɺAPIΛීٴ ͤͯ͞ར༻ऀΛ૿͢ ‣ ʮSkyBrainʯʹΑΓɺϦΞϧλΠϜσʔ λΛऔಘͯ͠APIͰ׆༻Ͱ͖ΔΑ͏ʹ
‣ ʮ࿏ઢਤ APIʯʹΑΓɺσʔλAPIͷ݁ ՌΛॊೈͰࣗ༝ͳදࣔɾදݱ͕Ͱ͖ΔΑ ͏ʹ
34 ·ͱΊ ‣ มԽͷରԠͰ͖Δͱ͜Ζ͔Βૉૣ͘Χ Πθϯ ‣ APIͦͷͷ͚ͩͰͳ͘ɺར༻͢Δσʔλ දࣔʹ͍ͭͯಉ༷ʹܧଓ͍͖͍ͯͨ͠ ‣ ࠷ऴతʹ͜ΕΒ͕૬ޓʹӨڹ͋ͬͯ͠Α
Γେ͖ͳʢWAVE)ʹͳΔ͜ͱΛظ͠ ͍ͯΔ
35 ͓͍߹Θͤ IUUQXXXWBMDPKQDPOUBDU
36 Appendix ‣ ProgrammableWeb - http://www.programmableweb.com/ ‣ Mashape - https://www.mashape.com/
‣ גࣜձࣾιϥίϜ - https://soracom.jp/ ‣ Mashery API Ϛωδϝϯτ | ϐʔγʔϑΣʔζ - https://www.pcp.co.jp/product/mashery
37 Appendix ‣ גࣜձࣾϰΝϧݚڀॴ - http://www.val.co.jp/ ‣ Ӻ͢ͺ͋ͱϫʔϧυ - https://ekiworld.net/
‣ Ӻ͢ͺ͋ͱ - YouTube - https://www.youtube.com/channel/ UChsdHb4qHO5eFmSOhl0Udsw ‣ ʮӺ͢ͺ͋ͱʯͷ͋ͨΒ͍͠࿏ઢਤ - http://rosenzu.strikingly.com/
38 Appendix ‣ JAWS-UG தԝઢ - http://jaws-ug.jp/bc/chuoline/ ‣ JAWS-UG ژԦઢ
- https://jawsug-keioline.doorkeeper.jp/ ‣ uchimanajet7 - Pixelhub.me - http://pixelhub.me/pixelhub1/index.php? user=uchimanajet7