SlideShare a Scribd company logo
SERVERLESS SERVICES ON AWS
Mikael Puittinen, CTO
mikael.puittinen@sc5.io
@mpuittinen
1
15.6.2016
SOME AWS SERVICES FOR DEVELOPERS (8 OUT
OF 55)
COMPUTE
Lambda 2014
STORAGE
S3 (Simple Storage Service) 2006
DATABASE
DynamoDB 2012
MOBILE SERVICES
SNS (Simple NotificationService)
INTERNET OF THINGS
IoT 2015
APPLICATION SERVICES
API Gateway 2015
SES (Simple Email Service) 2011
SQS (Simple Queue Service) 2006
Building blocks for digital services
SAMPLE BLOG EXERCISE
ARCHITECTURE
3
AWS SERVERLESS WORKSHOP BLOG
APPLICATION
Example 2
2. Web app
communicates with
API Gateway for
blog content
1. Application static assets (HTML,
CSS, JS) served from S3 bucket.
5. Blog data
managed in
DynamoDB
database
http://hackathon-blog.serverless.fi
3. API Gateway invokes
Lambda for incoming
requests
4. Lambda reads /
writes blog data
from DynamoDB
See workshop at http://hackathon.serverless.fi/workshop.pdf
SIMPLE STORAGE SERVICE (S3)
§ (Unlimited) file storage service
§ Application internal files
§ Static web content (e.g.
application HTML / CSS / JS /
image assets)
§ Can be complemented with
Cloudfront CDN to optimize
costs and performance
Serverless Storage
my-s3-bucket.company.com
PRICING: Storage volume + amount of requests
AWS LAMBDA
§ Compute service for running
code (functions) in AWS
§ Event driven (API Gateway,
SNS, SES, S3, DynamoDB,
Schedule, …)
§ Provision memory & max time
required by single function run
§ Additional ”instances” spawned
automatically
Serverless Compute
myFunction
PRICING: Utilized gigabyteseconds (rounded to 100ms)
API GATEWAY
§ AWS Service to implement REST
(and other) APIs
§ Security via API Keys, customer
authorizers (Lambda)
§ Connect to e.g. Lambda to publish
your functions as REST interfaces
§ Input / Output mapping (e.g. URL
parameters -> JSON)
§ No need for provisioning
Serverless API Management
PRICING: # of requests + data transfer + cache size
INPUT
MAPPING
OUTPUT
MAPPING
AUTHORI-
ZATION
JSON JSON
HTTPS
DYNAMODB
§ noSQL database provided by AWS
§ noSQL: scalable non-relational database with focus on speed
§ Work with tables and indices, no server instances to manage
§ Need to provision read / write capacity per table / index
Serverless Database
PRICING: Provisioned read / write capacity and storage (over 25Gb)
SERVERLESS WORKSHOP
If you are interested in getting hands-on experience,
please check out our serverless workshop at
http://hackathon.serverless.fi/workshop.pdf
OTHER AWS MANAGED SERVICES &
EXAMPLES
10
SIMPLE NOTIFICATION SERVICE (SNS)
§ Push notification service
§ Delivery not guaranteed
§ nly targeted for mobile
notifications
§ Can also be used for triggering
e.g. Lambda functions, mobile,
email notifications
Serverless push notifications
PRICING: Amount of messages
1
SUBSCRIBE
PUBLISH
SIMPLE QUEUE SERVICE (SQS)
§ Message queue service (pull)
§ Delivery Guaranteed (order not
guaranteed)
§ Prevent messages being
handled by multiple workers
§ Can be handled e.g. by Lambda
using a scheduled function
Serverless queue
PRICING: Amount of messages
(SCHEDULED)
PULL
PUBLISH
AWS IOT
§ Device registry + API for communicating with devices + automated
actions (Rules)
§ Authentication of devices
§ Devices can send current state and retrieve desired state over
MQTT, Websocket
§ Can perform actions based on rules (e.g. Temperature reading from
a specific sensor is out of bounds)
Integrate with devices
PRICING: Amount of messages
Helsinki Serverless Meetup 15.6.2016 : AWS Services
CLOUD NATIVE APPLICATION
ARCHITECTURE À LA SC5
Reference Architecture
AWS IoT
Amazon
S3
Amazon
DynamoDB
Amazon
RDS
Amazon
SNS
Amazon API
Gateway
AWS
Lambda
E.g.App assets
(HTML5)
App
Notifications
App Data
(REST)
Device data
(MQTT)
Compute Database
Serverless Development
Framework
SERVERLESS FRAMEWORK
16
SERVERLESS FRAMEWORK
§ Node.js based framework for
development and deployment
of AWS Lambda-based
solutions
§ Extendible via plugins
§ Initially JAWS but rebranded
to Serverless in Dec 2015
> npm install –g serverless
> sls project create
> sls resources deploy
> sls function create
> sls function deploy
> sls endpoint deploy
> …
SC5 BRIEFLY
CLOUD
SOLUTIONS
BUSINESS
APPLICATIONS
DIGITAL
DESIGN
10
YEARS
60+
CUSTOMERS
200+
PROJECTS
HEL
JKL
75
HACKERS
DESIGNERS
6
MEUR
2015
THANKS A LOT!
https://sc5.io

More Related Content

PDF
Serverless Finland Meetup 16.11.2016: Messenger Bot Workshop
PDF
Serverless Finland Meetup 10.5.2015: Serverless Framework and Serverless Arch...
PDF
AWS Serverless Workshop
PPTX
Connect the Impossible with Azure Logic App
PDF
Accelerating DevOps Pipelines with AWS
PDF
Write less (code) and build more with serverless
PPTX
Azure app service to create web and mobile apps
PDF
Chris Anderson and Yochay Kiriaty - Serverless Patterns with Azure Functions
Serverless Finland Meetup 16.11.2016: Messenger Bot Workshop
Serverless Finland Meetup 10.5.2015: Serverless Framework and Serverless Arch...
AWS Serverless Workshop
Connect the Impossible with Azure Logic App
Accelerating DevOps Pipelines with AWS
Write less (code) and build more with serverless
Azure app service to create web and mobile apps
Chris Anderson and Yochay Kiriaty - Serverless Patterns with Azure Functions

What's hot (19)

PPTX
Let's Talk About Serverless - Focusing on AWS Lambda
PPTX
Artificial Intelligence & Machine learning foundation topic in AWS
PDF
Azure App Services для создания бэкенда мобильных приложений. Parse Open Sour...
PPTX
Using AWS Lambda for Infrastructure Automation and Beyond
PPTX
Serverless Architecture
PDF
Microservice Architecture on AWS using AWS Lambda and Docker Containers
PPTX
Azure App Service Architecture. Web Apps.
PDF
Colorado Cloud Foundry Meeting
PPTX
Serverless Architecture
PDF
To Serverless And Beyond!
PPTX
Continuous delivery with azure app service
PPTX
ESPC15 - Introduction to AngularJS in an Office 365 context
PDF
Thinking Asynchronously Full Vesion - Utah UG
PDF
Choosing the right messaging service for your serverless app [with lumigo]
PPTX
Azure App Service
PDF
基于Aws的dev ops实践指南 王毅
PDF
Getting Started with Amazon EventBridge
PPTX
2013 - Back to the Future with Client/Server Development
PPTX
What's Better than Microservices? Serverless Microservices.
Let's Talk About Serverless - Focusing on AWS Lambda
Artificial Intelligence & Machine learning foundation topic in AWS
Azure App Services для создания бэкенда мобильных приложений. Parse Open Sour...
Using AWS Lambda for Infrastructure Automation and Beyond
Serverless Architecture
Microservice Architecture on AWS using AWS Lambda and Docker Containers
Azure App Service Architecture. Web Apps.
Colorado Cloud Foundry Meeting
Serverless Architecture
To Serverless And Beyond!
Continuous delivery with azure app service
ESPC15 - Introduction to AngularJS in an Office 365 context
Thinking Asynchronously Full Vesion - Utah UG
Choosing the right messaging service for your serverless app [with lumigo]
Azure App Service
基于Aws的dev ops实践指南 王毅
Getting Started with Amazon EventBridge
2013 - Back to the Future with Client/Server Development
What's Better than Microservices? Serverless Microservices.
Ad

Viewers also liked (11)

PDF
Real-time image sharing
PDF
Building Serverless with Firebase
PDF
Firebase Adventures - Going above and beyond in Realtime
KEY
Firebase
PPTX
Firebase - cloud based real time database
PPT
Firebase presentation
PDF
Introduction to Firebase from Google
PPTX
使用 Angular 2 與 Firebase 實現 Serverless 網站架構 (JSDC.tw 2016)
PDF
The Wisdom of David Henke
PDF
Microservices Workshop All Topics Deck 2016
PDF
Realtime Database with iOS and Firebase
Real-time image sharing
Building Serverless with Firebase
Firebase Adventures - Going above and beyond in Realtime
Firebase
Firebase - cloud based real time database
Firebase presentation
Introduction to Firebase from Google
使用 Angular 2 與 Firebase 實現 Serverless 網站架構 (JSDC.tw 2016)
The Wisdom of David Henke
Microservices Workshop All Topics Deck 2016
Realtime Database with iOS and Firebase
Ad

Similar to Helsinki Serverless Meetup 15.6.2016 : AWS Services (19)

PDF
Introduction to AWS Lambda with Python
PDF
AWS re:Invent 2020 Serverless Recap
PPTX
Serverless Architecture
PPTX
16 Aws Services Every Backend Developer Should Know
PDF
AWS and Serverless Computing
PPTX
AWS Accelerated Program - Session 3 - Serverless Services.pptx
PPTX
AWS Serverless with Lambda, ApiGateway
PDF
Getting Started with AWS Lambda & Serverless Cloud
PPTX
lambda.pptx
PDF
10 Tips For Serverless Backends With NodeJS and AWS Lambda
PPTX
Demistifying serverless on aws
PDF
Infinite Scaling using Lambda and Aws - Atlogys Tech Talk
PDF
GreatLearning Webinar - Microservices and Event-Driven Architecture.pdf
PDF
When Should You Use AWS Lambda?
PDF
AWS Lambda Functions A Comprehensive Guide
PDF
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
PPTX
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
PDF
Aws serverless multi-tier_architectures
PDF
Aws serverless multi-tier_architectures
Introduction to AWS Lambda with Python
AWS re:Invent 2020 Serverless Recap
Serverless Architecture
16 Aws Services Every Backend Developer Should Know
AWS and Serverless Computing
AWS Accelerated Program - Session 3 - Serverless Services.pptx
AWS Serverless with Lambda, ApiGateway
Getting Started with AWS Lambda & Serverless Cloud
lambda.pptx
10 Tips For Serverless Backends With NodeJS and AWS Lambda
Demistifying serverless on aws
Infinite Scaling using Lambda and Aws - Atlogys Tech Talk
GreatLearning Webinar - Microservices and Event-Driven Architecture.pdf
When Should You Use AWS Lambda?
AWS Lambda Functions A Comprehensive Guide
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Aws serverless multi-tier_architectures
Aws serverless multi-tier_architectures

Recently uploaded (20)

PDF
AI in Product Development-omnex systems
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
System and Network Administration Chapter 2
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Transform Your Business with a Software ERP System
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Nekopoi APK 2025 free lastest update
PPTX
ai tools demonstartion for schools and inter college
PDF
top salesforce developer skills in 2025.pdf
AI in Product Development-omnex systems
ManageIQ - Sprint 268 Review - Slide Deck
How to Migrate SBCGlobal Email to Yahoo Easily
Design an Analysis of Algorithms II-SECS-1021-03
PTS Company Brochure 2025 (1).pdf.......
System and Network Administration Chapter 2
Odoo Companies in India – Driving Business Transformation.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Design an Analysis of Algorithms I-SECS-1021-03
Navsoft: AI-Powered Business Solutions & Custom Software Development
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Wondershare Filmora 15 Crack With Activation Key [2025
2025 Textile ERP Trends: SAP, Odoo & Oracle
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
L1 - Introduction to python Backend.pptx
Transform Your Business with a Software ERP System
Which alternative to Crystal Reports is best for small or large businesses.pdf
Nekopoi APK 2025 free lastest update
ai tools demonstartion for schools and inter college
top salesforce developer skills in 2025.pdf

Helsinki Serverless Meetup 15.6.2016 : AWS Services

  • 1. SERVERLESS SERVICES ON AWS Mikael Puittinen, CTO mikael.puittinen@sc5.io @mpuittinen 1 15.6.2016
  • 2. SOME AWS SERVICES FOR DEVELOPERS (8 OUT OF 55) COMPUTE Lambda 2014 STORAGE S3 (Simple Storage Service) 2006 DATABASE DynamoDB 2012 MOBILE SERVICES SNS (Simple NotificationService) INTERNET OF THINGS IoT 2015 APPLICATION SERVICES API Gateway 2015 SES (Simple Email Service) 2011 SQS (Simple Queue Service) 2006 Building blocks for digital services
  • 4. AWS SERVERLESS WORKSHOP BLOG APPLICATION Example 2 2. Web app communicates with API Gateway for blog content 1. Application static assets (HTML, CSS, JS) served from S3 bucket. 5. Blog data managed in DynamoDB database http://hackathon-blog.serverless.fi 3. API Gateway invokes Lambda for incoming requests 4. Lambda reads / writes blog data from DynamoDB See workshop at http://hackathon.serverless.fi/workshop.pdf
  • 5. SIMPLE STORAGE SERVICE (S3) § (Unlimited) file storage service § Application internal files § Static web content (e.g. application HTML / CSS / JS / image assets) § Can be complemented with Cloudfront CDN to optimize costs and performance Serverless Storage my-s3-bucket.company.com PRICING: Storage volume + amount of requests
  • 6. AWS LAMBDA § Compute service for running code (functions) in AWS § Event driven (API Gateway, SNS, SES, S3, DynamoDB, Schedule, …) § Provision memory & max time required by single function run § Additional ”instances” spawned automatically Serverless Compute myFunction PRICING: Utilized gigabyteseconds (rounded to 100ms)
  • 7. API GATEWAY § AWS Service to implement REST (and other) APIs § Security via API Keys, customer authorizers (Lambda) § Connect to e.g. Lambda to publish your functions as REST interfaces § Input / Output mapping (e.g. URL parameters -> JSON) § No need for provisioning Serverless API Management PRICING: # of requests + data transfer + cache size INPUT MAPPING OUTPUT MAPPING AUTHORI- ZATION JSON JSON HTTPS
  • 8. DYNAMODB § noSQL database provided by AWS § noSQL: scalable non-relational database with focus on speed § Work with tables and indices, no server instances to manage § Need to provision read / write capacity per table / index Serverless Database PRICING: Provisioned read / write capacity and storage (over 25Gb)
  • 9. SERVERLESS WORKSHOP If you are interested in getting hands-on experience, please check out our serverless workshop at http://hackathon.serverless.fi/workshop.pdf
  • 10. OTHER AWS MANAGED SERVICES & EXAMPLES 10
  • 11. SIMPLE NOTIFICATION SERVICE (SNS) § Push notification service § Delivery not guaranteed § nly targeted for mobile notifications § Can also be used for triggering e.g. Lambda functions, mobile, email notifications Serverless push notifications PRICING: Amount of messages 1 SUBSCRIBE PUBLISH
  • 12. SIMPLE QUEUE SERVICE (SQS) § Message queue service (pull) § Delivery Guaranteed (order not guaranteed) § Prevent messages being handled by multiple workers § Can be handled e.g. by Lambda using a scheduled function Serverless queue PRICING: Amount of messages (SCHEDULED) PULL PUBLISH
  • 13. AWS IOT § Device registry + API for communicating with devices + automated actions (Rules) § Authentication of devices § Devices can send current state and retrieve desired state over MQTT, Websocket § Can perform actions based on rules (e.g. Temperature reading from a specific sensor is out of bounds) Integrate with devices PRICING: Amount of messages
  • 15. CLOUD NATIVE APPLICATION ARCHITECTURE À LA SC5 Reference Architecture AWS IoT Amazon S3 Amazon DynamoDB Amazon RDS Amazon SNS Amazon API Gateway AWS Lambda E.g.App assets (HTML5) App Notifications App Data (REST) Device data (MQTT) Compute Database Serverless Development Framework
  • 17. SERVERLESS FRAMEWORK § Node.js based framework for development and deployment of AWS Lambda-based solutions § Extendible via plugins § Initially JAWS but rebranded to Serverless in Dec 2015 > npm install –g serverless > sls project create > sls resources deploy > sls function create > sls function deploy > sls endpoint deploy > …