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
AWSとLINE Bot Server
Search
Norimitsu Yamashita
February 20, 2019
Technology
0
580
AWSとLINE Bot Server
AWSとLINE Bot Serverのサービス構成をご紹介します。
Norimitsu Yamashita
February 20, 2019
Tweet
Share
More Decks by Norimitsu Yamashita
See All by Norimitsu Yamashita
セキュアに実装するLINEログイン
nori3tsu
0
23
LINE開発基盤を利用した ビジネス特化型高速アプリ開発
nori3tsu
1
280
Hasuraの本番運用に向けて
nori3tsu
0
1.2k
LINE Developer Community忘年LT大会 2022 - LINE Developers News 振り返り
nori3tsu
0
230
LIFF・LINEミニアプリでApple Pay決済
nori3tsu
0
650
Vue.js-Nuxt.jsのグローバルエラーハンドリング実装.pdf
nori3tsu
1
4.2k
AWS Cloud Native イベント向けLINEボット
nori3tsu
1
350
Nuxt.jsで作るLINEボット
nori3tsu
1
690
Other Decks in Technology
See All in Technology
Lexical Analysis
shigashiyama
1
150
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
530
生成AIが変えるデータ分析の全体像
ishikawa_satoru
0
160
ノーコードデータ分析ツールで体験する時系列データ分析超入門
negi111111
0
410
SSMRunbook作成の勘所_20241120
koichiotomo
3
160
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
680
第1回 国土交通省 データコンペ参加者向け勉強会③- Snowflake x estie編 -
estie
0
130
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.4k
iOS/Androidで同じUI体験をネ イティブで作成する際に気をつ けたい落とし穴
fumiyasac0921
1
110
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
OCI Security サービス 概要
oracle4engineer
PRO
0
6.5k
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
31
6.3k
Rails Girls Zürich Keynote
gr2m
94
13k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Typedesign – Prime Four
hannesfritz
40
2.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Building Adaptive Systems
keathley
38
2.3k
Happy Clients
brianwarren
98
6.7k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
How to Ace a Technical Interview
jacobian
276
23k
KATA
mclloyd
29
14k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Transcript
Copyright ©2019 Grandream Inc. All Rights Reserved. AWSLINE Bot Server
[AWS] Meguro.dev LT @nori3tsu
- 2 - Copyright ©2019 Grandream Inc. All Rights Reserved.
+"* , • LINE • GraphQL • PWA %- • AWS • Heroku • JavaScript • Ruby • /' • ! $ @nori3tsu (10. &#) )
- 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,
- 4 - Copyright ©2019 Grandream Inc. All Rights Reserved.
1, LINE Bot • LINE # • LINE$ % ◦ LINE Messaging API ▪ (*'+ ▪ (*)(+ ◦ LINE Pay ▪ LINE !" • LINE Bot Server &
- 5 - Copyright ©2019 Grandream Inc. All Rights Reserved.
2, LINE Bot Server LINE Bot Server ① ② HTTP ③ LINEMessaging API ④ ! LINEWebhook
- 6 - Copyright ©2019 Grandream Inc. All Rights Reserved.
• HTTPS POST • / • 1+,' • !! !! • 1-( $ • (LINE Pay#*))%&IP 3, LINE Bot Server ."
- 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 "
- 8 - Copyright ©2019 Grandream Inc. All Rights Reserved.
Pattern 1: API Gateway + Lambda + Kinesis AWS Cloud API Gateway Lambda Kinesis Lambda Lambda HTTPS Pull
- 9 - Copyright ©2019 Grandream Inc. All Rights Reserved.
Pattern 1: API Gateway + Lambda + Kinesis • • $ • • #%Kinesis& : • $ ◦ Lambda ◦ Kinesis!"%'& :
- 10 - Copyright ©2019 Grandream Inc. All Rights Reserved.
Pattern 2: Lightsail (Express + Bull + Redis) AWS Cloud Lightsail HTTPS Worker Client Pull
- 11 - Copyright ©2019 Grandream Inc. All Rights Reserved.
Pattern 2: Lightsail (Express + Bull + Redis) • • IP : • ◦ OS , , , ◦ , Ansible , ... :
- 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
- 13 - Copyright ©2019 Grandream Inc. All Rights Reserved.
Pattern 3: Fargate (Express, Bull) + ElastiCache (Redis) • • : • ( :
- 14 - Copyright ©2019 Grandream Inc. All Rights Reserved.
• ◦ Lightsail (Express + Bull + Redis) • ◦ API Gateway + Lambda + Kinesis (or SQS) • ◦ Fargate (Express, Bull) + ElastiCache (Redis) 5,
Copyright ©2019 Grandream Inc. All Rights Reserved. - 15 -