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
630
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
33
LINE開発基盤を利用した ビジネス特化型高速アプリ開発
nori3tsu
1
320
Hasuraの本番運用に向けて
nori3tsu
0
1.5k
LINE Developer Community忘年LT大会 2022 - LINE Developers News 振り返り
nori3tsu
0
260
LIFF・LINEミニアプリでApple Pay決済
nori3tsu
0
760
Vue.js-Nuxt.jsのグローバルエラーハンドリング実装.pdf
nori3tsu
1
4.5k
AWS Cloud Native イベント向けLINEボット
nori3tsu
1
390
Nuxt.jsで作るLINEボット
nori3tsu
1
760
Other Decks in Technology
See All in Technology
データモデリング通り #2オンライン勉強会 ~方法論の話をしよう~
datayokocho
0
150
家族の思い出を形にする 〜 1秒動画の生成を支えるインフラアーキテクチャ
ojima_h
3
930
【CEDEC2025】現場を理解して実現!ゲーム開発を効率化するWebサービスの開発と、利用促進のための継続的な改善
cygames
PRO
0
780
アカデミーキャンプ 2025 SuuuuuuMMeR「燃えろ!!ロボコン」 / Academy Camp 2025 SuuuuuuMMeR "Burn the Spirit, Robocon!!" DAY 1
ks91
PRO
0
130
o11yツールを乗り換えた話
tak0x00
2
860
大規模イベントに向けた ABEMA アーキテクチャの遍歴 ~ Platform Strategy 詳細解説 ~
nagapad
0
210
LLMで構造化出力の成功率をグンと上げる方法
keisuketakiguchi
0
720
AWS re:Inforce 2025 re:Cap Update Pickup & AWS Control Tower の運用における考慮ポイント
htan
1
230
마라톤 끝의 단거리 스퍼트: 2025년의 AI
inureyes
PRO
1
730
いかにして命令の入れ替わりについて心配するのをやめ、メモリモデルを愛するようになったか(改)
nullpo_head
7
2.5k
生成AI時代におけるAI・機械学習技術を用いたプロダクト開発の深化と進化 #BetAIDay
layerx
PRO
1
1.1k
僕たちが「開発しやすさ」を求め 模索し続けたアーキテクチャ #アーキテクチャ勉強会_findy
bengo4com
0
2.3k
Featured
See All Featured
Designing Experiences People Love
moore
142
24k
Facilitating Awesome Meetings
lara
54
6.5k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.7k
Practical Orchestrator
shlominoach
190
11k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Done Done
chrislema
185
16k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
The Cult of Friendly URLs
andyhume
79
6.5k
KATA
mclloyd
32
14k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Thoughts on Productivity
jonyablonski
69
4.8k
Designing for humans not robots
tammielis
253
25k
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 -