Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AlertForViber_20171207

 AlertForViber_20171207

システムアラートをViberというイカしたチャットアプリへ通知するシステムを構築

Shintaro Ikeda

December 07, 2017
Tweet

More Decks by Shintaro Ikeda

Other Decks in Technology

Transcript

  1. ᶗ*OUFHSBUFFNBJMBOEQPTUUIFDPOUFOU  1. Buy a domain on Azure 2. Configure

    DNS records with Azure DNS zone 3. Receive email and WebHook with SendGrid
  2. ᶘ4FOEBMFSUTUP7JCFS  On Azure Functions 1. Receive WebHook of alert

    contents 2. Notify a Viber client by calling Viber APIs (using Viber Bot)
  3. 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 
  4. "[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 ˞೥݄೔࣌఺ࢀߟϦϯΫ
  5. 

  6. %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 
  7. ࠷ޙʹ  I wrote another article about Functions and Table

    Storage on Qiita. Like it! Azure FunctionsͰTable StorageΛCRUD͢Δ·Ͱखॱ