SlideShare una empresa de Scribd logo
1 de 34
Copyright 2009 Twilio
twilio        is a   Cloud Service
 for Web Developers to build and scale
     Voice Communication Apps
  that Make or Receive Phone Calls,
using only Basic Web Development skills
Pay Per Call Tracking
                   Private Calling
 Outbound Alerts
           Improve Customer Service
Coordinate Employees
  Voicemail Boxes
            So What Are
 Voice Applications?
Reverse 911 Alerts
  Intelligent Call Routing
      Voice User Generated Content
Company PBX
      Information Hot Line
uLaw Transcoding
           Carriers Integration
PSTN
               Channel Capacity
 DID Acquisition
                   SIP Compatibility
Building Voice Applications Used to be
Codecs      HARD                  QOS
      Realtime CPU Capacity Planning

DTMF
             Realtime Networking
 Multiyear Carrier Contracts
Telecom Goo              HTTP

                           XML
    PSTN                MP3, wav, etc.
    CLECs

               Twilio
      SIP
    uLaw
     GSM
    G.711




HARD                      EASY!
Customers & Brands
Platform
 Launched Late 2008
 Thousands of Devs
Hundreds of Live Apps
Simple, Powerful API
              Only Five Building Blocks.


 Scales Automatically
           10 or 10,000 Simultaneous Calls.


Pay-As-You-Go Pricing
No upfront, no commitment. Pay only for what you use.
Powerful
                       ^
                 Simple API
           yP BX
     pan
C om


       ail
 oi cem
V


       ou ting
Ca ll R
Pa y-As-You-Go
            ^
   Simple Pricing

Calls            Phone Numbers

3¢   / min           $5   / mo


         No Contract
        No Shenanigans
Pricing Voice Applications



   # “Ports”
      (Phone Lines)
Pricing Voice Applications




          Peak

         Median
Pricing Voice Applications


            FAIL
Waste
Ports are for Ships
         No Per Port Prices
Let Your Voice Applications Scale
Telephony in the Cloud
      Cloud Provider & Consumer

                Carr
               Tele ier
              Hard com
                   ware



Reliable Telecom without Fixed Costs
  Pass Flexibility on to Customers
               Powered By
Cluster Layout

 AMAZON                                      “Other” Cloud
      Telephony + API
EC2   Realtime, high-CPU
                                                   SVN   Code Deployment

      Reliable Voice                                     Monitoring +
S3    Recording Storage
                                            NAGIOS
                                                         Alerting

      Decouples SOA                      BOXCONFIG       Capacity
SQS   Components                        COORDINATOR      Management



                      Privileged and Confidential




      Failover Scenario
Twilio + EC2
                          HTTP                                                                   VoIP
                       Load Balancer                                                         Load Balancer




Web              Web                   API                            API                 VoIP               VoIP
Load Balancer    Load Balancer         Load Balancer                      Load Balancer   Load Balancer      Load Balancer




      Database          Database             Database




                                             EC2
                                             Privileged and Confidential
Twilio + EC2
          Realtime Transcoding
  <Play>http://myserver.com/foo.mp3</Play>
 256kbps stereo MP3 ! 11khz 8bit mono ulaw

                  Example
                     <Record/>
  http://api.twilio.com/..../Recordings/RE12345
http://api.twilio.com/..../Recordings/RE12345.mp3
           11khz 8bit mono wav ! MP3

                     EC2
                     Privileged and Confidential
Twilio + EC2
                          HTTP                                                                              VoIP
                       Load Balancer                                                                    Load Balancer




Web              Web                   API                            API                         VoIP                  VoIP
Load Balancer    Load Balancer         Load Balancer                      Load Balancer            Load Balancer        Load Balancer




      Database          Database             Database                                     Media Layer         Media Layer




                                             EC2
                                             Privileged and Confidential
Twilio AMI
              Cent5
3rd Party Software for All Machines
          (Apache, MySql, HaProxy, etc.)

     Automated Build Process
                  (out of SVN)

        Rev’d Infrequently
          (Every couple months or so)



                 AMI
                 EC2
                  Privileged and Confidential
AWS Realms
   DEV           STAGE                          PROD
AWS Account X   AWS Account Y                  AWS Account Z




   S3   SQS         S3            SQS             S3   SQS




                  Privileged and Confidential
Twilio + EC2
At Boot Time, Pulls Twilio Code from SVN
          (What Code to Pull?)



                SVN
                AMI
                EC2
                Privileged and Confidential
SVN
        SVN Externals
             DEV
      svnroot/some-codebase ! ./usr/local/some-codebase @HEAD
       svnroot/come-config-files ! ./etc/some-config-files @HEAD
                             STAGE
       svnroot/some-codebase ! ./usr/local/some-codebase @1000
        svnroot/come-config-files ! ./etc/some-config-files @1005
                            PROD
       svnroot/some-codebase ! ./usr/local/some-codebase @999
        svnroot/come-config-files ! ./etc/some-config-files @1002


  DEV                    STAGE                          PROD

 FILESYSTEM                FILESYSTEM                   FILESYSTEM




                           Privileged and Confidential
Twilio Boxconfig
Launches and Destroys Instances
  Coordinates Load Balancers
     UI + Pubsub + REST

     BOXCONFIG
        SVN
        AMI
        EC2
            Privileged and Confidential
Pulling It All Together
                                                                                          Machine Startup/Shutdown
                UI       Boxconfig                                                         1. Launch Instances
                                                                    PUBSUB
         REST API         System                                                          2. Configure Services per Role
                                                                                          3. Notify Interested Load Balancers



                              HTTP                                                                         VoIP
                           Load Balancer                                                               Load Balancer




Web                  Web                   API                           API                       VoIP                VoIP
Load Balancer        Load Balancer         Load Balancer                  Load Balancer             Load Balancer      Load Balancer




      Database              Database             Database                                            Media Layer         Media Layer



                                                 Privileged and Confidential
Pulling It All Together
                                                                                          Machine Startup/Shutdown
                UI       Boxconfig                                                         1. Launch Instances
                                                                    PUBSUB
         REST API         System                                                          2. Configure Services per Role
                                                                                          3. Notify Interested Load Balancers
                                       1

                              HTTP                                                                         VoIP
                           Load Balancer                                                               Load Balancer




Web                  Web                   API                           API                       VoIP                VoIP
Load Balancer        Load Balancer         Load Balancer                  Load Balancer             Load Balancer      Load Balancer




      Database              Database             Database                          Media Layer       Media Layer         Media Layer



                                                 Privileged and Confidential
Pulling It All Together
                                                                                          Machine Startup/Shutdown
                UI       Boxconfig                                                         1. Launch Instances
                                                                    PUBSUB
         REST API         System                                                          2. Configure Services per Role
                                                                                          3. Notify Interested Load Balancers
                                       1

                              HTTP                                                                         VoIP
                           Load Balancer                                                               Load Balancer




Web                  Web                   API                           API                       VoIP                VoIP
Load Balancer        Load Balancer         Load Balancer                  Load Balancer             Load Balancer      Load Balancer




      Database              Database             Database                      Media Layer           Media Layer          Media Layer



                                                 Privileged and Confidential
                                                                                                         2          SVN
Pulling It All Together
                                                                                          Machine Startup/Shutdown
                UI       Boxconfig                                                         1. Launch Instances
                                                                    PUBSUB
         REST API         System                                                          2. Configure Services per Role
                                                                                          3. Notify Interested Load Balancers
                                       1

                              HTTP                                                                         VoIP
                           Load Balancer                                                               Load Balancer




Web                  Web                   API                           API                       VoIP                VoIP
Load Balancer        Load Balancer         Load Balancer                  Load Balancer             Load Balancer      Load Balancer




      Database              Database             Database                      Media Layer           Media Layer          Media Layer



                                                 Privileged and Confidential
                                                                                                         2          SVN
Pulling It All Together
                                                                                          Machine Startup/Shutdown
                UI       Boxconfig                                                         1. Launch Instances
                                                                    PUBSUB
         REST API         System                                                          2. Configure Services per Role
                                                                                          3. Notify Interested Load Balancers
                                       1

                              HTTP                                                                         VoIP
                           Load Balancer                                                               Load Balancer




Web                  Web                   API                           API                       VoIP                VoIP
Load Balancer        Load Balancer         Load Balancer                  Load Balancer             Load Balancer      Load Balancer




      Database              Database             Database                      Media Layer           Media Layer         Media Layer

                                                                                           3
                                                 Privileged and Confidential
                                                                                                         2
Pulling It All Together
                                                                                             Machine Startup/Shutdown
                            Boxconfig                                                         1. Launch Instances
Nagios              4        System
                                                                       PUBSUB
                                                                                             2. Configure Services per Role
                                                                                             3. Notify Interested Load Balancers
                                          1

                                 HTTP                                                                         VoIP
                              Load Balancer                                                               Load Balancer




  Web               Web                       API                           API                       VoIP                VoIP
   Load Balancer        Load Balancer         Load Balancer                  Load Balancer             Load Balancer      Load Balancer




         Database              Database             Database                      Media Layer           Media Layer         Media Layer

                                                                                              3
                                                    Privileged and Confidential
                                                                                                            2
Pulling It All Together
                                                                                             Machine Startup/Shutdown
                            Boxconfig                                                         1. Launch Instances
Nagios              4        System           5                        PUBSUB
                                                                                             2. Configure Services per Role
                                                                                 6           3. Notify Interested Load Balancers
                                          1

                                 HTTP                                                                         VoIP
                              Load Balancer                                                               Load Balancer




  Web               Web                       API                           API                       VoIP                VoIP
   Load Balancer        Load Balancer         Load Balancer                  Load Balancer             Load Balancer      Load Balancer




         Database              Database             Database                      Media Layer           Media Layer         Media Layer

                                                                                              3
                                                    Privileged and Confidential
                                                                                                            2
Pulling It All Together
                                                                                             Machine Startup/Shutdown
                            Boxconfig                                                         1. Launch Instances
Nagios              4        System           5                        PUBSUB
                                                                                             2. Configure Services per Role
                                                                                 6           3. Notify Interested Load Balancers
                                          1

                                 HTTP                                                                         VoIP
                              Load Balancer                                                               Load Balancer




  Web               Web                       API                           API                       VoIP                 VoIP
   Load Balancer        Load Balancer         Load Balancer
                                                                    7        Load Balancer             Load Balancer
                                                                                                                       7   Load Balancer




         Database              Database             Database                      Media Layer           Media Layer          Media Layer

                                                                                              3
                                                    Privileged and Confidential
                                                                                                            2
EC2 Learnings
Test “Roles” on Instance Sizes
  Find optimal cost / performance tradeoff

    Great for Load Testing
 Spin up a test cluster, fire traffic, spin down...
               Total cost: $5-10!

  Great for Failure Testing
 Hrm, what happens if I shoot this database...
           terminateInstances()

                    Privileged and Confidential
Simplifying Telecom
Simple • Powerful • Pay-As-You-Go

    Jeff Lawson
 Co-Founder & CEO

     twitter: @twilio
     jeff@twilio.com
  http://www.twilio.com

Más contenido relacionado

La actualidad más candente

Twilio Voice Applications with Amazon AWS S3 and EC2
Twilio Voice Applications with Amazon AWS S3 and EC2Twilio Voice Applications with Amazon AWS S3 and EC2
Twilio Voice Applications with Amazon AWS S3 and EC2
Twilio Inc
 
Session initiation-protocol
Session initiation-protocolSession initiation-protocol
Session initiation-protocol
Santhosh Somu
 

La actualidad más candente (20)

Twilio Voice Applications with Amazon AWS S3 and EC2
Twilio Voice Applications with Amazon AWS S3 and EC2Twilio Voice Applications with Amazon AWS S3 and EC2
Twilio Voice Applications with Amazon AWS S3 and EC2
 
Session initiation-protocol
Session initiation-protocolSession initiation-protocol
Session initiation-protocol
 
Twilio SMS - API for Sending & Receiving SMS Messages
Twilio SMS - API for Sending & Receiving SMS MessagesTwilio SMS - API for Sending & Receiving SMS Messages
Twilio SMS - API for Sending & Receiving SMS Messages
 
Building High Performance APIs In Go Using gRPC And Protocol Buffers
Building High Performance APIs In Go Using gRPC And Protocol BuffersBuilding High Performance APIs In Go Using gRPC And Protocol Buffers
Building High Performance APIs In Go Using gRPC And Protocol Buffers
 
KITE Network Instrumentation: Advanced WebRTC Testing
KITE Network Instrumentation: Advanced WebRTC TestingKITE Network Instrumentation: Advanced WebRTC Testing
KITE Network Instrumentation: Advanced WebRTC Testing
 
Telegram app
Telegram appTelegram app
Telegram app
 
HTTPS
HTTPSHTTPS
HTTPS
 
Whatsapp Business : How to Leverage its Power
Whatsapp Business : How to Leverage its PowerWhatsapp Business : How to Leverage its Power
Whatsapp Business : How to Leverage its Power
 
SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)
 
Whats app business - How to leverage its power
Whats app business  -  How to leverage its power Whats app business  -  How to leverage its power
Whats app business - How to leverage its power
 
vishal_sharma: python email sending software
vishal_sharma: python email sending software  vishal_sharma: python email sending software
vishal_sharma: python email sending software
 
Eap sim
Eap simEap sim
Eap sim
 
SIP security in IP telephony
SIP security in IP telephonySIP security in IP telephony
SIP security in IP telephony
 
AI Enablement of Business Services
AI Enablement of Business ServicesAI Enablement of Business Services
AI Enablement of Business Services
 
Sip trunking - future of tomorrow communications
Sip trunking  -  future of tomorrow communicationsSip trunking  -  future of tomorrow communications
Sip trunking - future of tomorrow communications
 
MQTT IOT Protocol Introduction
MQTT IOT Protocol IntroductionMQTT IOT Protocol Introduction
MQTT IOT Protocol Introduction
 
Whatsapp web app
Whatsapp web appWhatsapp web app
Whatsapp web app
 
Kamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionKamailio :: A Quick Introduction
Kamailio :: A Quick Introduction
 
Hikmah melempar jumrah
Hikmah melempar jumrahHikmah melempar jumrah
Hikmah melempar jumrah
 
CDRouter Brief Introduction
CDRouter Brief IntroductionCDRouter Brief Introduction
CDRouter Brief Introduction
 

Destacado

Final Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 CloudFinal Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 Cloud
Dealmaker Media
 

Destacado (7)

Final Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 CloudFinal Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 Cloud
 
(NET409) How Twilio Migrated Its Services from EC2-Classic to EC2-VPC
(NET409) How Twilio Migrated Its Services from EC2-Classic to EC2-VPC(NET409) How Twilio Migrated Its Services from EC2-Classic to EC2-VPC
(NET409) How Twilio Migrated Its Services from EC2-Classic to EC2-VPC
 
Twilio Signal 2016 Serverless Contact Center
Twilio Signal 2016 Serverless Contact CenterTwilio Signal 2016 Serverless Contact Center
Twilio Signal 2016 Serverless Contact Center
 
Twilio Contact Center Overview
Twilio Contact Center OverviewTwilio Contact Center Overview
Twilio Contact Center Overview
 
Twilio Product Overview
Twilio Product OverviewTwilio Product Overview
Twilio Product Overview
 
Integrating Communications into CRM
Integrating Communications into CRMIntegrating Communications into CRM
Integrating Communications into CRM
 
Twilio Signal 2016 API Architecture
Twilio Signal 2016 API ArchitectureTwilio Signal 2016 API Architecture
Twilio Signal 2016 API Architecture
 

Similar a AWS Customer Presentation - Twilio

Understanding the WSO2 Platform and Technology
Understanding the WSO2 Platform and TechnologyUnderstanding the WSO2 Platform and Technology
Understanding the WSO2 Platform and Technology
WSO2
 

Similar a AWS Customer Presentation - Twilio (20)

Open Source Software Business Model
Open Source Software Business Model Open Source Software Business Model
Open Source Software Business Model
 
Windows Azure Design Patterns
Windows Azure Design PatternsWindows Azure Design Patterns
Windows Azure Design Patterns
 
Cloud Foundry Bootcamp
Cloud Foundry BootcampCloud Foundry Bootcamp
Cloud Foundry Bootcamp
 
Building a Great Web API - Evan Cooke - QCON 2011
Building a Great Web API - Evan Cooke - QCON 2011Building a Great Web API - Evan Cooke - QCON 2011
Building a Great Web API - Evan Cooke - QCON 2011
 
Open Telco API
Open Telco APIOpen Telco API
Open Telco API
 
01 introduction
01 introduction01 introduction
01 introduction
 
Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSContinuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWS
 
Mastering Kubernetes on AWS (CON301-R1) - AWS re:Invent 2018
Mastering Kubernetes on AWS (CON301-R1) - AWS re:Invent 2018Mastering Kubernetes on AWS (CON301-R1) - AWS re:Invent 2018
Mastering Kubernetes on AWS (CON301-R1) - AWS re:Invent 2018
 
Spring Boot & Spring Cloud on Pivotal Application Service
Spring Boot & Spring Cloud on Pivotal Application ServiceSpring Boot & Spring Cloud on Pivotal Application Service
Spring Boot & Spring Cloud on Pivotal Application Service
 
OpenStack 101 Technical Overview
OpenStack 101 Technical OverviewOpenStack 101 Technical Overview
OpenStack 101 Technical Overview
 
Building Highly Scalable Immersive Media Solutions on AWS
Building Highly Scalable Immersive Media Solutions on AWSBuilding Highly Scalable Immersive Media Solutions on AWS
Building Highly Scalable Immersive Media Solutions on AWS
 
Functional legacy - how to incorporate ZIO in your legacy services
Functional legacy - how to incorporate ZIO in your legacy servicesFunctional legacy - how to incorporate ZIO in your legacy services
Functional legacy - how to incorporate ZIO in your legacy services
 
Scaling Twilio - Evan Cooke - Twilio Conference 2011
Scaling Twilio - Evan Cooke - Twilio Conference 2011Scaling Twilio - Evan Cooke - Twilio Conference 2011
Scaling Twilio - Evan Cooke - Twilio Conference 2011
 
Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4
 
The Cloud Foundry bootcamp talk from SpringOne On The Road - Europe
The Cloud Foundry bootcamp talk from SpringOne On The Road - EuropeThe Cloud Foundry bootcamp talk from SpringOne On The Road - Europe
The Cloud Foundry bootcamp talk from SpringOne On The Road - Europe
 
Twilio - Social App Workshop - 2010-07-24
Twilio - Social App Workshop - 2010-07-24Twilio - Social App Workshop - 2010-07-24
Twilio - Social App Workshop - 2010-07-24
 
C# Client to Cloud
C# Client to CloudC# Client to Cloud
C# Client to Cloud
 
Understanding the WSO2 Platform and Technology
Understanding the WSO2 Platform and TechnologyUnderstanding the WSO2 Platform and Technology
Understanding the WSO2 Platform and Technology
 
Breaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container ServicesBreaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container Services
 
Continuous Deployment Practices, with Production, Test and Development Enviro...
Continuous Deployment Practices, with Production, Test and Development Enviro...Continuous Deployment Practices, with Production, Test and Development Enviro...
Continuous Deployment Practices, with Production, Test and Development Enviro...
 

Más de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Más de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

AWS Customer Presentation - Twilio

  • 2. twilio is a Cloud Service for Web Developers to build and scale Voice Communication Apps that Make or Receive Phone Calls, using only Basic Web Development skills
  • 3. Pay Per Call Tracking Private Calling Outbound Alerts Improve Customer Service Coordinate Employees Voicemail Boxes So What Are Voice Applications? Reverse 911 Alerts Intelligent Call Routing Voice User Generated Content Company PBX Information Hot Line
  • 4. uLaw Transcoding Carriers Integration PSTN Channel Capacity DID Acquisition SIP Compatibility Building Voice Applications Used to be Codecs HARD QOS Realtime CPU Capacity Planning DTMF Realtime Networking Multiyear Carrier Contracts
  • 5. Telecom Goo HTTP XML PSTN MP3, wav, etc. CLECs Twilio SIP uLaw GSM G.711 HARD EASY!
  • 7. Platform Launched Late 2008 Thousands of Devs Hundreds of Live Apps
  • 8. Simple, Powerful API Only Five Building Blocks. Scales Automatically 10 or 10,000 Simultaneous Calls. Pay-As-You-Go Pricing No upfront, no commitment. Pay only for what you use.
  • 9. Powerful ^ Simple API yP BX pan C om ail oi cem V ou ting Ca ll R
  • 10. Pa y-As-You-Go ^ Simple Pricing Calls Phone Numbers 3¢ / min $5 / mo No Contract No Shenanigans
  • 11. Pricing Voice Applications # “Ports” (Phone Lines)
  • 14. Ports are for Ships No Per Port Prices Let Your Voice Applications Scale
  • 15. Telephony in the Cloud Cloud Provider & Consumer Carr Tele ier Hard com ware Reliable Telecom without Fixed Costs Pass Flexibility on to Customers Powered By
  • 16. Cluster Layout AMAZON “Other” Cloud Telephony + API EC2 Realtime, high-CPU SVN Code Deployment Reliable Voice Monitoring + S3 Recording Storage NAGIOS Alerting Decouples SOA BOXCONFIG Capacity SQS Components COORDINATOR Management Privileged and Confidential Failover Scenario
  • 17. Twilio + EC2 HTTP VoIP Load Balancer Load Balancer Web Web API API VoIP VoIP Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Database Database Database EC2 Privileged and Confidential
  • 18. Twilio + EC2 Realtime Transcoding <Play>http://myserver.com/foo.mp3</Play> 256kbps stereo MP3 ! 11khz 8bit mono ulaw Example <Record/> http://api.twilio.com/..../Recordings/RE12345 http://api.twilio.com/..../Recordings/RE12345.mp3 11khz 8bit mono wav ! MP3 EC2 Privileged and Confidential
  • 19. Twilio + EC2 HTTP VoIP Load Balancer Load Balancer Web Web API API VoIP VoIP Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Database Database Database Media Layer Media Layer EC2 Privileged and Confidential
  • 20. Twilio AMI Cent5 3rd Party Software for All Machines (Apache, MySql, HaProxy, etc.) Automated Build Process (out of SVN) Rev’d Infrequently (Every couple months or so) AMI EC2 Privileged and Confidential
  • 21. AWS Realms DEV STAGE PROD AWS Account X AWS Account Y AWS Account Z S3 SQS S3 SQS S3 SQS Privileged and Confidential
  • 22. Twilio + EC2 At Boot Time, Pulls Twilio Code from SVN (What Code to Pull?) SVN AMI EC2 Privileged and Confidential
  • 23. SVN SVN Externals DEV svnroot/some-codebase ! ./usr/local/some-codebase @HEAD svnroot/come-config-files ! ./etc/some-config-files @HEAD STAGE svnroot/some-codebase ! ./usr/local/some-codebase @1000 svnroot/come-config-files ! ./etc/some-config-files @1005 PROD svnroot/some-codebase ! ./usr/local/some-codebase @999 svnroot/come-config-files ! ./etc/some-config-files @1002 DEV STAGE PROD FILESYSTEM FILESYSTEM FILESYSTEM Privileged and Confidential
  • 24. Twilio Boxconfig Launches and Destroys Instances Coordinates Load Balancers UI + Pubsub + REST BOXCONFIG SVN AMI EC2 Privileged and Confidential
  • 25. Pulling It All Together Machine Startup/Shutdown UI Boxconfig 1. Launch Instances PUBSUB REST API System 2. Configure Services per Role 3. Notify Interested Load Balancers HTTP VoIP Load Balancer Load Balancer Web Web API API VoIP VoIP Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Database Database Database Media Layer Media Layer Privileged and Confidential
  • 26. Pulling It All Together Machine Startup/Shutdown UI Boxconfig 1. Launch Instances PUBSUB REST API System 2. Configure Services per Role 3. Notify Interested Load Balancers 1 HTTP VoIP Load Balancer Load Balancer Web Web API API VoIP VoIP Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Database Database Database Media Layer Media Layer Media Layer Privileged and Confidential
  • 27. Pulling It All Together Machine Startup/Shutdown UI Boxconfig 1. Launch Instances PUBSUB REST API System 2. Configure Services per Role 3. Notify Interested Load Balancers 1 HTTP VoIP Load Balancer Load Balancer Web Web API API VoIP VoIP Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Database Database Database Media Layer Media Layer Media Layer Privileged and Confidential 2 SVN
  • 28. Pulling It All Together Machine Startup/Shutdown UI Boxconfig 1. Launch Instances PUBSUB REST API System 2. Configure Services per Role 3. Notify Interested Load Balancers 1 HTTP VoIP Load Balancer Load Balancer Web Web API API VoIP VoIP Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Database Database Database Media Layer Media Layer Media Layer Privileged and Confidential 2 SVN
  • 29. Pulling It All Together Machine Startup/Shutdown UI Boxconfig 1. Launch Instances PUBSUB REST API System 2. Configure Services per Role 3. Notify Interested Load Balancers 1 HTTP VoIP Load Balancer Load Balancer Web Web API API VoIP VoIP Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Database Database Database Media Layer Media Layer Media Layer 3 Privileged and Confidential 2
  • 30. Pulling It All Together Machine Startup/Shutdown Boxconfig 1. Launch Instances Nagios 4 System PUBSUB 2. Configure Services per Role 3. Notify Interested Load Balancers 1 HTTP VoIP Load Balancer Load Balancer Web Web API API VoIP VoIP Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Database Database Database Media Layer Media Layer Media Layer 3 Privileged and Confidential 2
  • 31. Pulling It All Together Machine Startup/Shutdown Boxconfig 1. Launch Instances Nagios 4 System 5 PUBSUB 2. Configure Services per Role 6 3. Notify Interested Load Balancers 1 HTTP VoIP Load Balancer Load Balancer Web Web API API VoIP VoIP Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Database Database Database Media Layer Media Layer Media Layer 3 Privileged and Confidential 2
  • 32. Pulling It All Together Machine Startup/Shutdown Boxconfig 1. Launch Instances Nagios 4 System 5 PUBSUB 2. Configure Services per Role 6 3. Notify Interested Load Balancers 1 HTTP VoIP Load Balancer Load Balancer Web Web API API VoIP VoIP Load Balancer Load Balancer Load Balancer 7 Load Balancer Load Balancer 7 Load Balancer Database Database Database Media Layer Media Layer Media Layer 3 Privileged and Confidential 2
  • 33. EC2 Learnings Test “Roles” on Instance Sizes Find optimal cost / performance tradeoff Great for Load Testing Spin up a test cluster, fire traffic, spin down... Total cost: $5-10! Great for Failure Testing Hrm, what happens if I shoot this database... terminateInstances() Privileged and Confidential
  • 34. Simplifying Telecom Simple • Powerful • Pay-As-You-Go Jeff Lawson Co-Founder & CEO twitter: @twilio jeff@twilio.com http://www.twilio.com