Slide 1

Slide 1 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T AWS Step Functions ʹΑΔ͓͔͠ͷ ɹɹɹɹɹɹɹɹɹɹɹɹɹɹΞαΠϯγεςϜ גࣜձࣾεφοΫϛʔ ࡾ޷ ൏ਓ CTO & co-founder

Slide 2

Slide 2 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 1. snaq.me(εφοΫϛʔ) ʹ͍ͭͯ 1,980ԁ (੫ࠐ) 100छҎ্͔Β8छͷ͓΍ͭΛҰਓͻͱΓʹηϨΫτ͓ͯ͠ಧ͚ Real Food͔Β࡞ͬͨɺඒຯͯ͘͠Χϥμʹ༏͍͓͠΍ͭΛ͓ҰਓͻͱΓʹ ΧελϚΠζ͓ͯ͠ಧ͚͢ΔαϒεΫϦϓγϣϯαʔϏε

Slide 3

Slide 3 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 1. snaq.me(εφοΫϛʔ) ʹ͍ͭͯ ੡଄ࢦࣔॻ ࡞੒ ੡଄ ࡏݿొ࿥ ΞαΠϯ ϐοΩϯά ൃૹ ੡଄͔Βൃૹ४උ·ͰҰ؏

Slide 4

Slide 4 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 1. snaq.me(εφοΫϛʔ) ʹ͍ͭͯ ෼ੳ TOBDLCPY ͓΍ͭͷධՁ/ ϦΫΤετ ৽঎඼։ൃ ͓΍ͭͷA/Bςετ ͓ಧ͚͢Δ͓΍ͭΛܾఆ

Slide 5

Slide 5 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T αϒεΫϦϓγϣϯͰେࣄͳKPIͱ͸ʁ

Slide 6

Slide 6 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 1. αϒεΫϦϓγϣϯͰେࣄͳKPIͱ͸ʁ νϟʔϯϨʔτ(ղ໿཰)ͷԼ͛Δ͜ͱ

Slide 7

Slide 7 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 1. νϟʔϯϨʔτ(ղ໿཰)ͷԼ͛Δʹ͸ • MAUͷ޲্ (ຬ଍౓ͷ޲্) • ϦΫΤετΛͯ͠΋Β͏ (৯΂ͯΈ͍ͨ঎඼) • ධՁΛͯ͠΋Β͏ (ύʔιφϥΠζͷ޲্) • ޷͖ͳ঎඼͕ಧ͘ (ຬ଍౓ͷ޲্) • ৽঎඼ / قઅͷ঎඼ ͷ਺ (৽͍͠ൃݟ ϫΫϫΫ) ͳͲͳͲ

Slide 8

Slide 8 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 1. νϟʔϯϨʔτ(ղ໿཰)ͷԼ͛Δʹ͸ σʔλ෼ੳͷ݁Ռ ϦΫΤετͯ͠΋Β͏ => ղ໿͞ΕͣΒ͍ (ຬ଍͍ͯ͠Δ) ϦΫΤετ͢Δ ϦΫΤετͨ͠ ঎඼͕ಧ͘ ຬ଍͢Δ ϩάΠϯ ϦΫΤετ཰ & MAUͷ޲্͕Ϗδωε՝୊ ※ ϦΫΤετͨ͠঎඼ͷࡏݿঢ়گ࣍ୈͱͳΔͨΊɺඞͣ͠΋࣍ճ͓ಧ͚Ͱ͖Δͱ͓໿ଋͰ͖·ͤΜ

Slide 9

Slide 9 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T ෼ੳ TOBDLCPY ͓΍ͭͷධՁ/ ϦΫΤετ ৽঎඼։ൃ ͓΍ͭͷA/Bςετ ͓ಧ͚͢Δ͓΍ͭΛܾఆ 1. ϦΫΤετͨ͠঎඼ʹԠ͑Δʹ͸

Slide 10

Slide 10 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 1. ϦΫΤετͨ͠঎඼ʹԠ͑Δʹ͸ ෼ੳ TOBDLCPY ͓΍ͭͷධՁ ϦΫΤετ ৽঎඼։ൃ ͓΍ͭͷ ͓ಧ͚͢Δ͓΍ͭΛܾఆ

Slide 11

Slide 11 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T ͓ಧ͚͢Δ͓΍ͭΛܾఆ 1. ϦΫΤετͨ͠঎඼ʹԠ͑Δʹ͸ ΞαΠϯγεςϜͷڧԽ & ޮ཰Խ

Slide 12

Slide 12 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 2. ΞαΠϯγεςϜ Amazon CloudWatch Events AWS Lambda AWS Batch ෳ਺JobΛࢦఆՄೳ 15෼Ҏ಺Ͱ׬ྃ ௨஌ Amazon S3 AWS Lambda AWS Step Functions AWS Step Functions

Slide 13

Slide 13 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T AWS Step Functions ͷ׆༻

Slide 14

Slide 14 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 3. Step FunctionsΛ༻͍ͨཧ༝ ΞαΠϯύλʔϯͷෳࡶԽ • ϢʔβʔΛΫϥελϦϯάͤͨ͞ΞαΠϯํ๏ • Ϊϑτ༻΍ཌӦۀ೔഑ૹͳͲఆظҎ֎ͷ഑ૹύλʔϯͷ૿Ճ • ༵೔ͰҟͳΔΞαΠϯํ๏ • AWS Batch ͷjob͕ෳ਺ଘࡏ • Lambda ͷ࠷େ࣮ߦ͕࣌ؒ15෼ʹͳΓɺLambdaͷ࠾༻͢Δέʔεͷଘࡏ ͳͲͳͲ

Slide 15

Slide 15 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T ࡢ೥(2018೥)ͷre:InventͰAWS Step FunctionsͱAWS Batch + 7ͭͷϚωʔδυαʔϏεͱ࿈ܞՄೳ 3. Step FunctionsΛ༻͍ͨཧ༝

Slide 16

Slide 16 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T Notify Start End Submit 1st Job 3. ࿈ܞલͷϫʔΫϑϩʔ 2ͭͷAWS BatchΛ༻͍ͨ৔߹ Wait 60 Seconds Get 1st Job Status 1st Job Complete? Get 1st First Job Status 1st Job Failed Notify Submit 2nd Job Wait 60 Seconds Get 2nd Job Status 2nd Job Complete? Get 2nd First Job Status 2nd Job Failed AWS BatchΛ༻͍ͯ ΞαΠϯ AWS Lambda Λ༻͍ͯ ΞαΠϯύλʔϯ։࢝௨஌

Slide 17

Slide 17 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 3. ࿈ܞޙͷϫʔΫϑϩʔ 2ͭͷAWS BatchΛ༻͍ͨ৔߹ Notify Start End Submit 1st Job Notify Submit 2nd Job AWS Lambda Λ༻͍ͯ ΞαΠϯύλʔϯ։࢝௨஌ AWS BatchΛ༻͍ͯ ΞαΠϯ

Slide 18

Slide 18 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 3. ࿈ܞޙͷϫʔΫϑϩʔ 2ͭͷAWS BatchΛ༻͍ͨ৔߹ Notify Start End Submit 1st Job Notify Submit 2nd Job AWS Lambda Λ༻͍ͯ ΞαΠϯύλʔϯ։࢝௨஌ AWS BatchΛ༻͍ͯ ΞαΠϯ ؆ܿʹ·ͱΊΔ͜ͱ͕Մೳ

Slide 19

Slide 19 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 3. ࿈ܞޙͷϫʔΫϑϩʔ 2ͭͷAWS BatchΛ༻͍ͨ৔߹ Notify Start End Submit 1st Job Notify Submit 2nd Job ༷ʑͳΞϧΰϦζϜΛjob͝ͱʹ ૊ΈࠐΉ͜ͱՄೳʹͳΓ ࢼ༻ͷ༰қ Ұ෦Λ AWS Batch ͔Β AWS Lambda ʹมߋ͢Δ͜ͱ΋༰қ

Slide 20

Slide 20 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 4. Well Architected ͳ 5 ͭͷϙΠϯτ • ίετͷ࠷దԽɿ AWS Batch / AWS LambdaͰ࣮ߦ࣌ؒʹΑΔ࢖͍෼͚ • ӡ༻্ͷ༏लੑɿAWS Step Functionsʹ·ͱΊΔ͜ͱͰҰݩ؅ཧ • ηΩϡϦςΟɿAWS Step Functions IAM / GuardDutyʹΑΔɺAWSͷଞͷ αʔϏεͱϦιʔε΁ͷΞΫηεΛ੍ޚ / ෆਖ਼τϥϑΟοΫͷϞχλϦϯά • ৴པੑɿjobؒΛૄ݁߹ʹ͠ɺো֐ΛۃখԽ • ύϑΥʔϚϯεͷޮ཰ɿAmazon CloudWatch ͰϫʔΫϑϩʔͷϞχλϦϯ ά

Slide 21

Slide 21 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T ΞαΠϯγεςϜ Amazon CloudWatch Events AWS Lambda AWS Batch ෳ਺JobΛࢦఆՄೳ 15෼Ҏ಺Ͱ׬ྃ ௨஌ Amazon S3 AWS Lambda AWS Step Functions AWS Step Functions AWS Lambda

Slide 22

Slide 22 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T 5. ΞʔΩςΫνϟʹΑΔϏδωε΁ͷߩݙ • ΞαΠϯۀ຿ͷखಈ࣌ؒΛ5࣌ؒ/ि ͷ࡟ݮ • νϟʔϯϨʔτ(ղ໿཰) ࠷େ஋͔Β4%ݮ • MAU/ϦΫΤετ཰ ࡢ೥͔Β 10% ޲্ • ৽͍͠ΞϧΰϦζϜΛࢼ༻͕༰қ(ϫʔΫϑϩʔʹ૊ΈࠐΈ΍͍͢)

Slide 23

Slide 23 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T AWS Step Functions ͰշదͳϫʔΫϥΠϑΛ

Slide 24

Slide 24 text

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. S U M M I T খෲ͚ͩ͡Όͳ͘ίίϩ΋ຬͨ͢ؤுΔࢲʹ͝๙ඒ͓΍ͭ Real Food͔Β࡞ͬͨɺඒຯͯ͘͠Χϥμʹ༏͍͓͠΍ͭΛ͓ҰਓͻͱΓʹΧελϚΠζ͓ͯ͠ಧ͚ ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ ͝ڵຯ͋Δํ͸ snaq.me (εφοΫϛʔ) ΁