Slide 1

Slide 1 text

Copyright ©2019 Grandream Inc. All Rights Reserved. AWSLINE Bot Server [AWS] Meguro.dev LT @nori3tsu

Slide 2

Slide 2 text

- 2 - Copyright ©2019 Grandream Inc. All Rights Reserved. +"* , • LINE • GraphQL • PWA %- • AWS • Heroku • JavaScript • Ruby • /' • ! $ @nori3tsu (10. ) )

Slide 3

Slide 3 text

- 3 - Copyright ©2019 Grandream Inc. All Rights Reserved. AWS LINE Bot Server 1, LINE Bot 2, LINE Bot Server 3, LINE Bot Server 4, AWS + LINE Bot Server 5,

Slide 4

Slide 4 text

- 4 - Copyright ©2019 Grandream Inc. All Rights Reserved. 1, LINE Bot ● LINE # ● LINE$ % ○ LINE Messaging API ■ (*'+ ■ (*)(+ ○ LINE Pay ■ LINE !" ● LINE Bot Server &

Slide 5

Slide 5 text

- 5 - Copyright ©2019 Grandream Inc. All Rights Reserved. 2, LINE Bot Server LINE Bot Server ① ② HTTP ③ LINEMessaging API ④ ! LINEWebhook

Slide 6

Slide 6 text

- 6 - Copyright ©2019 Grandream Inc. All Rights Reserved. ● HTTPS POST ● / ● 1+,' ● !! !! ● 1-( $ ● (LINE Pay#*))%&IP 3, LINE Bot Server ."

Slide 7

Slide 7 text

- 7 - Copyright ©2019 Grandream Inc. All Rights Reserved. ● Pattern1: API Gateway + Lambda + Kinesis ● Pattern2: Lightsail (Express + Bull + Redis) ● Pattern3: Fargate (Express, Bull) + ElastiCache (Redis) 4, AWS + LINE Bot Server ! #$: Express: Node.jsWeb Bull: Node.js Redis "

Slide 8

Slide 8 text

- 8 - Copyright ©2019 Grandream Inc. All Rights Reserved. Pattern 1: API Gateway + Lambda + Kinesis AWS Cloud API Gateway Lambda Kinesis Lambda Lambda HTTPS Pull

Slide 9

Slide 9 text

- 9 - Copyright ©2019 Grandream Inc. All Rights Reserved. Pattern 1: API Gateway + Lambda + Kinesis ● ● $ ● ● #%Kinesis& : ● $ ○ Lambda ○ Kinesis!"%'& :

Slide 10

Slide 10 text

- 10 - Copyright ©2019 Grandream Inc. All Rights Reserved. Pattern 2: Lightsail (Express + Bull + Redis) AWS Cloud Lightsail HTTPS Worker Client Pull

Slide 11

Slide 11 text

- 11 - Copyright ©2019 Grandream Inc. All Rights Reserved. Pattern 2: Lightsail (Express + Bull + Redis) ● ● IP : ● ○ OS , , , ○ , Ansible , ... :

Slide 12

Slide 12 text

- 12 - Copyright ©2019 Grandream Inc. All Rights Reserved. Pattern 3: Fargate (Express, Bull) + ElastiCache (Redis) AWS Cloud Fargate HTTPS Worker Client Pull ElastiCache for Redis

Slide 13

Slide 13 text

- 13 - Copyright ©2019 Grandream Inc. All Rights Reserved. Pattern 3: Fargate (Express, Bull) + ElastiCache (Redis) ● ● : ● ( :

Slide 14

Slide 14 text

- 14 - Copyright ©2019 Grandream Inc. All Rights Reserved. ● ○ Lightsail (Express + Bull + Redis) ● ○ API Gateway + Lambda + Kinesis (or SQS) ● ○ Fargate (Express, Bull) + ElastiCache (Redis) 5,

Slide 15

Slide 15 text

Copyright ©2019 Grandream Inc. All Rights Reserved. - 15 -