Successfully reported this slideshow.
Your SlideShare is downloading. ×

Wildrydes Serverless Workshop Tel Aviv

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 30 Ad

More Related Content

Slideshows for you (20)

Similar to Wildrydes Serverless Workshop Tel Aviv (20)

Advertisement

More from Boaz Ziniman (20)

Recently uploaded (20)

Advertisement

Wildrydes Serverless Workshop Tel Aviv

  1. 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TEL AVIV WORKSHOP Wild Rydes Takes Off Serverless Web Application Workshop Adir Sharabi, Solutions Architect Oren Reuveni, Solutions Architect Boaz Ziniman, Technical Evangelist
  2. 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What to expect from this session • Overview of serverless computing • Introduction to AWS services used in the workshop • Outline of the workshop scenario • Preview of the labs
  3. 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless Computing
  4. 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. In the beginning…
  5. 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 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. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 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. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Elastic Compute Cloud (EC2) Elasticity Provision Servers in Minutes Infrastructure as Code Programmatic Networking Global Footprint Match Capacity and Demand
  8. 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 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. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless computing Build and run applications and services without thinking of servers • Fully managed • Developer productivity • Continuous scaling
  10. 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 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. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Services You Will Use Today
  12. 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda: Serverless computing Run code without servers. Pay only for the compute time you consume. Triggered by events or called from APIs: • PUT to an Amazon S3 bucket • Updates to Amazon DynamoDB table • Call to an Amazon API Gateway endpoint • Mobile app backend call • And many more… Makes it easy to: • Perform real-time data processing • Build scalable backend services • Glue and choreograph systems
  13. 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Benefits of 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. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon DynamoDB Fast and flexible NoSQL database service for any scale Dead simple • GetItem(primaryKey) • PutItem(item) Robust depth • Fine-grained access control • Streams • Triggers • Cross-region replication • Global Tables (NEW) • TTL (NEW) • Auto Scaling (NEW) • Strong consistency option • Atomic counters
  15. 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 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
  16. 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 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
  17. 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Storage Service (Amazon 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
  18. 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Storage Service (Amazon S3) Amazon 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
  19. 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Workshop Overview
  20. 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scenario: Wild Rydes (www.wildrydes.com)
  21. 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Your task: Build the Wild Rydes website Welcome to Wild Rydes Inc., Employee #4!
  22. 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scenario: Wild Rydes The Wild Rydes Serverless Web Application Workshop introduces the basics of building web applications using serverless infrastructure.
  23. 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lab 1: Static Website Hosting OBJECTIVE: Create a bucket in Amazon S3 and configure it for static website hosting. The static HTML, JS, and CSS will be served directly to user browsers from Amazon S3.
  24. 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lab 2: User Management OBJECTIVE: Allow visitors to register as a new user on Wild Rydes, by providing and validating their email addresses. Amazon Cognito will be used to manage the User Pool for Wild Rydes.
  25. 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lab 3: Serverless Service Backend OBJECTIVE: Create a service backend using AWS Lambda and Amazon DynamoDB to handle requests from your front-end static website content.
  26. 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lab 4: Create a RESTful API OBJECTIVE: Use API Gateway to expose the AWS Lambda function you built in the previous module as a RESTful API
  27. 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Let the Fun Begin! Go to: http://github.com/awslabs/aws-serverless-workshops Here you’ll find all of the Wild Rydes workshops. Today, we’re doing: - Web application - You can use N. Virginia, Ohio, Oregon, Ireland, London, Frankfurt, Tokyo, Seol, Mumbai and Sydney AWS Command Line Interface: https://aws.amazon.com/cli/
  28. 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Workshop Guidelines • User accounts • Your own accounts • Be careful with production/your company/shared/etc. accounts • Make sure all services are available in the region you are running in • WiFi • We are here to help • Don’t take the ClopudFormation Shortcut • Cleanup https://github.com/aws-samples/aws-serverless- workshops/tree/master/WebApplication/9_CleanUp • The Bar is open!
  29. 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TEL AVIV WORKSHOP Thank You! Boaz Ziniman, Technical Evangelist – Amazon Web Services boazz@amazon.com @ziniman
  30. 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TEL AVIV WORKSHOP github.com/awslabs/aws-serverless-workshops Web Application Workshop

×