SlideShare a Scribd company logo
Lê Thanh Sang
Senior Developer at GO1
Getting Started with
Serverless Architectures
November 19, 2016
1. Welcome
2. What is Serverless? Benefits of Serverless?
4. Demo: Building note application
5. Q&A
Meetup Agenda
Who Am I?
 A husband
 Working for GO1 from 2013 as Senior Developer
 Current leading the iTeams (Integrations &
Infrastructure)
 About GO1: “We help hundreds of organizations
provide training for over 150,000 users”
www.go1.com
What is Serverless?
Provisioning
and Utilization
Operations
and Management
Scaling Availability and
Fault Tolerance
Removes the need for….
Benefits of Serverless?
Provisioning
and Utilization
Operations
and Management
Scaling Availability and
Fault Tolerance
Which leads to….
Low Cost Simple Low Latency Scalable Reliable
Platform of Serverless Products
Storage DatabaseCompute
Messaging and QueuesGateways
User Management
Internet of Things
Machine LearningStreaming Analytics
Real-time Processing
Streams
Files
ETL (Extract, Transform, Load)
IoT Backends
Web Application Serverless Architecture
Anatomy of a Web Application
What makes up a web application?
• Let’s break it down…
Serverless Web Application
Where did all the servers go?
Static Website Hosting on S3 - refresher
 Specify an index document (i.e. index.html)
 Specify an error document
 Objects publicly readable
 Supports redirects
 All Requests
 Conditional
bucket with
objects
API Gateway - refresher
Create Configure Publish
Maintain Monitor Secure
API Gateway – Stage Variables
 Key/Value pairs used for configuration
 Used for different stages of API
 Specify a Lambda function name
 Pass to backend
Lambda
 Serverless, event-driven compute
 Code is: NodeJS, Python, JVM based
 Specify memory allocated
 Determine what invokes the functions
 API Gateway, S3, DynamoDB, Kinesis, SNS, SES, Cognito,
Cloudwatch Logs, Cloudwatch Events, CloudFormation,
Config, Scheduled Events
Lambda – Versioning and Aliases
• Versioning
 ARN for each one (immutable)
 Versions of functions for Dev, Staging, Prod
• Aliases
 Point to a version
 Have an ARN also
 Event sources point to Alias ARNs
Lambda – Dynamic Configuration
• One option:
 Pull Configs from DDB
 Write values to global vars
 Code uses global vars
Lambda
Function
Amazon
DynamoDB
DynamoDB - refresher
 NoSQL database
 Keys: Hash Key and (optional) Range Key
 Tips:
 Plan your keys
 Think about your queries
Demo
(https://github.com/sanglt/aws-
serverless-note-demo)
Demo App Architecture
AWS Lambda
Functions
web browser
Amazon S3
Dynamic Content
StaticContent
Amazon
DynamoDB
Amazon API
Gateway
1
Architect to be Serverless
• Fully Managed
 No provisioning
 Zero administration
 High availability
• Developer Productivity
 Focus on the code that
matters
 Innovate rapidly
 Reduce time to market
• Continuous Scaling
 Automatically
 Scale up and scale down
References
• http://www.slideshare.net/AmazonWebServices/
getting-started-with-serverless-architectures-
august-2016-monthly-webinar-series
• https://github.com/serverless/serverless
• http://docs.aws.amazon.com/amazondynamodb/l
atest/gettingstartedguide/GettingStarted.NodeJs.
html
Q&A
Thank You
Meetup: www.meetup.com/aws-vn/
FB: www.facebook.com/groups/amazonwebservicevietnam
Join Slack: https://aws-vn.herokuapp.com/

More Related Content

PDF
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
PPTX
Meetup #3: Migrate a fast scale system to AWS
PPTX
Meetup #3: Migrating an Oracle Application from on-premise to AWS
PPTX
Cloudsolutionday 2016: Docker & FAAS at getvero.com
PPTX
Greetings from AWS User Group Taiwan
PPTX
104 meets cloud
PDF
Intro to Serverless
PDF
Serverless data processing with Data Pipeline
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
Meetup #3: Migrate a fast scale system to AWS
Meetup #3: Migrating an Oracle Application from on-premise to AWS
Cloudsolutionday 2016: Docker & FAAS at getvero.com
Greetings from AWS User Group Taiwan
104 meets cloud
Intro to Serverless
Serverless data processing with Data Pipeline

What's hot (19)

PDF
Matt Chung (Independent) - Serverless application with AWS Lambda
PPTX
Sas 2015 event_driven
PPT
DevOpsCon Cloud Workshop
PDF
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
PPTX
Serverless Patterns
PPT
Docker in the Cloud
PDF
Dev309 from asgard to zuul - netflix oss-final
PPTX
Surati Tech Talks 2022 / Build reliable Svelte applications using Cypress
PPTX
Serverless
PDF
Securing Containers From Day One | null Ahmedabad Meetup
PPTX
Serverless design considerations for Cloud Native workloads
PDF
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
PDF
Migrating Monolithic Applications with the Strangler Pattern
PDF
Owain Perry (Just Giving) - Continuous Delivery of Windows Micro-Services in ...
PPTX
Container Management with Amazon ECS
PPTX
Containerization: The DevOps Revolution
PDF
AWS re:Invent 2016 Fast Forward
PPTX
Reliable, Scalable Kubernetes on AWS
PPTX
Kubernetes as Orchestrator for A10 Lightning Controller
Matt Chung (Independent) - Serverless application with AWS Lambda
Sas 2015 event_driven
DevOpsCon Cloud Workshop
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
Serverless Patterns
Docker in the Cloud
Dev309 from asgard to zuul - netflix oss-final
Surati Tech Talks 2022 / Build reliable Svelte applications using Cypress
Serverless
Securing Containers From Day One | null Ahmedabad Meetup
Serverless design considerations for Cloud Native workloads
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
Migrating Monolithic Applications with the Strangler Pattern
Owain Perry (Just Giving) - Continuous Delivery of Windows Micro-Services in ...
Container Management with Amazon ECS
Containerization: The DevOps Revolution
AWS re:Invent 2016 Fast Forward
Reliable, Scalable Kubernetes on AWS
Kubernetes as Orchestrator for A10 Lightning Controller
Ad

Viewers also liked (18)

PPTX
Cloudsolutionday 2016: Opening Remarks
PPTX
Cloud Solution Day 2016: Service Mesh for Kubernetes
PPTX
Cloudsolutionday 2016: Compliance and cost controlling on AWS
PDF
Meetup#6: AWS-AI & Lambda Serverless
PDF
Cloud Solution Day 2016: Microservices on Mesos & Netflix OSS
PDF
Arquitetura Serverless e AWS Lambda - Demo Session
PDF
Introducing Serverless Computing (20160802)
PDF
Ansible loves Python, Python Philadelphia meetup
PDF
BUD17-400: Secure Data Path with OPTEE
PDF
BUD17-405: Building a reference IoT product with Zephyr
PDF
Network: Synchronization: IEEE1588's Future in Computing and the Data Center
PDF
BUD17-104: Scripting Languages in IoT: Challenges and Approaches
PDF
George Grey Welcome Keynote - BUD17-100K1
PDF
Intel(r) Quick Assist Technology Overview
PDF
AWS初心者向けWebinar AWS上でのDDoS対策
PDF
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
PPTX
Chip Multithreading Systems Need a New Operating System Scheduler
PDF
Intro to Serverless AWS Web Apps
Cloudsolutionday 2016: Opening Remarks
Cloud Solution Day 2016: Service Mesh for Kubernetes
Cloudsolutionday 2016: Compliance and cost controlling on AWS
Meetup#6: AWS-AI & Lambda Serverless
Cloud Solution Day 2016: Microservices on Mesos & Netflix OSS
Arquitetura Serverless e AWS Lambda - Demo Session
Introducing Serverless Computing (20160802)
Ansible loves Python, Python Philadelphia meetup
BUD17-400: Secure Data Path with OPTEE
BUD17-405: Building a reference IoT product with Zephyr
Network: Synchronization: IEEE1588's Future in Computing and the Data Center
BUD17-104: Scripting Languages in IoT: Challenges and Approaches
George Grey Welcome Keynote - BUD17-100K1
Intel(r) Quick Assist Technology Overview
AWS初心者向けWebinar AWS上でのDDoS対策
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
Chip Multithreading Systems Need a New Operating System Scheduler
Intro to Serverless AWS Web Apps
Ad

Similar to Cloudsolutionday 2016: Getting Started with Severless Architecture (20)

PDF
The future will be Serverless (FrontConf Munich 2017)
PPTX
Demistifying serverless on aws
PDF
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
PDF
Serverless architectures-with-aws-lambda
PDF
Serverless Node.js
PDF
20180111 we bde-bs - serverless url shortener
PDF
Serverless Toronto User Group - Let's go Serverless!
PDF
Montréal AWS Users United: Let's go Serverless!
PDF
Serverless: A love hate relationship
PDF
Designing Serverless Architectures on AWS
PDF
2022 Presentation | Serverless Innovation with AWS
PPTX
Primeros pasos en desarrollo serverless
PPTX
awslambda-240508203904-07xsds253491.pptx
PDF
Getting Started with AWS Lambda & Serverless Cloud
PDF
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
PPTX
Serverless-Computing-The-Future-of-Backend-Development
PDF
Microservices and Serverless for Mega Startups - DevOps IL Meetup
PDF
Microservices Manchester: Serverless Architectures By Rafal Gancarz
PDF
Čtvrtkon #64 - AWS Serverless - Michal Haták
PPTX
Serverless Architectures and Continuous Delivery
The future will be Serverless (FrontConf Munich 2017)
Demistifying serverless on aws
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
Serverless architectures-with-aws-lambda
Serverless Node.js
20180111 we bde-bs - serverless url shortener
Serverless Toronto User Group - Let's go Serverless!
Montréal AWS Users United: Let's go Serverless!
Serverless: A love hate relationship
Designing Serverless Architectures on AWS
2022 Presentation | Serverless Innovation with AWS
Primeros pasos en desarrollo serverless
awslambda-240508203904-07xsds253491.pptx
Getting Started with AWS Lambda & Serverless Cloud
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
Serverless-Computing-The-Future-of-Backend-Development
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Microservices Manchester: Serverless Architectures By Rafal Gancarz
Čtvrtkon #64 - AWS Serverless - Michal Haták
Serverless Architectures and Continuous Delivery

More from AWS Vietnam Community (13)

PPTX
Data Exchange talk AWSVNUG
PPTX
Build multi region data warehouse on AWS - AWSVNUG
PDF
Growth journey 2018 AWSVN
PPTX
Re invent 2018 top 15 launch announcements
PPTX
Vietnam AWS Community Day 2018
PPTX
Series Meetup #1: Speech 2: Elastic beanstalk
PPTX
Series Meetup #1: Speech 1: Computing
PDF
Build an app on aws for your first 10 million users (2)
PDF
Vn introduction to cloud computing with amazon web services
PDF
Meetup#7: AWS LightSail - The Simplicity of VPS - The Power of AWS
PPTX
Cloudsolutionday 2016: How to build a "zero-downtime" web application
PDF
Meetup #4: AWS ELB Deep dive & Best practices
PPTX
Meetup #5: Architecting for High Availability
Data Exchange talk AWSVNUG
Build multi region data warehouse on AWS - AWSVNUG
Growth journey 2018 AWSVN
Re invent 2018 top 15 launch announcements
Vietnam AWS Community Day 2018
Series Meetup #1: Speech 2: Elastic beanstalk
Series Meetup #1: Speech 1: Computing
Build an app on aws for your first 10 million users (2)
Vn introduction to cloud computing with amazon web services
Meetup#7: AWS LightSail - The Simplicity of VPS - The Power of AWS
Cloudsolutionday 2016: How to build a "zero-downtime" web application
Meetup #4: AWS ELB Deep dive & Best practices
Meetup #5: Architecting for High Availability

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Cloud computing and distributed systems.
PDF
Machine learning based COVID-19 study performance prediction
PPTX
MYSQL Presentation for SQL database connectivity
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Machine Learning_overview_presentation.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
cuic standard and advanced reporting.pdf
PDF
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Mobile App Security Testing_ A Comprehensive Guide.pdf
A Presentation on Artificial Intelligence
Diabetes mellitus diagnosis method based random forest with bat algorithm
Cloud computing and distributed systems.
Machine learning based COVID-19 study performance prediction
MYSQL Presentation for SQL database connectivity
A comparative analysis of optical character recognition models for extracting...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Dropbox Q2 2025 Financial Results & Investor Presentation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Machine Learning_overview_presentation.pptx
The AUB Centre for AI in Media Proposal.docx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
cuic standard and advanced reporting.pdf
Empathic Computing: Creating Shared Understanding

Cloudsolutionday 2016: Getting Started with Severless Architecture