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)

PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PPTX
GSA Content Generator Crack (2025 Latest)
PDF
Topaz Photo AI Crack New Download (Latest 2025)
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PDF
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PPTX
Cybersecurity: Protecting the Digital World
PDF
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PDF
Website Design Services for Small Businesses.pdf
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
PPTX
Patient Appointment Booking in Odoo with online payment
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PDF
Visual explanation of Dijkstra's Algorithm using Python
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PPTX
Computer Software - Technology and Livelihood Education
PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
GSA Content Generator Crack (2025 Latest)
Topaz Photo AI Crack New Download (Latest 2025)
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
Why Generative AI is the Future of Content, Code & Creativity?
CCleaner 6.39.11548 Crack 2025 License Key
Cybersecurity: Protecting the Digital World
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
Salesforce Agentforce AI Implementation.pdf
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Website Design Services for Small Businesses.pdf
Computer Software and OS of computer science of grade 11.pptx
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
Patient Appointment Booking in Odoo with online payment
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Visual explanation of Dijkstra's Algorithm using Python
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Computer Software - Technology and Livelihood Education
Multiverse AI Review 2025: Access All TOP AI Model-Versions!

Helsinki Serverless Meetup 15.6.2016 : AWS Services

  • 1. SERVERLESS SERVICES ON AWS Mikael Puittinen, CTO [email protected] @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 > …