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
AlertForViber_20171207
Search
Shintaro Ikeda
December 07, 2017
Technology
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AlertForViber_20171207
システムアラートをViberというイカしたチャットアプリへ通知するシステムを構築
Shintaro Ikeda
December 07, 2017
More Decks by Shintaro Ikeda
See All by Shintaro Ikeda
Difference between Swagger and OpenAPI
momotaro98
0
190
Haskell-Rinko-11
momotaro98
0
69
習慣的にやりたいことを手助けしてくれるLINEボットを作った話
momotaro98
0
80
アウトプット駆動スキルアップ
momotaro98
1
98
マイクロサービスの概要と構築 統合編
momotaro98
0
110
Other Decks in Technology
See All in Technology
発表と総括 / Presentations and Summary
ks91
PRO
0
140
Amplify Gen2でbackend.tsにCDKを定義する/しない事によるCDKの挙動の違いとユースケース
smt7174
1
410
凡エンジニアがこの先生きのこるためには。〜TypeScript完全に理解したい〜
alchemy1115
2
310
脱金融のフューチャー・デザイン / Future Design Beyond Finance
ks91
PRO
0
160
人を動かすのは時間ではなく、納得感 〜新任EMが入社3ヶ月、組織を2回変えた話〜
kakehashi
PRO
3
270
Alphaモジュール使っていいのかい!?いけないのかい!?どっちなんだいっ!?
watany
1
280
SRE依存からの脱却 運用を開 発チームへ移す、 フルサイ クル開 発体制の実践
joooee0000
0
3.1k
CIで使うClaude
iwatatomoya
0
290
はじめてのWDM
miyukichi_ospf
1
150
タスクの複雑さでモデルを選ぶ ── Thompson Samplingで動かす“トークン/コスト最適化
satohy0323
0
560
Compose 新機能総まとめ / What's New in Jetpack Compose
yanzm
0
320
AI時代の闇と光
tatsuya1970
0
110
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
The Spectacular Lies of Maps
axbom
PRO
1
860
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
970
Side Projects
sachag
455
43k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
How to train your dragon (web standard)
notwaldorf
97
6.7k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
340
The Invisible Side of Design
smashingmag
301
52k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
610
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
900
Transcript
γεςϜΞϥʔτΛ7JCFSͱ͍͏ΠΧͨ͠νϟοτΞϓϦ௨͢Δ %FDUI ಉظ-5ձ 4IJOUBSP*LFEB "MFSUGPS7JCFS
Έͳ͞Μ ΞϥʔτରԠͯ͠·͔͢ʁ
8FIBWFUPDBSSZUIFGVDLJOHDPNQBOZJTTVFEEFWJDF EFTQJUFUIFXFFLFOE
8IBU*EJE
None
None
%FNPOTUSBUJPO
8FDBOOPUJDFTZTUFNBMFSUTWJB7JCFS All new systems are on Microsoft Azure DNS zone
SendGrid Functions Utilize APIs of Viber
ᶗ*OUFHSBUFFNBJMBOEQPTUUIFDPOUFOU 1. Buy a domain on Azure 2. Configure
DNS records with Azure DNS zone 3. Receive email and WebHook with SendGrid
*XSPUFBOBSUJDMFBCPVUJUPO2JJUB "[VSFͰυϝΠϯΛߪೖͦ͠ͷαϒυϝΠϯѼͷϝʔϧ ༰Λଞॴͷ"1*1045͢Δ
ᶘ4FOEBMFSUTUP7JCFS On Azure Functions 1. Receive WebHook of alert
contents 2. Notify a Viber client by calling Viber APIs (using Viber Bot)
8IBUJT
l"[VSF'VODUJPOTzJTBTFSWFSMFTTQMBUGPSN FaaS (Function-as-a-Service) Solution for easily running small pieces of
code Features Concentration on business app coding Automatic scaling Low cost Connection with various services
"[VSF'VODUJPOWT"84-BNCEB ˞ 'FBUVSFT "[VSF'VODUJPOT "84-BNCEB %FQMPZNFOUT 7JTVBM4UVEJP5FBN4FSWJDFT 0OF%SJWF
-PDBM(JUSFQPTJUPSZ (JU)VC #JUCVDLFU %SPQCPY &YUFSOBMSFQPTJUPSZ 0OMZ;*1VQMPBE 7FSTJPOJOH $MPVE4PVSDFCSBODIUBH 7FSTJPOTBOEBMJBTFT &WFOUESJWFO 5BCMF #MPC &WFOU)VC (FOFSJD 8FC)PPL (JU)VC8FC)PPL 2VFVF )UUQ 4FSWJDF#VT2VFVF 4FSWJDF#VT5PQJD 5JNFSUSJHHFST 4 4/4 4&4 %ZOBNP%# ,JOFTJT $MPVE8BUDI $PHOJUP "1*(BUFXBZ $PEF$PNNJU FUD %FQFOEFODJFT /QN /V(FU %FQMPZNFOU1BDLBHFT 4VQQPSUFE MBOHVBHFT $ +BWB4DSJQU ' 1ZUIPO #BUDI 1)1 1PXFS4IFMM +BWB4DSJQU +BWB $ BOE1ZUIPO ˞݄࣌ࢀߟϦϯΫ
0VSBQQBSDIJUFDUVSFPG"[VSF'VODUJPOT
4PVSDF$PEF IUUQTHJUIVCDPNNPNPUBSP$4IBSQ"MFSU5P7JCFS
%FWFMPQNFOU'FBUVSFT No building in spite of complier language (C#, Java)
pros: Deployment is easy (Merge master branch of repository) cons: Hard to do CI (Unit test when pushing sources) No Web Frameworks pros: Low learning cost cons: Hard to manage the structure of codes
ॴײɾײ ServelessϚΠΫϩαʔϏεಛ༗ͷ͕͋͠͞Γͦ͏ γεςϜ͕େ͖͘ͳͬͨͱ͖ͷFunctionؒͷґଘؔͱ͔ Azureͷϙʔλϧը໘τϩͯ͘͠ΜͲ͍ AWSͷهࣄ͔ͬΓͰAzureͷ͕·ͩগͳ͍ AzureΛ͏͕ϒϩάॻ͍ͨΓ͢ΔจԽ͕ͳ͍Μͩͱࢥ͏
࠷ޙʹ I wrote another article about Functions and Table
Storage on Qiita. Like it! Azure FunctionsͰTable StorageΛCRUD͢Δ·Ͱखॱ