Slide 1

Slide 1 text

*P5Λ 4FSWFSMFTT෩ʹςετ͍ͨ͠ʂ ໟརܒଠ 4FSWFSMFTT.FFUVQ'VLVPLB

Slide 2

Slide 2 text

ࣗݾ঺հ ໟརܒଠʢ΋͏Γ͚͍ͨʣ 'VTJD$P -UE ൃҊऀϓϩμΫτΦʔφʔ *P5ܥͷडୗҊ݅ લ৬͸ ༯ոͱ͔Ͱ༗໊ͳ ๭ήʔϜձࣾ

Slide 3

Slide 3 text

ࣗݾ঺հ IUUQTRJJUBDPN,UB.JUFNTBGBBCC IUUQTHJUIVCDPN,UB.[BSV ϝʔϧʹύεϫʔυ෇͖[JQΛఴ෇ͯ͠ʮύεϫʔυ͸ผ్͓ૹΓ͍ͨ͠·͢ʯ ͱ͢Δ׳श͕ΊΜͲ͍͘͞ͷͰͳΜͱ͔ͨ͠ 4FSWFSMFTTతͳաڈ࡞

Slide 4

Slide 4 text

ຊ೔ͷ͓࿩ ‣ *P5ͱ4FSWFSMFTT ‣ *P5ͱςετ ‣ *P5ͱ4FSWFSMFTTͱςετͱ

Slide 5

Slide 5 text

*P5ͱ4FSWFSMFTT

Slide 6

Slide 6 text

*P5ݩ೥໰୊ *P5ݩ೥ɹ *P5ݩ೥ɹ *P5ݩ೥ɹ *P5ݩ೥ɹ ݕࡧ ݕࡧ ݕࡧ ݕࡧ

Slide 7

Slide 7 text

*P5ݩ೥໰୊ *P5ݩ೥ɹ ݕࡧ ͳ͠ ‣ ࣌୅͕ਐΈ࢝Ί͍ͯΔ ‣ *P5ͷ໰͍߹Θͤ΋૿͖͑ͯͨ ‣ 1P$͔Βຊ։ൃ΁ͷҠߦ΋૿͖͑ͯͨ ‣ େن໛ͳ*P5։ൃ͕૿͖͍͑ͯͯΔʂ

Slide 8

Slide 8 text

4FSWFSMFTTͰ͋ͬͯ͘Ε ࠓͲ͖4FSWFSMFTT͡Όͳ͍ͱ ࢮΜͰ͠·͏ Backend Sensor/Device

Slide 9

Slide 9 text

΋͠4FSWFSNPSF ͩͬͨΒʜ Backend Sensor/Device ো֐͕ى͖ͨΑʂ PS ϝϯςͯ͠Ͷʂ

Slide 10

Slide 10 text

΋͠4FSWFSNPSF ͩͬͨΒʜ Backend Sensor/Device ແ࣊൵ʹ΋σʔλΛ ૹΓଓ͚ΔΑʂ ো֐͕ى͖ͨΑʂ PS ϝϯςͯ͠Ͷʂ

Slide 11

Slide 11 text

΋͠4FSWFSNPSF ͩͬͨΒʜ Backend Sensor/Device ແ࣊൵ʹ΋σʔλΛ ૹΓଓ͚ΔΑʂ ো֐͕ى͖ͨΑʂ PS ϝϯςͯ͠Ͷʂ

Slide 12

Slide 12 text

ো֐ϝϯςʹରͯ͠ແ࣊൵

Slide 13

Slide 13 text

΋͠4FSWFSNPSF ͩͬͨΒʜ Backend Sensor/Device Ұؾʹ୆ ૿΍͢Αʂ

Slide 14

Slide 14 text

΋͠4FSWFSNPSF ͩͬͨΒʜ Backend Sensor/Device Ұؾʹ୆ ૿΍͢Αʂ ࠓ೔͸ௐࢠ͕͍͍͔Β ͨ͘͞ΜૹΔΑʂ

Slide 15

Slide 15 text

΋͠4FSWFSNPSF ͩͬͨΒʜ Backend Sensor/Device Ұؾʹ୆ ૿΍͢Αʂ ࠓ೔͸ௐࢠ͕͍͍͔Β ͨ͘͞ΜૹΔΑʂ ϜϦϜϦϜϦ

Slide 16

Slide 16 text

΋͠4FSWFSNPSF ͩͬͨΒʜ Backend Sensor/Device ϜϦϜϦϜϦ ແ࣊൵ʹ΋σʔλΛ ૹΓଓ͚ΔΑʂ

Slide 17

Slide 17 text

΋͠4FSWFSNPSF ͩͬͨΒʜ Backend Sensor/Device ϜϦϜϦϜϦ ແ࣊൵ʹ΋σʔλΛ ૹΓଓ͚ΔΑʂ

Slide 18

Slide 18 text

εέʔϧʹରͯ͠ແ࣊൵

Slide 19

Slide 19 text

*P5ͷσʔλϩετ͸͔ͳΓࠔΔ ‣ औΓ໭ͤͳ͍ ਓؒ૬खͱ͸ҧͬͯʮ΋͏Ұ౓ૹͬͯʯ͕Ͱ͖ͳ͍ ͜ͱ͕ଟ͍ ‣ ࣌ܥྻͰҙຯ͕͋Δ ஋ͷมಈΛάϥϑͰݟ͔ͨͬͨΓ σʔλʹԠͯ͡εςʔλε͕มΘΔ΋ͷͩͬͨΓ ‣ ॏཁͳҙຯΛ࣋ͭσʔλͷ৔߹΋ ΞϥʔτͷτϦΨʔʹͳΔΑ͏ͳ΋ͷͩͬͨΒେม

Slide 20

Slide 20 text

*P5ͱ4FSWFSMFTT *P5ͷ൵௧ͳڣͼ ো֐ى͖ͳ͍Ͱʂ ͍͍ײ͡ʹεέʔϧͯ͠ʂ ϝϯςདྷͳ͍Ͱʂ

Slide 21

Slide 21 text

*P5ͱ4FSWFSMFTT *P5ͷ൵௧ͳڣͼ 4FSWFSMFTTͷแ༰ྗ ো֐ى͖ͳ͍Ͱʂ ͍͍ײ͡ʹεέʔϧͯ͠ʂ ো֐ ΄΅ ͳ͠ εέʔϧ͕ಘҙ ͳͷ͕ଟ͍ ϝϯςདྷͳ͍Ͱʂ ϝϯς΋ ͨͿΜ ͳ͠

Slide 22

Slide 22 text

*P5ͱ4FSWFSMFTT *P5ͷ൵௧ͳڣͼ 4FSWFSMFTTͷแ༰ྗ ো֐ى͖ͳ͍Ͱʂ ͍͍ײ͡ʹεέʔϧͯ͠ʂ ো֐ ΄΅ ͳ͠ εέʔϧ͕ಘҙ ͳͷ͕ଟ͍ ϝϯςདྷͳ͍Ͱʂ ϝϯς΋ ͨͿΜ ͳ͠

Slide 23

Slide 23 text

"84ᐌ͘ IUUQTXXXTMJEFTIBSFOFU"NB[PO8FC4FSWJDFT+BQBOBXTCMBDLCFMUPOMJOFTFNJOBSJPU "84#MBDL#FMU0OMJOF4FNJOBS*P5޲͚࠷৽ΞʔΩςΫνϟύλʔϯ

Slide 24

Slide 24 text

"[VSFᐌ͘ IUUQTBLBNTJPUSFGBSDIJUFDUVSF "[VSF*P53FGFSFODF"SDIJUFDUVSF(VJEF

Slide 25

Slide 25 text

($1ᐌ͘ IUUQTXXXZPVUVCFDPNXBUDI WLQ&U92BL "OPWFSWJFXPG$MPVE*P5$PSF (PPHMF*0

Slide 26

Slide 26 text

ຊ೔ͷ͓࿩ ‣ *P5ͱ4FSWFSMFTT ‎ *P5ͷ#BDLFOE͸4FSWFSMFTTͰΩϚϦʂ ‣ *P5ͱςετ ‣ *P5ͱ4FSWFSMFTTͱςετͱ

Slide 27

Slide 27 text

*P5ͱςετ

Slide 28

Slide 28 text

*P5ͷςετ͕΍ΓͮΒ͍໰୊ ͪΌΜͱςετ͠Α͏ͱ͢Δͱ ͱͯ΋΍ΓͮΒ͍ Backend Sensor/Device

Slide 29

Slide 29 text

*P5ͷςετ͕΍ΓͮΒ͍໰୊ σʔλ͕དྷͳ͍ͱಈ͔ͳ͍ Backend Sensor/Device D a t a

Slide 30

Slide 30 text

*P5ͷςετ͕΍ΓͮΒ͍໰୊ ςετʹඞཁͳσʔλΛ Ͳ͔͜Βௐୡ͠Α͏ʁ Backend Sensor/Device D a t a

Slide 31

Slide 31 text

*P5ͷςετ͕΍ΓͮΒ͍໰୊ ͦͷ··࣮σόΠε͔Β σʔλΛૹΖ͏ Backend Sensor/Device D a t a

Slide 32

Slide 32 text

࣮σόΠε͔ΒૹΔ࡞ઓ ‣ ௐୡ ͔ͳΓ͕͔͔࣌ؒΔ ࣗࣾ։ൃ ηϯαʔͷબఆɾઃܭɾ࣮૷ͳͲ PSط੒඼ͷߪೖ ‣ ॳظίετ ୆͋ͨΓͦΕͳΓͷඅ༻͕͔͔Δ ςετ໨తͰ५୔ʹ༻ҙ͢Δͷ͸ඇݱ࣮త ‣ धཁʹԠͨ͡εέʔϧ ΋ͪΖΜ͠ͳ͍

Slide 33

Slide 33 text

͓΍ʜ

Slide 34

Slide 34 text

͜Ε͸Ҏલզʑ͕ܾผΛਤͬͨ ʮΦϯϓϨʯతͳ΍ͭͰ͸ʁ

Slide 35

Slide 35 text

*P5ͷςετ͕΍ΓͮΒ͍໰୊ ͳΒ͹γϛϡϨʔλʔΛ࡞ͬͯ ૹͬͯ͋͛Α͏ Backend Simulator D a t a

Slide 36

Slide 36 text

γϛϡϨʔλʔ͔ΒૹΔ࡞ઓ ‣ αʔόʔͷ͓ੈ࿩ Ͳ͔͜͠Βͷαʔόʔ খن໛ͳΒϩʔΧϧʁ ͔ΒૹΒͳ͚Ε͹ αʔόʔͷઃఆͱ͔͍Ζ͍Ζେม ‣ ΋Ζ΋Ζಠ࣮ࣗ૷ #BDLFOE΁ͷ઀ଓɾೝূ ૹΔσʔλͷத਎΍σόΠεͷঢ়ଶભҠ੍ޚ Քಇঢ়گͷ؂ࢹ େྔՔಇ࣌ͷεέʔϧ ‣ ςετ༻σʔλ͕ཉ͍͚ͩ͠ͳͷʹ࡞ۀྔ͕ଟ͗͢Δ

Slide 37

Slide 37 text

͓΍ʜ

Slide 38

Slide 38 text

͜Ε͸Ҏલզʑ͕ܾผΛਤͬͨ ʮαʔόʔʯతͳ΍ͭͰ͸ʁ

Slide 39

Slide 39 text

4FSWFSMFTTతʹղܾ͠Α͏ σόΠεͷ'VODUJPOBM4BB4͸ Ͱ͖ͳ͍΋ͷ͔ʜ Backend Functional Saas? D a t a

Slide 40

Slide 40 text

͜Μͳײ͡ ‣ ඞཁͳͱ͖ʹ͙͢ʹௐୡͰ͖Δ ‣ αʔόʔͷଘࡏΛҙࣝͤͣʹඞཁͳ୆਺͚ͩՔಇͰ͖Δ ‣ ඞཁͳσʔλΛૹΔ͜ͱ͚ͩʹूதͰ͖Δ ‣ ϓϩάϥϜͰىಈ΍ఀࢭ੍͕ޚͰ͖Δ

Slide 41

Slide 41 text

ຊ೔ͷ͓࿩ ‣ *P5ͱ4FSWFSMFTT ‎ *P5ͷ#BDLFOE͸4FSWFSMFTTͰΩϚϦʂ ‣ *P5ͱςετ ‎ ී௨ʹ΍Δͱπϥ͍ɻ'VODUJPOBM4BB4ͳσόΠε͕΄͍͠ʂ ‣ *P5ͱ4FSWFSMFTTͱςετͱ

Slide 42

Slide 42 text

*P5ͱ4FSWFSMFTTͱςετͱ

Slide 43

Slide 43 text

*P5ςετ༻Ծ૝σόΠε࡞੒αʔϏε ੈքॳʂ

Slide 44

Slide 44 text

NPDLNPDLͱ͸ʁ σόΠεʹ୅Θͬͯ ςετ༻σʔλΛૹΔԾ૝σόΠε Backend D a t a

Slide 45

Slide 45 text

ಈ࡞֓ཁ Backend ίϯιʔϧͰઃఆΛߦͳ͏ σʔλૹ৴ઌ ϓϩτίϧ σʔλੜ੒ํ๏ͷઃఆ ঢ়ଶભҠͷઃఆ FUDʜ

Slide 46

Slide 46 text

ಈ࡞֓ཁ Backend NPDLΛͭ͘Δ

Slide 47

Slide 47 text

ಈ࡞֓ཁ Backend D a t a NPDLΛಈ͔͢

Slide 48

Slide 48 text

No content

Slide 49

Slide 49 text

ରԠϓϩτίϧɾ࿈ܞαʔϏε ɹϓϥοτϑΥʔϜ ɹαʔϏε ɹϓϩτίϧ ɹಠࣗαʔόʔ ɹ ɹ)551)5514
 ɹ.255.2554 ɹ"NB[PO8FC4FSWJDFT ɹɹɹ"84*P5$PSF ɹ)5514.2554 ɹɹɹ"NB[PO,JOFTJT%BUB4USFBNT ɹ ɹ(PPHMF$MPVE1MBUGPSN ɹɹɹ$MPVE*P5$PSF ɹ.2554 ɹ.JDSPTPGU"[VSF ɹɹɹ"[VSF*P5)VC ɹ.2554 ".214 ɹ403"$0. ɹɹɹ403"$0.1MBUGPSN
 ɹɹɹ#FBN'VOOFM)BSWFTU ۙ೔ϦϦʔε ɹ ɹͦͷଞ ɹ͓ؾܰʹ͝૬ஊ͍ͩ͘͞

Slide 50

Slide 50 text

ରԠϓϩτίϧɾ࿈ܞαʔϏε ɹϓϥοτϑΥʔϜ ɹαʔϏε ɹϓϩτίϧ ɹಠࣗαʔόʔ ɹ ɹ)551)5514
 ɹ.255.2554 ɹ"NB[PO8FC4FSWJDFT ɹɹɹ"84*P5$PSF ɹ)5514.2554 ɹɹɹ"NB[PO,JOFTJT%BUB4USFBNT ɹ ɹ(PPHMF$MPVE1MBUGPSN ɹɹɹ$MPVE*P5$PSF ɹ.2554 ɹ.JDSPTPGU"[VSF ɹɹɹ"[VSF*P5)VC ɹ.2554 ".214 ɹ403"$0. ɹɹɹ403"$0.1MBUGPSN
 ɹɹɹ#FBN'VOOFM)BSWFTU ۙ೔ϦϦʔε ɹ ɹͦͷଞ ɹ͓ؾܰʹ͝૬ஊ͍ͩ͘͞ 4FSWFSMFTTͳ*P5#BDLFOEʹରԠʂ

Slide 51

Slide 51 text

"MM4FSWFSMFTT Backend D a t a 'VODUJPOBM4BB4 'VODUJPOBM4BB4 'BB4

Slide 52

Slide 52 text

͜͜·Ͱ͘Ε͹
 *P5ͷ&&ςετ͕ $*ͰͰ͖Δʂ

Slide 53

Slide 53 text

"84Ͱ΍ͬͯΈͨ Thermometer Amazon Kinesis Data Streams AWS Lambda Amazon DynamoDB { "serial_number": "mk-00001", "timestamp": "2018-08-21T07:09:05Z", "temperatures": [ "22.8", "21.9" ] } ఆظతʹσʔλऔಘ ݅ͣͭ1VU |serial_number|timestamp |temperature01|temperature02|created_at | |-------------|-------------------|-------------|-------------|-------------------| |mk-00001 |2018/08/21 07:09:05|23.8 |25.4 |2018/08/21 07:09:06| |mk-00002 |2018/08/21 07:09:05|23.2 |24.0 |2018/08/21 07:09:06| |mk-00001 |2018/08/21 07:09:15|24.1 |25.6 |2018/08/21 07:09:17| |mk-00002 |2018/08/21 07:09:15|23.8 |24.4 |2018/08/21 07:09:18| |mk-00001 |2018/08/21 07:09:25|24.3 |25.0 |2018/08/21 07:09:26| |mk-00002 |2018/08/21 07:09:25|24.0 |23.9 |2018/08/21 07:09:27| ςετର৅ͷΞϓϦέʔγϣϯ

Slide 54

Slide 54 text

σϞ

Slide 55

Slide 55 text

"84Ͱ΍ͬͯΈͨ ᶃίʔυΛ1VTI

Slide 56

Slide 56 text

"84Ͱ΍ͬͯΈͨ ᶃίʔυΛ1VTI ᶄ$*ىಈ

Slide 57

Slide 57 text

"84Ͱ΍ͬͯΈͨ AWS Batch ᶃίʔυΛ1VTI ᶄ$*ىಈ ᶅ"84#BUDIͷ
 +PCΛૹ৴ ؅ཧԼͷίϯϐϡʔςΟϯά؀ڥ &$ ্Ͱ+PCΛ࣮ߦ͢Δ &$͸࣮ߦ͢Δ+PCͷྔʹԠͯࣗ͡ಈͰ૿ݮͯ͘͠ΕΔ +PC͸ίϯςφΛ࢖࣮ͬͯߦ͢Δ
 େ୾ʹͬ͘͟Γݴ͑͹௕࣌ؒՔಇ͕Մೳͳ-BNCEB

Slide 58

Slide 58 text

"84Ͱ΍ͬͯΈͨ AWS Batch EC2 instance ᶃίʔυΛ1VTI ᶄ$*ىಈ ᶅ"84#BUDIͷ
 +PCΛૹ৴ ᶆίϯϐϡʔςΟϯά ؀ڥ࡞੒

Slide 59

Slide 59 text

"84Ͱ΍ͬͯΈͨ AWS Batch EC2 instance Amazon ECR Container ᶃίʔυΛ1VTI ᶄ$*ىಈ ᶅ"84#BUDIͷ
 +PCΛૹ৴ ᶆίϯϐϡʔςΟϯά ؀ڥ࡞੒ ᶇίϯςφىಈ

Slide 60

Slide 60 text

"84Ͱ΍ͬͯΈͨ EC2 instance Container ᶈ$MPOF AWS SAM Test Script #!/bin/bash git clone $CODE_REPO $CODE_DIR cd $CODE_DIR sh test/batch/run.sh

Slide 61

Slide 61 text

"84Ͱ΍ͬͯΈͨ EC2 instance Container ᶈ$MPOF AWS SAM Test Script Amazon Kinesis Data Streams AWS Lambda Amazon DynamoDB ᶉ%FQMPZ #!/bin/bash git clone $CODE_REPO $CODE_DIR cd $CODE_DIR sh test/batch/run.sh Cloudformation Stack

Slide 62

Slide 62 text

"84Ͱ΍ͬͯΈͨ EC2 instance Container ᶈ$MPOF AWS SAM Test Script Amazon Kinesis Data Streams AWS Lambda Amazon DynamoDB ᶉ%FQMPZ #!/bin/bash git clone $CODE_REPO $CODE_DIR cd $CODE_DIR sh test/batch/run.sh ᶊNPDLىಈ"1* Cloudformation Stack

Slide 63

Slide 63 text

"84Ͱ΍ͬͯΈͨ EC2 instance Container ᶈ$MPOF AWS SAM Test Script Amazon Kinesis Data Streams AWS Lambda Amazon DynamoDB ᶉ%FQMPZ #!/bin/bash git clone $CODE_REPO $CODE_DIR cd $CODE_DIR sh test/batch/run.sh ᶊNPDLىಈ"1* ᶋςετσʔλૹ৴ Cloudformation Stack

Slide 64

Slide 64 text

"84Ͱ΍ͬͯΈͨ EC2 instance Container AWS SAM Test Script Amazon Kinesis Data Streams AWS Lambda Amazon DynamoDB ᶌͨ·ͬͨσʔλΛूܭ Cloudformation Stack

Slide 65

Slide 65 text

"84Ͱ΍ͬͯΈͨ EC2 instance Container AWS SAM Test Script Amazon Kinesis Data Streams AWS Lambda Amazon DynamoDB ᶌͨ·ͬͨσʔλΛूܭ ᶍ4MBDLʹ݁ՌΛ௨஌ Cloudformation Stack

Slide 66

Slide 66 text

"84Ͱ΍ͬͯΈͨ EC2 instance Container AWS SAM Test Script Amazon Kinesis Data Streams AWS Lambda Amazon DynamoDB ᶌͨ·ͬͨσʔλΛूܭ ᶍ4MBDLʹ݁ՌΛ௨஌ ᶎ4UBDLΛ࡟আ Cloudformation Stack

Slide 67

Slide 67 text

"84Ͱ΍ͬͯΈͨ EC2 instance Container AWS SAM Test Script Amazon Kinesis Data Streams AWS Lambda Amazon DynamoDB ᶌͨ·ͬͨσʔλΛूܭ ᶍ4MBDLʹ݁ՌΛ௨஌ ᶎ4UBDLΛ࡟আ Cloudformation Stack ᶏ$POUBJOFSऴྃ

Slide 68

Slide 68 text

"84Ͱ΍ͬͯΈͨ EC2 instance Container AWS SAM Test Script Amazon Kinesis Data Streams AWS Lambda Amazon DynamoDB ᶌͨ·ͬͨσʔλΛूܭ ᶍ4MBDLʹ݁ՌΛ௨஌ ᶎ4UBDLΛ࡟আ Cloudformation Stack ᶏ$POUBJOFSऴྃ ᶐίϯϐϡʔςΟϯά؀ڥ࡟আ

Slide 69

Slide 69 text

"84Ͱ΍ͬͯΈͨ ‣ ຊ൪؀ڥͱશ͘ಉ͡؀ڥͰςετ͕Ͱ͖Δ ‣ ςετ؀ڥཱ͕ͭͷ͸ςετͷͱ͖͚ͩ ‣ "84#BUDIΛ࢖͍ͬͯΔͷͰ$JSDMF$*͸͙͢ʹख์ͤΔ ‎ ࣌ؒɺ೔ɺिؒ୯ҐͷΤΠδϯάςετͰ΋ݱ࣮తʹՄೳ

Slide 70

Slide 70 text

ຊ೔ͷ͓࿩ ‣ *P5ͱ4FSWFSMFTT ‎ *P5ͷ#BDLFOE͸4FSWFSMFTTͰΩϚϦʂ ‣ *P5ͱςετ ‎ ී௨ʹ΍Δͱπϥ͍ɻ'VODUJPOBM4BB4ͳσόΠε͕΄͍͠ʂ ‣ *P5ͱ4FSWFSMFTTͱςετͱ ‎ Λ࢖͏͜ͱͰ"MM4FSWFSMFTTʹʂ$*΋ճͤΔʂʂ

Slide 71

Slide 71 text

ͷ͜Ε͔Β ‣ ͱΓ͋͑ͣ"1*ΛϦϦʔε͢Δ ‎ ϦϦʔεͨ͠Βࠓճͷ$*͕Ͱ͖·͢ ‣ ૹ৴ͨ͠σʔλΛऔಘͰ͖ΔΑ͏ʹ͢Δʂ ‎ ཷ·ͬͨσʔλͱಥ͖߹ΘͤͨΓͰ͖ͯɺςετͷ෯͕޿͕Δ

Slide 72

Slide 72 text

·ͱΊ

Slide 73

Slide 73 text

ຊ೔ͷ͓࿩ ‣ *P5ͷ#BDLFOE͸4FSWFSMFTT͕ελϯμʔυ ‣ *P5ͷςετ͸ී௨ʹ΍Δͱπϥ͍ ‣ Λ࢖͏͜ͱͰ"MM4FSWFSMFTTͰςετ͕Մೳʹ ‣ ͦͷ੎͍ʹ৐ͬͯ$*΋ճͨ͠ʂ

Slide 74

Slide 74 text

͝ਗ਼ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠ʂ IUUQTNPDLNPDLDPNKB