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
0
210
AlertForViber_20171207
システムアラートをViberというイカしたチャットアプリへ通知するシステムを構築
Shintaro Ikeda
December 07, 2017
Tweet
Share
More Decks by Shintaro Ikeda
See All by Shintaro Ikeda
Difference between Swagger and OpenAPI
momotaro98
0
150
Haskell-Rinko-11
momotaro98
0
42
習慣的にやりたいことを手助けしてくれるLINEボットを作った話
momotaro98
0
61
アウトプット駆動スキルアップ
momotaro98
1
72
マイクロサービスの概要と構築 統合編
momotaro98
0
85
Other Decks in Technology
See All in Technology
P2P通信の標準化 WebRTCを知ろう
faithandbrave
1
140
ゼロから始めるSREの事業貢献 - 生成AI時代のSRE成長戦略と実践 / Starting SRE from Day One
shinyorke
PRO
0
120
Digitization部 紹介資料
sansan33
PRO
1
4.5k
対話型音声AIアプリケーションの信頼性向上の取り組み
ivry_presentationmaterials
3
1.1k
CDKコード品質UP!ナイスな自作コンストラクタを作るための便利インターフェース
harukasakihara
2
240
SRE不在の開発チームが障害対応と 向き合った100日間 / 100 days dealing with issues without SREs
shin1988
2
2.1k
安定した基盤システムのためのライブラリ選定
kakehashi
PRO
3
130
組織内、組織間の資産保護に必要なアイデンティティ基盤と関連技術の最新動向
fujie
0
280
AWS Well-Architected から考えるオブザーバビリティの勘所 / Considering the Essentials of Observability from AWS Well-Architected
sms_tech
1
110
SRE with AI:実践から学ぶ、運用課題解決と未来への展望
yoshiiryo1
0
340
AI エージェントと考え直すデータ基盤
na0
20
7.9k
助けて! XからWaylandに移行しないと新しいGNOMEが使えなくなっちゃう 2025-07-12
nobutomurata
2
200
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
184
22k
Docker and Python
trallard
45
3.5k
The World Runs on Bad Software
bkeepers
PRO
70
11k
A designer walks into a library…
pauljervisheath
207
24k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
The Language of Interfaces
destraynor
158
25k
Visualization
eitanlees
146
16k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
The Invisible Side of Design
smashingmag
301
51k
Raft: Consensus for Rubyists
vanstee
140
7k
Six Lessons from altMBA
skipperchong
28
3.9k
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͢Δ·Ͱखॱ