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
180
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
140
Haskell-Rinko-11
momotaro98
0
35
習慣的にやりたいことを手助けしてくれるLINEボットを作った話
momotaro98
0
54
アウトプット駆動スキルアップ
momotaro98
1
65
マイクロサービスの概要と構築 統合編
momotaro98
0
80
Other Decks in Technology
See All in Technology
Cloud Spanner 導入で実現した快適な開発と運用について
colopl
1
650
『衛星データ利用の方々にとって近いようで触れる機会のなさそうな小話 ~ 衛星搭載ソフトウェアと衛星運用ソフトウェア (実物) を動かしながらわいわいする編 ~』 @日本衛星データコミニティ勉強会
meltingrabbit
0
140
ユーザーストーリーマッピングから始めるアジャイルチームと並走するQA / Starting QA with User Story Mapping
katawara
0
200
転生CISOサバイバル・ガイド / CISO Career Transition Survival Guide
kanny
3
980
7日間でハッキングをはじめる本をはじめてみませんか?_ITエンジニア本大賞2025
nomizone
2
1.8k
株式会社EventHub・エンジニア採用資料
eventhub
0
4.3k
レビューを増やしつつ 高評価維持するテクニック
tsuzuki817
1
710
スタートアップ1人目QAエンジニアが QAチームを立ち上げ、“個”からチーム、 そして“組織”に成長するまで / How to set up QA team at reiwatravel
mii3king
2
1.5k
データマネジメントのトレードオフに立ち向かう
ikkimiyazaki
6
980
「海外登壇」という 選択肢を与えるために 〜Gophers EX
logica0419
0
700
Developer Summit 2025 [14-D-1] Yuki Hattori
yuhattor
19
6.2k
プロダクトエンジニア構想を立ち上げ、プロダクト志向な組織への成長を続けている話 / grow into a product-oriented organization
hiro_torii
1
190
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Producing Creativity
orderedlist
PRO
344
39k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Designing for Performance
lara
604
68k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
960
Agile that works and the tools we love
rasmusluckow
328
21k
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͢Δ·Ͱखॱ