SlideShare a Scribd company logo
λ in Practice
or how i learned to stop worrying and love not having servers
2
@tobyhede
Toby Hede
100%
Technology Lead
Digital Transformation Office
Teh GOvernment
************
3
Background
What is it?
Why λ?
5
——————————————————————————————
All-of-Gov Performance Dashboard
Measure the performance of government services
against metrics defined in the Digital Service
Standard.
6
——————————————————————————————
All-of-Gov Performance Dashboard
Measure the performance of government services
against metrics defined in the Digital Service
Standard.
Drive the continuous improvement of government
services for users and increase government
transparency.
7
——————————————————————————————
Data
๏ Multiple data sources
๏ Disparate data sources
๏ We don’t actually know what they all are yet
๏ We don’t know how much of it we will have
8
Obligatory GIF
9
10
——————————————————————————————
Data
๏ Connect all the moving pieces
๏ Transform data from many different sources
๏ Move fast
๏ Adapt quickly
Architecture
How are we using λ?
12
——————————————————————————————
Caveats
We are just finishing Alpha
Production this week, pending approvals
Going into Beta phase
Expanding our usage of λ
AWS Lambda in Practice
14
YOUR SHIPMENT OF CLOUD HAS ARRIVED
AWS Lambda in Practice
16
17
18
Serverless Framework
Configuration
Environments
Deployment
19
——————————————————————————————
Random Thoughts
Vendor Lock In
Dependencies
Security
Testing
What about other Amazon products and/or services
Zero infrastructure and a surprising amount of configuration
20
——————————————————————————————
Vendor Lock In
• Meh
21
Businesswoman with question marks behind her, hard decision
22
What about vendor lock-in!!!!?
23
Convert to an express function
24
——————————————————————————————
An aside
25
26
27
——————————————————————————————
Security and IAM
• AmazonAPIGatewayAdministrator
• AWSLambdaFullAccess
• AWSLambdaVPCAccessExecutionRole
• ec2:DescribeSecurityGroups
• ec2:DescribeSubnets
• Built-in Serverless Policy
28
——————————————————————————————
Dependencies
• Requires some planning
• Nest packages with npm
• Favour reimplementation of simple helpers rather
then pull in a dependency
29
——————————————————————————————
Testing
• Unit test functions
• If testing a function is hard, you are doing it wrong
• ava is good
• Can run Serverless locally using a plugin
30
——————————————————————————————
What about other AWS products
• Possible for future development
• We’ve played it safe on the database tier
• Some limitations to what Gov can support
• Contenders:
• Kinesis
• Elastic search
31
——————————————————————————————
Configuration
Serverless means replying infrastructure with configuration
Don’t underestimate the complexity
32
100%
@tobyhede
tobyhede.com
************

More Related Content

PPTX
The Serverless Revolution: AWS Lambda and the Serverless Framework in Action
PDF
Serverless and the Way Forward
PDF
Docker 1.13 - Docker meetup février 2017
PDF
How Small Can Java Microservices Be?
PDF
The 'Serverless' Paradigm, OpenWhisk and FIWARE
PDF
Microservices and Self-contained System to Scale Agile
PDF
JustGiving – Serverless Data Pipelines, API, Messaging and Stream Processing
PDF
How to implement chatbots for Alexa and Facebook Messenger
The Serverless Revolution: AWS Lambda and the Serverless Framework in Action
Serverless and the Way Forward
Docker 1.13 - Docker meetup février 2017
How Small Can Java Microservices Be?
The 'Serverless' Paradigm, OpenWhisk and FIWARE
Microservices and Self-contained System to Scale Agile
JustGiving – Serverless Data Pipelines, API, Messaging and Stream Processing
How to implement chatbots for Alexa and Facebook Messenger

Viewers also liked (7)

PDF
M.E.L.I.G. Unikernel and Serverless
PDF
Serverless computing and Function-as-a-Service (FaaS)
PDF
Serverless
PDF
Serverless - Lunch&Learn CleverToday - Mars 2017
PDF
用JavaScript 實踐《軟體工程》的那些事兒!
PDF
用Serverless技術快速開發line聊天機器人
PPT
História da Arte - Pré-história e Antiguidade
M.E.L.I.G. Unikernel and Serverless
Serverless computing and Function-as-a-Service (FaaS)
Serverless
Serverless - Lunch&Learn CleverToday - Mars 2017
用JavaScript 實踐《軟體工程》的那些事兒!
用Serverless技術快速開發line聊天機器人
História da Arte - Pré-história e Antiguidade
Ad

Similar to AWS Lambda in Practice (8)

PPTX
AWS Serverless with Lambda, ApiGateway
PPTX
Demistifying serverless on aws
PDF
Yan Cui - Applying principles of chaos engineering to Serverless - Codemotion...
PDF
Applying principles of chaos engineering to Serverless (CodeMotion Berlin)
PDF
Yan Cui - Applying principles of chaos engineering to Serverless - Codemotion...
PDF
Applying principles of chaos engineering to serverless (O'Reilly Software Arc...
PDF
Serverless Best Practices - Serverless Computing London
PDF
Event Sourcing in less than 20 minutes - With Akka and Java 8
AWS Serverless with Lambda, ApiGateway
Demistifying serverless on aws
Yan Cui - Applying principles of chaos engineering to Serverless - Codemotion...
Applying principles of chaos engineering to Serverless (CodeMotion Berlin)
Yan Cui - Applying principles of chaos engineering to Serverless - Codemotion...
Applying principles of chaos engineering to serverless (O'Reilly Software Arc...
Serverless Best Practices - Serverless Computing London
Event Sourcing in less than 20 minutes - With Akka and Java 8
Ad

More from Toby Hede (8)

PPTX
Designing for DynamoDB - Serverless Sydney - Feb 2020
PPTX
AWS Lamdba with JavaScript
PPTX
An Introduction to Rust Macros
PPTX
Rails Rescue - Managing Technical Debt in Legacy Applications
PPT
MongoDb
ODP
Introduction to Facebook Development
PPT
Amazon Web Services
PPT
On XML and the Future of the Web
Designing for DynamoDB - Serverless Sydney - Feb 2020
AWS Lamdba with JavaScript
An Introduction to Rust Macros
Rails Rescue - Managing Technical Debt in Legacy Applications
MongoDb
Introduction to Facebook Development
Amazon Web Services
On XML and the Future of the Web

Recently uploaded (20)

PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
A Presentation on Artificial Intelligence
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
Teaching material agriculture food technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Cloud computing and distributed systems.
Network Security Unit 5.pdf for BCA BBA.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Dropbox Q2 2025 Financial Results & Investor Presentation
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The Rise and Fall of 3GPP – Time for a Sabbatical?
A Presentation on Artificial Intelligence
Reach Out and Touch Someone: Haptics and Empathic Computing
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
The AUB Centre for AI in Media Proposal.docx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Teaching material agriculture food technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced methodologies resolving dimensionality complications for autism neur...
Cloud computing and distributed systems.

AWS Lambda in Practice