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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Norimitsu Yamashita
February 20, 2019
Technology
640
0
Share
AWSとLINE Bot Server
AWSとLINE Bot Serverのサービス構成をご紹介します。
Norimitsu Yamashita
February 20, 2019
More Decks by Norimitsu Yamashita
See All by Norimitsu Yamashita
セキュアに実装するLINEログイン
nori3tsu
0
39
LINE開発基盤を利用した ビジネス特化型高速アプリ開発
nori3tsu
1
340
Hasuraの本番運用に向けて
nori3tsu
0
1.6k
LINE Developer Community忘年LT大会 2022 - LINE Developers News 振り返り
nori3tsu
0
280
LIFF・LINEミニアプリでApple Pay決済
nori3tsu
0
810
Vue.js-Nuxt.jsのグローバルエラーハンドリング実装.pdf
nori3tsu
1
4.6k
AWS Cloud Native イベント向けLINEボット
nori3tsu
1
400
Nuxt.jsで作るLINEボット
nori3tsu
1
790
Other Decks in Technology
See All in Technology
SSoT(Single Source of Truth)で「壊して再生」する設計
kawauso
2
410
Network Firewall Proxyで 自前プロキシを消し去ることができるのか
gusandayo
0
160
FASTでAIエージェントを作りまくろう!
yukiogawa
4
180
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
qa
0
640
契約書からの情報抽出を行うLLMのスループットを、バッチ処理を用いて最大40%改善した話
sansantech
PRO
3
330
自分をひらくと次のチャレンジの敷居が下がる
sudoakiy
5
1.5k
AWSで2番目にリリースされたサービスについてお話しします(諸説あります)
yama3133
0
100
非同期・イベント駆動処理の分散トレーシングの繋げ方
ichikawaken
1
250
Cursor Subagentsはいいぞ
yug1224
2
130
ブラックボックス化したMLシステムのVertex AI移行 / mlops_community_62
visional_engineering_and_design
1
260
互換性のある(らしい)DBへの移行など考えるにあたってたいへんざっくり
sejima
PRO
0
510
Embeddings : Symfony AI en pratique
lyrixx
0
440
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
0
280
RailsConf 2023
tenderlove
30
1.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
A better future with KSS
kneath
240
18k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Unsuck your backbone
ammeep
672
58k
Music & Morning Musume
bryan
47
7.1k
AI: The stuff that nobody shows you
jnunemaker
PRO
4
500
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
My Coaching Mixtape
mlcsv
0
91
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 -