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

How can your business benefit from going server...

How can your business benefit from going serverless?

Serverless architectures let you build and deploy applications and services with infrastructure resources that require zero administration. In the past, you had to provision and scale servers to run your application code to install and operate distributed databases and build and run custom software to handle API requests. Now AWS provides a stack of scalable fully-managed services that eliminates these operational complexities. In this session, you will learn about the basics of serverless and especially how your business can benefit from it.

Adrian Hornsby

June 26, 2018
Tweet

More Decks by Adrian Hornsby

Other Decks in Technology

Transcript

  1. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. How can your business benefit from going Serverless? Adrian Hornsby Cloud Architecture Evangelist Amazon Web Services
  2. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Computing evolution – A paradigm shift FOCUS ON BUSINESS LOGIC LEVEL OF ABSTRACTION Physical Machines • Requires “guess” planning • Lives for years on-prem • Heavy investments (CAPEX) • Low innovation factor • Deploy in months
  3. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Computing evolution – A paradigm shift FOCUS ON BUSINESS LOGIC LEVEL OF ABSTRACTION Physical Machines Virtual Servers in Datacenters Virtual Machines • Hardware independence • Faster provisioning speed (minutes/hours) • Trade CAPEX for OPEX • More scale • Elastic resources • Faster speed and agility • Reduced maintenance
  4. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Computing evolution – A paradigm shift FOCUS ON BUSINESS LOGIC LEVEL OF ABSTRACTION Virtual Servers in Datacenters Virtual Servers in Datacenters Physical Machines Virtual Machines Containerization • Platform independence • Consistent Runtime Environment • Higher resource utilization • Easier and faster deployments • Isolation and sandboxing • Start speed (deploy in seconds)
  5. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Computing evolution – A paradigm shift FOCUS ON BUSINESS LOGIC LEVEL OF ABSTRACTION Virtual Servers in Datacenters Virtual Servers in Datacenters Physical Machines Virtual Machines Containerization Serverless • Continuous scaling • Fault tolerance built-in • Event-driven • Pay per usage • Zero maintenance
  6. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Why are we witnessing a paradigm shift? Happier Customers Better Products More Innovations Faster Release Cycles Decouple Software Systems (micro-services) Focus on Business Logic
  7. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. The increasing pace of change in software development requires organizations to restructure their efforts and split their applications into microservices in order to keep up. The more they can independently evolve parts of their increasingly complex systems at scale, and decouple their innovation (applications and user experience) from infrastructure management, the better positioned they will be to serve their customers. Why are we witnessing a paradigm shift?
  8. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. What is Serverless?
  9. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. “At the heart of serverless computing is a simple but revolutionary idea – that companies only pay for compute when they actually use it.” AWS General Manager of Serverless, Dr. Tim Wagner
  10. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. No servers to provision or manage Scales with usage Pay-per requests Availability and fault tolerance built in Serverless means… $
  11. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Why Serverless? No servers to provision or manage
  12. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Infrastructure Network Machine / Instance Operating System Application
  13. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Infrastructure Network Instance Operating System Application AWS
  14. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Function – first class citizen def handler(event, context): return { "message": ”Hello World!", "event": event } • Focus on solving business problems • Reusable components • Easier to isolate failure
  15. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Why Serverless? Scale with usage
  16. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Enterprises are achieving massive scale with Lambda processes 4,000 requests per second processes half a trillion validations of stock trades daily reduced the time to ingest and process data for its analytics pipeline by 97% can handle spikes of 80x normal traffic triggers 1.2 billion Lambda requests each month
  17. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Why Serverless? Pay-per request
  18. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. • Never pay for idle • Buy compute time in 100ms increments • No hourly, daily, or monthly minimums • No per-device fees Free Tier 1 million requests and 400,000 GBs of compute every month, every customer Pay-per request
  19. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Developer analytics The ability to track both the revenue and cost of an end user’s every interaction lets even tiny startups access the kind of customer analytic power and machine learning enablement that was formerly restricted to only the largest and wealthiest of Fortune 100 companies. Creating business value through coding • Focus on business logic • Micro billing / Don’t pay for Idle “Worth based development” Wardley • Focus development on reduction of operational cost (https://blog.gardeviance.org/2016/11/why-fuss-about-serverless.html)
  20. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Bustle.com Bustle.com is a news, entertainment, lifestyle, and fashion website catering to women: • 52 million monthly users • 100 million events daily • 84% cost savings • 0 servers • 0 operating system patches https://aws.amazon.com/solutions/case-studies/bustle/
  21. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Why Serverless? Availability and Fault Tolerance Built In
  22. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Availability in Parallel A = 1 – (1 – Ax)2 Part X Part X
  23. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Availability in Parallel Component Availability Downtime X 99% (2-nines) 3 days 15 hours Two X in parallel 99.99% (4-nines) 52 minutes Three X in parallel 99.9999% (6-nines) 31 seconds
  24. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Availability Zone A Availability Zone B Availability Zone C Application Multi-AZ Well-Architected Serverless Services
  25. Services for Building Serverless Applications AWS Lambda Amazon DynamoDB Amazon

    SNS Amazon API Gateway Amazon SQS Amazon Kinesis Amazon S3 Developer Tools and User Management API Management and Real-time Backend Orchestration, Messaging and Queues Analytics Compute Storage Database Amazon Cognito AWS AppSync Amazon Athena AWS Lambda@Edge Amazon Aurora Serverless (preview) AWS Step Functions AWS CodeBuild AWS CodePipeline AWS Cloud9 AWS CodeDeploy AWS Serverless Application Model (SAM) AWS X-Ray Open Source and Third parties
  26. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Application developers no longer have to provision and manage physical servers, operating systems, traditional infrastructure security, or the myriad of other functions. The promise of serverless
  27. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. No server is easier to manage than no server All of this goes away Provisioning and utilization Availability and fault tolerance Scaling Operations and management
  28. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Serverless is for All Application Types Analytics Operational management Live Dashboards Data workflows Content management ETL workflows Interactive Backends Bots Webhooks Autonomous IT Policy engines Infrastructure mana
  29. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. PCI- and HIPAA-compliance Serverless platform services that can be used in both: AWS Lambda Amazon S3 Amazon CloudFront Amazon DynamoDB Amazon Kinesis Streams Amazon Cognito Amazon API Gateway Amazon SNS
  30. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. < DEMO // let’s talk Hello World! >
  31. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. So, what does serverless mean business-wise and in what ways can it benefit your business?
  32. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. 1.Shorter time to market 2.Increased efficiency 3.Your fixed costs have become variable costs 4.Less waste 5.Easier pivoting (more flexibility) 6.Better service stability 7.Better management of development and testing 8.Reduce security risks (less to worry about) Benefits for your business
  33. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Venture Capitalist investment thesis • Creating business value to customers is more important than keeping yourself busy with maintaining infrastructure. • Startups are expected to scale quickly and deliver excellent features. • To achieve the sustainable minimum lead time to business impact more and more startups are inclining towards serverless technology! https://aws.amazon.com/blogs/startups/the-venture-capitalist-and-startup-view-on-serverless-with-greylock-partners/ ”The only absolute certainty is that the bank balance declines every day. The faster the better.” Steve Blank & Bob Dorf, The Startup Owner’s Manual
  34. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. “Startups that don’t leverage these tools will move too slowly and inefficiently, leaving them at risk of being disrupted...” -Ping Li,Partner Accel ”We believe that microservices and serverless functions will form the fabric of the intelligent applications of the future.” - Daniel Li, Principal Madrona
  35. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. More Customer Stories
  36. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Why Lambda? Concurrency: able to scale up to 20,000 concurrent Lambda executions in testing One simulation of 20 million mortgages ran in 1.5 hours, or more than 4X faster than existing process Achieving Massive Scale Not Massive Cost Existing on-premises daily mortgage cash flow risk simulation architecture not scaling with business needs Fannie Mae AWS Lambda
  37. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Why Lambda? Continuous scale: seamlessly ramps up to peak traffic of 22K Concurrent Requests Quick time to market: 8 weeks from conception to production Event driven architecture maximizes resource efficiency Serverless Driving Faster Time to Market Agero created the MileUp app and used crash prediction models to speed up emergency response AWS Lambda
  38. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Why Lambda? >95% decrease in overall deployment and operational costs Scales up or down for variation in customer request volume Migrating tasks to Lambda took only a few weeks 95% Reduction in Computation Cost AWS Lambda enables the FICO Decision Management Suite (DMS) to perform computations on machine learning models quickly, cheaply, and efficiently AWS Lambda
  39. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Customers are innovating with serverless