Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Wild Rides Takes off - The Dawn of a New Unicorn

459 views

Published on

by Brent Rabowsky, Praful Mehrotra, and Rob Cambra, Solution Architects, AWS

  • Be the first to comment

Wild Rides Takes off - The Dawn of a New Unicorn

  1. 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Rich Cowper, Solutions Architect Brent Rabowsky, Solutions Architect Rob Cambra, Solutions Architect Praful Mehrotra, Solutions Architect December 1, 2016 Wild Rydes Takes Off – The Dawn of a New Unicorn Building Serverless Web Apps
  2. 2. What to Expect from the Session • Overview of Serverless Computing • Introduction to AWS Services for the Workshop • Outline of the Workshop Scenario • Preview of the Labs
  3. 3. Serverless Computing
  4. 4. In the beginning…
  5. 5. Physical Hardware – Concern Space • Procurement • Power • Cooling • Asset Tracking • Remote Hands • IP Transit • Colocation • Capacity Planning • Hardware Refreshes • Storage • Depreciation • Physical Security • Networking Equipment • Cabling
  6. 6. Amazon Elastic Compute Cloud (EC2) • Allows developers to obtain compute capacity on-demand • Create virtual servers in the cloud with the click of a button • Launched in 2006
  7. 7. Amazon Elastic Compute Cloud (EC2) Match Capacity and Demand Global Footprint Elasticity Provision Servers in Minutes Infrastructure as Code Programmatic Networking
  8. 8. Servers – Concern Space • Configuration Management • Security Patches • Server Utilization • Operating Systems • Auto-scaling Policies • Monitoring • Intrusion Detection • Resiliency • Machine Images • Access Management • Capacity Planning • Hourly Billing • Code Deployment
  9. 9. Serverless Computing Build and run applications and services without thinking of servers • Fully Managed • Developer Productivity • Continuous Scaling
  10. 10. Serverless Computing Fully Managed • No provisioning • No system administration • No security patches • Fault tolerant Developer Productivity • Focus on your application • Experiment and innovate quickly Continuous Scaling • Scale up and down with demand • Never pay for idle resources
  11. 11. Services
  12. 12. AWS Lambda Run code without provisioning servers • Run functions in response to events to build back ends, data processing systems, event handlers • Code runs in isolated containers on Amazon Linux • Bring your own code and libraries: Node.js, Python, Java (even native libraries) • Run code in parallel – democratized scale
  13. 13. AWS Lambda No Servers to Manage Continuous Scaling Don’t Pay for Idle Resources Lambda allows you to run application logic without provisioning servers or worrying about the health or security of underlying resources Lambda scales infrastructure beneath your application logic; just send requests and events and Lambda will automatically scale to accommodate it With Lambda, you’re billed in 100ms increments of execution time and number of requests and you’re never charged for anything when your code isn’t running
  14. 14. The Serverless Manifesto • Functions are the unit of deployment and scaling • No machines, VMs, or containers visible in the programming model. • Permanent storage lives elsewhere. • Scales per request. Users cannot over- or under-provision capacity. • Never pay for idle (no cold servers/containers or their costs). • Implicitly fault tolerant because functions can run anywhere. • BYOC - Bring your own code. • Metrics and logging are a universal right.
  15. 15. Amazon DynamoDB Fast and flexible NoSQL database service for any scale • Fully managed database built for applications that need single digit millisecond latency at any scale • Pay only for the throughput and storage that you need • Supports both document and key-value data structures • React to data changes via triggers to Lambda
  16. 16. Amazon API Gateway Create, publish, maintain, monitor, and secure APIs at any scale Create a unified API frontend for multiple backend microservices DDoS and throttling to protect your backend microservices Authenticate and authorize requests to your backend microservices
  17. 17. Amazon Cognito Add user sign-up, sign-in, and data synchronization to your apps Add user sign-up and sign- in to your mobile and web apps Federate identities and provide secure access to AWS resources Store and sync across devices
  18. 18. Amazon Simple Storage Service (S3) Durable, massively scalable object storage • Designed for 99.999999999% durability and 99.99% availability • Stores trillions of objects and regularly handles millions of requests per second • Effectively infinite storage without provisioning capacity
  19. 19. Amazon Simple Storage Service (S3) S3 is a low-cost, highly available solution for static website hosting – and it’s completely serverless • Reliably serve your static website and handle unexpected peaks without worrying about scaling your infrastructure • Integrates with Amazon CloudFront for edge delivery of content across the globe
  20. 20. Workshop Overview
  21. 21. Scenario: Wild Rydes Wild Rydes needs your help! With fresh funding from its seed investors, Wild Rydes is seeking to build the world’s greatest mobile/VR/AR unicorn transportation system. The scrappy startup needs a first-class webpage to begin marketing to new users and to begin its plans for global domination.
  22. 22. Scenario: Wild Rydes The Wild Rydes Serverless Web Application Workshop introduces the basics of building web applications using serverless infrastructure. Amazon S3 Amazon CloudFront AWS Lambda Amazon Cognito Amazon API Gateway Amazon SES AWS IAM In this workshop you’ll build a serverless web site for Wild Rydes using AWS services on the AWS Free Tier. https://github.com/awslabs/aws-serverless-website-workshop
  23. 23. Lab 1: Static Website Hosting OBJECTIVE: Create a bucket in Amazon S3 and configure it for static website hosting. Distribute your the website globally using Amazon CloudFront.
  24. 24. Lab 2: Beta Sign-up Mailing List OBJECTIVE: Allow visitors to submit their email address to subscribe to an email list for your beta program. Send each submission a confirmation email thanking them for their interest and providing further details.
  25. 25. Lab 3: Administrative Interface OBJECTIVE: Build an interface for your marketing team to be able to manage aspects of your site. Start by adding a page to the administrative interface that allows a user to see all email addresses that have signed up for your beta program.
  26. 26. Lab 4: Product Update Blog OBJECTIVE: Provide visitors updates about your progress building your product by publishing a blog. Blog entries are posted by administrators using the administrative interface built in the previous lab.
  27. 27. Thank you! https://github.com/awslabs/aws-serverless-website-workshop
  28. 28. Remember to complete your evaluations!
  29. 29. Related Sessions

×