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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Norimitsu Yamashita
February 20, 2019
Technology
650
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
41
LINE開発基盤を利用した ビジネス特化型高速アプリ開発
nori3tsu
1
340
Hasuraの本番運用に向けて
nori3tsu
0
1.6k
LINE Developer Community忘年LT大会 2022 - LINE Developers News 振り返り
nori3tsu
0
290
LIFF・LINEミニアプリでApple Pay決済
nori3tsu
0
830
Vue.js-Nuxt.jsのグローバルエラーハンドリング実装.pdf
nori3tsu
1
4.6k
AWS Cloud Native イベント向けLINEボット
nori3tsu
1
400
Nuxt.jsで作るLINEボット
nori3tsu
1
800
Other Decks in Technology
See All in Technology
AI時代に、 データアナリストがデータエンジニアに異動して
jackojacko_
0
840
雑談は、センサーだった
bitkey
PRO
2
250
データモデリング通り #5オンライン勉強会: AIに『ビジネスの文脈』を教え込むデータモデリング
datayokocho
0
270
AI時代の品質はテストプロセスの作り直し #scrumniigata
kyonmm
PRO
4
1.5k
SREの仕事は「壊さないこと」ではなくなった 〜自律化していくシステムに、責任と判断を与えるという価値〜 / 20260515 Naoki Shimada
shift_evolve
PRO
1
150
生成AI時代に信頼性をどう保ち続けるか - Policy as Code の実践
akitok_
1
240
AIエージェントの支払い基盤 AgentCore Payments概要
kmiya84377
2
180
PdM・Eng・QAで進めるAI駆動開発の現在地/aidd-with-pdm-eng-qa
shota_kusaba
0
230
小さいVue.jsを30分で作る
hal_spidernight
0
150
Purview Endpoint DLP 動かしてみた
kozakigh
0
390
変化の激しい時代をゴキゲンに生き抜くために 〜ストレスマネジメントのススメ〜
kakehashi
PRO
5
1.3k
AI 時代の Platform Engineering
recruitengineers
PRO
1
180
Featured
See All Featured
Mind Mapping
helmedeiros
PRO
1
190
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
200
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
140
Building Applications with DynamoDB
mza
96
7k
GitHub's CSS Performance
jonrohan
1033
470k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
780
A designer walks into a library…
pauljervisheath
211
24k
Designing Experiences People Love
moore
143
24k
How to build a perfect <img>
jonoalderson
1
5.5k
Faster Mobile Websites
deanohume
310
31k
Agile that works and the tools we love
rasmusluckow
331
21k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
740
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 -