Click here to load reader

Twilio serveless architecture

  • View
    858

  • Download
    0

Embed Size (px)

Text of Twilio serveless architecture

  • Twilio API Vol.28 Twilio

    selfree, llc Kiminari Homma

  • @kimihom

    http://www.bokukoko.info/

    CTO at selfree,llc

    Ruby on Rails, AWS, Heroku, Android, iOS

    TwilioJP-UG

    http://www.bokukoko.info/

  • as a Service

    Web

    https://www.callconnect.jp/

    https://www.callconnect.jp/

  • Contents Twilio

    URL

  • Voice

    Client

    Voice

    and More..

  • TwiML

    Twilio Twilio XML

    (TwiML)

    Web

    https://www.myasset.com/voice.wav

  • REST API

    HTTP Twilio (PHP, Ruby, Python, Node.js etc)

    Web

    SMS Twilio

  • URL

  • URL URL

    Twilo URL

    Error! Web

    URL

    URL TwiMLURL URL

    URL

    URL

    (TwiML)

  • Say

  • Problem

    1..

    Twilio

    ()

  • URL URL

    Twilo URL

    Error! Web

    URL

    URL TwiMLURL URL

    URL

    URL

    (TwiML)?

  • URL

    URL

  • PHP

  • AWS Lambda Amazon API Gateway

    +

  • AWS

    Node.js/Java/Python

    Linux AWS SDK, ImageMagick

    node_modules Zip

    1 100 400,000 GB/

    CloudWatch

    AWS Lambda

  • Amazon S3

    Amazon DynamoDB

    Cron1

    AWS Lambda

    Examples of AWS Lambda

  • Amazon API Gateway

    API

    AWS Lambda

    URL

    API

    iOS/Android SDK

    Swagger

    8 10

  • Your Server

    URL

    API Gateway

    Lambda

    URLTwiML

  • TwilioURL

    Good Solution!

  • AWS Lambda

    Amazon API Gateway

    URLAmazon API Gateway

    Twilio URLURL

  • 128 Twilio Advent Calendar 2015