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

building serverless applications with AWS

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →
Avatar for Arpee Ong Arpee Ong
November 27, 2016

building serverless applications with AWS

Avatar for Arpee Ong

Arpee Ong

November 27, 2016

Other Decks in Programming

Transcript

  1. usual requirements to run a web application • web server

    running: • web server (apache, nginx etc.) • preprocessor / web framework (php, python etc.) • database server running: • database (mysql, postgresql etc.)
  2. common considerations to scale your web application • Provisioning Resources:

    • CPU • RAM • Disk Space • Network • Software Updates etc.
  3. introducing aws lambda • a compute service allowing you to

    run your code without servers. • scaling is automatic. • you are charged with the compute time your function consumes. • inherently HA. • supports node.js, java and python.
  4. introducing the serverless framework • The Serverless Framework helps you

    develop and deploy your AWS Lambda functions, along with the AWS infrastructure resources they require. • It's a CLI that offers structure, automation and best practices out-of-the-box, allowing you to focus on building sophisticated, event-driven, serverless architectures, comprised of Functions and Events.
  5. sample application: multi-user todo application • requirements: • create users

    • list users • associate tasks to users • categorize tasks • mark tasks as complete • delete task