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

The State of Serverless

The State of Serverless

Cloud computing isn't something that you'll be using the future, cloud computing is the present. The Serverless paradigm is a fairly new happening in the cloud but it could be one of the most transformative for developers. In Serverless the developer doesn't have to worry about spinning up a VM instance or keeping Windows updated we do just do what we're good at…writing code. In this session, I'll go over the basics of Serverless and some cloud computing basics. Then we'll get into how Serverless is implemented in Azure (Azure Functions) and AWS (Lambda). And what's a presentation without demos? I'll walk through some Serverless code in Azure and AWS and show you how to start your first Serverless app.

Richie Rump

March 11, 2017
Tweet

More Decks by Richie Rump

Other Decks in Technology

Transcript

  1. Agenda • What is Serverless? • How does Serverless work?

    • Why should you care? • Serverless in Amazon Web Services • Serverless in Azure • Things I wish I knew when I started
  2. Cloud Abstractions • Infrastructure as a Service (IaaS) — Amazon EC2, Azure

    VMs • Containers as a Service (CaaS) — Docker Cloud, Amazon ECS, Azure Container Service • Platform as a Service (PaaS) — Heroku, Amazon Elastic Beanstalk, Azure Service Fabric • Function as a Service (FaaS) — AWS Lambda, Google Cloud Functions, Azure Functions • Software as a Service (SaaS) – Salesforce, Office 365
  3. What is Serverless? A cloud computing execution model where the

    cloud provider fully manages (virtual) servers behind the scenes.
  4. What’s not so great • Vendor lock-in • Vendor control

    • Poor debugging story • Lack of integration testing tooling • Deployment • No state management
  5. Serverless in Amazon Web Services • Storage: S3 • Function:

    Lambda • API: API Gateway • Database: • Aurora (Relational) • DynamoDB (NoSQL)
  6. AWS Lambda- Languages • Node.js – v4.3.2 & 6.10 •

    Java – Java 8 • Python – Python 2.7 • .NET Core – .NET Core 1.0.1 (C#)
  7. • S3 • DynamoDB • Kinesis Streams • Simple Notification

    Service • Simple Email Service • Cognito • AWS CloudFormation • CloudWatch Logs • CloudWatch Events • CodeCommit • Scheduled Events • AWS Config • Echo • Lex • API Gateway AWS Lambda - Triggers
  8. Serverless in Microsoft Azure • Storage: Blob Storage • Function:

    Azure Functions • API: Azure Functions Proxies (Beta) • Database: • SQL Database (Relational) • DocumentDB (NoSQL)
  9. Azure Functions - Languages • C# • Node.js • F#

    • Python • PHP • Bash • Batch • PowerShell
  10. • Storage Blob • Webhook (GitHub!) • HTTP • Queue

    • Timer • Service Bus • Document DB • Table • Mobile Apps • Event Hub • Notification Hub • Twilio Azure Functions - Triggers
  11. Azure Functions • Security using keys • Language-palooza • Outputs

    AWS Lambda • Security using roles • Java • VPC Compare!
  12. What I wish I knew… • Security • Use a

    deployment tool (i.e. Serverless) • Script out cloud resources • Use Microservice Architecture concepts • Keep a cloud mindset • Plan for failures • Degradation • Request buffering