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
640
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
34
LINE開発基盤を利用した ビジネス特化型高速アプリ開発
nori3tsu
1
330
Hasuraの本番運用に向けて
nori3tsu
0
1.6k
LINE Developer Community忘年LT大会 2022 - LINE Developers News 振り返り
nori3tsu
0
270
LIFF・LINEミニアプリでApple Pay決済
nori3tsu
0
800
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
今日から始めるAmazon Bedrock AgentCore
har1101
4
320
20260129_CB_Kansai
takuyay0ne
1
260
分析画面のクリック操作をそのままコード化 ! エンジニアとビジネスユーザーが共存するAI-ReadyなBI基盤
ikumi
0
120
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
4
3.1k
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
280
toCプロダクトにおけるAI機能開発のしくじりと学び / ai-product-failures-and-learnings
rince
6
5.2k
月間数億レコードのアクセスログ基盤を無停止・低コストでAWS移行せよ!アプリケーションエンジニアのSREチャレンジ💪
miyamu
0
670
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
1
470
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
4
2k
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
410
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
50
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
It's Worth the Effort
3n
188
29k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
150
Amusing Abliteration
ianozsvald
0
92
Joys of Absence: A Defence of Solitary Play
codingconduct
1
280
Making Projects Easy
brettharned
120
6.6k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
310
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.5k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
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 -