SlideShare a Scribd company logo
Get rid of your servers!
Use functions☁ + </> = 👊
Manuela Rink
Technical Evangelist
@
#0
The Theoretical Part*
*no excuses – first part needs to be theory!
Transformation from own “iron” to cloud VMs
Transformation from VMs to microservices / functions
We’ve come a long long way togetherThe	cloud	evolution
Serverless
or
Jeff*
or
“just the next pig which is chased through the village?”
*		Serverless	is	just	a	name,	Paul	Johnston
“[…] is a cloud computing code execution model
in which the cloud provider fully manages
starting and stopping virtual machines as
necessary to serve requests, and requests
are billed by an abstract measure of the
resources required to satisfy the request,
rather than per virtual machine, per hour.”
-- Wikipedia
https://en.wikipedia.org/wiki/Serverless_computing
“Quick and easy
run pieces of code*
in the cloud,
without worrying about
infrastructure or maintenance.”
-- Manu Rink, 2016
*of various size
AWS	Lambda
GA	since	April	2015
Azure	Functions
GA	since	November	2016
#1
Functions!!!11eleven
*not long until the demos, I swear!
Inspired by Matthew Henderson @ Microsoft
“Function App” is a group of functions
Inspired by Matthew Henderson @ Microsoft
Inherit from / Build on top of App Services
Full control of dependencies and connectors
Choose your fav language and coding environment
Powerful integration of you existing Azure apps
Choose from a wide variety of triggers
Open sourced
App Service Features and Capabilities
Enterprise Grade Apps
Designed for secure mission-critical applications
Fully Managed Platform
Optimized for Availability and Automatic scale
High Productivity Development
Agility through Continuous Deployment
Hybrid Connections / VPN / VLAN
Scheduled Backup
Azure Active Directory Integration
Site Resiliency, HA, and DR
Web Jobs
Role Base Access Control
Audit / Compliance
Enterprise Migration
Client Certs
Cache
IP Restrictions/ SSL
Web Sockets
SQL, MySQL, DocDB, & Mongo
Sticky Sessions
Authorization/ Authentication
Automated Deployment
AutoScale
Built-in Load Balancing
Worldwide Datacenter Coverage
End Point Monitoring & Alerts
App Gallery
DR Site Support
WildCard Support
Dedicated IP address
HTTP Compression
CDN Support for Websites
Premium WordPress
App Services Environments
Remote Debugging w/ Visual Studio
Site Staging Slots
Testing in Production
Continuous Integration/Deployment
Git, Visual Studio Online and GitHub
App & Site Diagnostics
OS & Framework Patching
Site Extensions Gallery
NET, PHP, Python, Node, Java
Framework Installer
Browser-based editing
Auto-Healing
Logging and Auditing
Admin-Site
Support Site Extension
Inspired by Matthew Henderson @ Microsoft
Templates
• Azure Internal Service Triggers
• Blob
• EventHub
• Storage Queue
• Service Bus Queue
• Service Bus Topic
• Generic Triggers
• Generic WebHook
• GitHub WebHook
• Http
• Timer
Languages
• Core
• C#
• JS/Node
• Experimental
• PowerShell
• Python
• PHP
• F#
• Bash
#2
Building the real stuff*!
… in 3 stages
*finally!
Yeaaah,	but	what	can	I	build	with	’em?
Scenario 0
The Easy Cake
use HTTP trigger to provide HTTP endpoints
to
build an “Is the cake a lie?” service
Scenario 0 – Easy cake! – Simple HTTP endpoint
Y
A
X B
Easy
Cake
LIVE DEMO
Scenario 1
Connect all the things!
use web hooks for wiring up
heterogeneous services
to
connect Slack with your mobile backend
Scenario 1 - Connect all the things! – Slack & mobile backend
The	Serverless	Connector	- Use	Functions	to	write	Slack	posts	in	your	mobile	backend
Y
A
X B
Connect
all the
things!
LIVE DEMO
Scenario 2
Like a pro!
use Blob Trigger to let function react
on storage I/O of other function
to
build an image resizing service
Scenario 2 - Like a pro! – Image Resizing Service
Scenario 2 - Like a pro! – Image Resizing Service
https://github.com/codePrincess/resizingService
Scenario 2 - Like a pro! – Image Resizing Service
Y
A
X B
Like
a
pro!
LIVE DEMO
#3
a Penny saved is a penny goT*
*’nuff said!
Cool stuff so far … and the costs?
It’s free*
*for the 1 million executions
and the first 400.000 GB/s
Function executes 2.000.000 times with a duration of 1 second using 1536MB RAM
Resource consumption costs
2 million exec * 1 second = 2 million seconds
1536 MB / 1024 MB = 1.5 GB
1.5 GB * 2 million seconds = 3 million GBs
3 million GBs – 400000 GBs = 2.6 million GBs
2.6 million GBs * 0.000016 $/GBs = 41.60 $
Execution costs
2 million exec - 1 million exec = 1 million exec
1 million exec * 0.20$ = 0.20$
41.60$ + 0.20$ = 41.80$
Pricing OverviewPricing Calculator
Same example – just with 128MB RAM
0 $ + 0.20$ = 0.20$
Resource consumption costs
2 million exec * 1 second = 2 million seconds
128 MB / 1024 MB = 0.125 GB
0.125 GB * 2 million seconds = 0.25 million GBs
0.25 million GBs – 400000 GBs = 0 GBs
0 million GBs * 0.000016 $/GBs = 0 $
Execution costs
2 million exec - 1 million exec = 1 million exec
1 million exec * 0.20$ = 0.20$
#4
... This is the end!
😻
Easy to build & deploy
Various languages supported
Lot of triggers available
Inter-connectable in- & outside of Azure
Cost effective
Merci :)
Manu Rink
Technical Evangelist
marink@microsoft.com
@codeprincess
says

More Related Content

PDF
Cloud Native Unleashed
PDF
Kubernetes 101 and Fun
PDF
Building a Global-Scale Multi-Tenant Cloud Platform on AWS and Docker: Lesson...
PPTX
Paul Angus - CloudStack Container Service
PDF
Paul Angus - what's new in ACS 4.11
PDF
Chronix as Long-Term Storage for Prometheus
PDF
Lessons learned from writing over 300,000 lines of infrastructure code
PDF
Monitoring Docker at Scale - Docker San Francisco Meetup - August 11, 2015
Cloud Native Unleashed
Kubernetes 101 and Fun
Building a Global-Scale Multi-Tenant Cloud Platform on AWS and Docker: Lesson...
Paul Angus - CloudStack Container Service
Paul Angus - what's new in ACS 4.11
Chronix as Long-Term Storage for Prometheus
Lessons learned from writing over 300,000 lines of infrastructure code
Monitoring Docker at Scale - Docker San Francisco Meetup - August 11, 2015

What's hot (16)

PDF
Chronix Time Series Database - The New Time Series Kid on the Block
PDF
Back to the future with C++ and Seastar
PPTX
Operational challenges behind Serverless architectures
PDF
Fact-Based Monitoring - PuppetConf 2014
PDF
Running a DynamoDB-compatible Database on Managed Kubernetes Services
PPTX
Redis Reliability, Performance & Innovation
PDF
Data(?)Ops with CircleCI
PDF
Taking Your Database Global with Kubernetes
PDF
Shakr - Container CI/CD with Google Cloud Platform
PPTX
Arc305 how netflix leverages multiple regions to increase availability an i...
PDF
The Monitoring Playground
PDF
#lspe Q1 2013 dynamically scaling netflix in the cloud
PDF
OpenStack Magnum
PDF
Anatomy of an action
PDF
How Spotify scales Apache Storm Pipelines
PDF
Post quantum cryptography in vault (hashi talks 2020)
Chronix Time Series Database - The New Time Series Kid on the Block
Back to the future with C++ and Seastar
Operational challenges behind Serverless architectures
Fact-Based Monitoring - PuppetConf 2014
Running a DynamoDB-compatible Database on Managed Kubernetes Services
Redis Reliability, Performance & Innovation
Data(?)Ops with CircleCI
Taking Your Database Global with Kubernetes
Shakr - Container CI/CD with Google Cloud Platform
Arc305 how netflix leverages multiple regions to increase availability an i...
The Monitoring Playground
#lspe Q1 2013 dynamically scaling netflix in the cloud
OpenStack Magnum
Anatomy of an action
How Spotify scales Apache Storm Pipelines
Post quantum cryptography in vault (hashi talks 2020)
Ad

Viewers also liked (20)

PDF
Per Anhalter durch den Cloud Native Stack (extended edition)
PDF
Automotive Information Research driven by Apache Solr
PDF
Vamp - The anti-fragilitiy platform for digital services
PDF
A Hitchhiker's Guide to the Cloud Native Stack
PDF
Developing Skills for Amazon Echo
PDF
Everything-as-code. Polyglotte Software-Entwicklung in der Praxis.
PDF
JEE on DC/OS - MesosCon Europe
PDF
Lightweight developer provisioning with gradle and seu as-code
PDF
Microservices @ Work - A Practice Report of Developing Microservices
PDF
Leveraging the Power of Solr with Spark
PDF
Automotive Information Research driven by Apache Solr
PDF
Secure Architecture and Programming 101
PDF
Der Cloud Native Stack in a Nutshell
PDF
Real Time BOM Explosions with Apache Solr and Spark
PDF
Hands-on K8s: Deployments, Pods and Fun
PDF
Everything as-code. Polyglotte Entwicklung in der Praxis. #oop2017
PDF
Die Leichtigkeit des Seins: Bindings für Eclipse SmartHome entwickeln
PDF
Clickstream Analysis with Spark - Understanding Visitors in Real Time
PDF
Real World Analytics with Solr Cloud and Spark
PDF
From pets to cattle - powered by CoreOS, docker, Mesos & nginx
Per Anhalter durch den Cloud Native Stack (extended edition)
Automotive Information Research driven by Apache Solr
Vamp - The anti-fragilitiy platform for digital services
A Hitchhiker's Guide to the Cloud Native Stack
Developing Skills for Amazon Echo
Everything-as-code. Polyglotte Software-Entwicklung in der Praxis.
JEE on DC/OS - MesosCon Europe
Lightweight developer provisioning with gradle and seu as-code
Microservices @ Work - A Practice Report of Developing Microservices
Leveraging the Power of Solr with Spark
Automotive Information Research driven by Apache Solr
Secure Architecture and Programming 101
Der Cloud Native Stack in a Nutshell
Real Time BOM Explosions with Apache Solr and Spark
Hands-on K8s: Deployments, Pods and Fun
Everything as-code. Polyglotte Entwicklung in der Praxis. #oop2017
Die Leichtigkeit des Seins: Bindings für Eclipse SmartHome entwickeln
Clickstream Analysis with Spark - Understanding Visitors in Real Time
Real World Analytics with Solr Cloud and Spark
From pets to cattle - powered by CoreOS, docker, Mesos & nginx
Ad

Similar to Azure Functions - Get rid of your servers, use functions! (20)

PDF
Docker and Cloud - Enables for DevOps - by ACA-IT
PDF
'DOCKER' & CLOUD: ENABLERS For DEVOPS
PDF
JOSA TechTalks - Downgrade your Costs
PPTX
Node.js meetup at Palo Alto Networks Tel Aviv
PPTX
Developing in the Cloud
PDF
Azure Serverless Toolbox
PDF
Where should I run my code? Serverless, Containers, Virtual Machines and more
PDF
ITCamp 2011 - Mihai Nadas - Windows Azure interop
PPTX
Anton Boyko, "The evolution of microservices platform or marketing gibberish"
PPTX
To Build My Own Cloud with Blackjack…
PDF
Iot meets Serverless
PDF
Anton Boyko "The future of serverless computing"
PPTX
Fish Cam.pptx
PDF
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
PDF
C# Client to Cloud
PPTX
Building API in the cloud using Azure Functions
PDF
IBM Think Session 8598 Domino and JavaScript Development MasterClass
PPTX
App fabric introduction
PDF
Arquitetura Hibrida - Integrando seu Data Center com a Nuvem da AWS
PPTX
Durable Azure Functions
Docker and Cloud - Enables for DevOps - by ACA-IT
'DOCKER' & CLOUD: ENABLERS For DEVOPS
JOSA TechTalks - Downgrade your Costs
Node.js meetup at Palo Alto Networks Tel Aviv
Developing in the Cloud
Azure Serverless Toolbox
Where should I run my code? Serverless, Containers, Virtual Machines and more
ITCamp 2011 - Mihai Nadas - Windows Azure interop
Anton Boyko, "The evolution of microservices platform or marketing gibberish"
To Build My Own Cloud with Blackjack…
Iot meets Serverless
Anton Boyko "The future of serverless computing"
Fish Cam.pptx
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
C# Client to Cloud
Building API in the cloud using Azure Functions
IBM Think Session 8598 Domino and JavaScript Development MasterClass
App fabric introduction
Arquitetura Hibrida - Integrando seu Data Center com a Nuvem da AWS
Durable Azure Functions

More from QAware GmbH (20)

PDF
QAware_Mario-Leander_Reimer_Architecting and Building a K8s-based AI Platform...
PDF
Frontends mit Hilfe von KI entwickeln.pdf
PDF
Mit ChatGPT Dinosaurier besiegen - Möglichkeiten und Grenzen von LLM für die ...
PDF
50 Shades of K8s Autoscaling #JavaLand24.pdf
PDF
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...
PPTX
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN Mainz
PDF
Down the Ivory Tower towards Agile Architecture
PDF
"Mixed" Scrum-Teams – Die richtige Mischung macht's!
PDF
Make Developers Fly: Principles for Platform Engineering
PDF
Der Tod der Testpyramide? – Frontend-Testing mit Playwright
PDF
Was kommt nach den SPAs
PDF
Cloud Migration mit KI: der Turbo
PDF
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
PDF
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
PDF
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
PDF
Kubernetes with Cilium in AWS - Experience Report!
PDF
50 Shades of K8s Autoscaling
PDF
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
PDF
Service Mesh Pain & Gain. Experiences from a client project.
PDF
50 Shades of K8s Autoscaling
QAware_Mario-Leander_Reimer_Architecting and Building a K8s-based AI Platform...
Frontends mit Hilfe von KI entwickeln.pdf
Mit ChatGPT Dinosaurier besiegen - Möglichkeiten und Grenzen von LLM für die ...
50 Shades of K8s Autoscaling #JavaLand24.pdf
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN Mainz
Down the Ivory Tower towards Agile Architecture
"Mixed" Scrum-Teams – Die richtige Mischung macht's!
Make Developers Fly: Principles for Platform Engineering
Der Tod der Testpyramide? – Frontend-Testing mit Playwright
Was kommt nach den SPAs
Cloud Migration mit KI: der Turbo
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Kubernetes with Cilium in AWS - Experience Report!
50 Shades of K8s Autoscaling
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Service Mesh Pain & Gain. Experiences from a client project.
50 Shades of K8s Autoscaling

Recently uploaded (20)

PDF
Launch Your Data Science Career in Kochi – 2025
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PPTX
Understanding Prototyping in Design and Development
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
Azure Data management Engineer project.pptx
PPTX
Challenges and opportunities in feeding a growing population
PDF
Foundation of Data Science unit number two notes
PDF
Oracle OFSAA_ The Complete Guide to Transforming Financial Risk Management an...
PPTX
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
PPTX
batch data Retailer Data management Project.pptx
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PPTX
IB Computer Science - Internal Assessment.pptx
PPT
Quality review (1)_presentation of this 21
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PDF
.pdf is not working space design for the following data for the following dat...
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Launch Your Data Science Career in Kochi – 2025
Fluorescence-microscope_Botany_detailed content
Introduction-to-Cloud-ComputingFinal.pptx
oil_refinery_comprehensive_20250804084928 (1).pptx
Understanding Prototyping in Design and Development
climate analysis of Dhaka ,Banglades.pptx
Azure Data management Engineer project.pptx
Challenges and opportunities in feeding a growing population
Foundation of Data Science unit number two notes
Oracle OFSAA_ The Complete Guide to Transforming Financial Risk Management an...
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
batch data Retailer Data management Project.pptx
STUDY DESIGN details- Lt Col Maksud (21).pptx
IB Computer Science - Internal Assessment.pptx
Quality review (1)_presentation of this 21
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
.pdf is not working space design for the following data for the following dat...
Miokarditis (Inflamasi pada Otot Jantung)
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...

Azure Functions - Get rid of your servers, use functions!

  • 1. Get rid of your servers! Use functions☁ + </> = 👊 Manuela Rink Technical Evangelist @
  • 2. #0 The Theoretical Part* *no excuses – first part needs to be theory!
  • 3. Transformation from own “iron” to cloud VMs
  • 4. Transformation from VMs to microservices / functions
  • 5. We’ve come a long long way togetherThe cloud evolution
  • 6. Serverless or Jeff* or “just the next pig which is chased through the village?” * Serverless is just a name, Paul Johnston
  • 7. “[…] is a cloud computing code execution model in which the cloud provider fully manages starting and stopping virtual machines as necessary to serve requests, and requests are billed by an abstract measure of the resources required to satisfy the request, rather than per virtual machine, per hour.” -- Wikipedia https://en.wikipedia.org/wiki/Serverless_computing
  • 8. “Quick and easy run pieces of code* in the cloud, without worrying about infrastructure or maintenance.” -- Manu Rink, 2016 *of various size
  • 11. Inspired by Matthew Henderson @ Microsoft
  • 12. “Function App” is a group of functions Inspired by Matthew Henderson @ Microsoft
  • 13. Inherit from / Build on top of App Services Full control of dependencies and connectors Choose your fav language and coding environment Powerful integration of you existing Azure apps Choose from a wide variety of triggers Open sourced
  • 14. App Service Features and Capabilities Enterprise Grade Apps Designed for secure mission-critical applications Fully Managed Platform Optimized for Availability and Automatic scale High Productivity Development Agility through Continuous Deployment Hybrid Connections / VPN / VLAN Scheduled Backup Azure Active Directory Integration Site Resiliency, HA, and DR Web Jobs Role Base Access Control Audit / Compliance Enterprise Migration Client Certs Cache IP Restrictions/ SSL Web Sockets SQL, MySQL, DocDB, & Mongo Sticky Sessions Authorization/ Authentication Automated Deployment AutoScale Built-in Load Balancing Worldwide Datacenter Coverage End Point Monitoring & Alerts App Gallery DR Site Support WildCard Support Dedicated IP address HTTP Compression CDN Support for Websites Premium WordPress App Services Environments Remote Debugging w/ Visual Studio Site Staging Slots Testing in Production Continuous Integration/Deployment Git, Visual Studio Online and GitHub App & Site Diagnostics OS & Framework Patching Site Extensions Gallery NET, PHP, Python, Node, Java Framework Installer Browser-based editing Auto-Healing Logging and Auditing Admin-Site Support Site Extension Inspired by Matthew Henderson @ Microsoft
  • 15. Templates • Azure Internal Service Triggers • Blob • EventHub • Storage Queue • Service Bus Queue • Service Bus Topic • Generic Triggers • Generic WebHook • GitHub WebHook • Http • Timer Languages • Core • C# • JS/Node • Experimental • PowerShell • Python • PHP • F# • Bash
  • 16. #2 Building the real stuff*! … in 3 stages *finally!
  • 18. Scenario 0 The Easy Cake use HTTP trigger to provide HTTP endpoints to build an “Is the cake a lie?” service
  • 19. Scenario 0 – Easy cake! – Simple HTTP endpoint
  • 21. Scenario 1 Connect all the things! use web hooks for wiring up heterogeneous services to connect Slack with your mobile backend
  • 22. Scenario 1 - Connect all the things! – Slack & mobile backend The Serverless Connector - Use Functions to write Slack posts in your mobile backend
  • 24. Scenario 2 Like a pro! use Blob Trigger to let function react on storage I/O of other function to build an image resizing service
  • 25. Scenario 2 - Like a pro! – Image Resizing Service
  • 26. Scenario 2 - Like a pro! – Image Resizing Service
  • 29. #3 a Penny saved is a penny goT* *’nuff said!
  • 30. Cool stuff so far … and the costs?
  • 31. It’s free* *for the 1 million executions and the first 400.000 GB/s
  • 32. Function executes 2.000.000 times with a duration of 1 second using 1536MB RAM Resource consumption costs 2 million exec * 1 second = 2 million seconds 1536 MB / 1024 MB = 1.5 GB 1.5 GB * 2 million seconds = 3 million GBs 3 million GBs – 400000 GBs = 2.6 million GBs 2.6 million GBs * 0.000016 $/GBs = 41.60 $ Execution costs 2 million exec - 1 million exec = 1 million exec 1 million exec * 0.20$ = 0.20$ 41.60$ + 0.20$ = 41.80$ Pricing OverviewPricing Calculator Same example – just with 128MB RAM 0 $ + 0.20$ = 0.20$ Resource consumption costs 2 million exec * 1 second = 2 million seconds 128 MB / 1024 MB = 0.125 GB 0.125 GB * 2 million seconds = 0.25 million GBs 0.25 million GBs – 400000 GBs = 0 GBs 0 million GBs * 0.000016 $/GBs = 0 $ Execution costs 2 million exec - 1 million exec = 1 million exec 1 million exec * 0.20$ = 0.20$
  • 33. #4 ... This is the end!
  • 34. 😻 Easy to build & deploy Various languages supported Lot of triggers available Inter-connectable in- & outside of Azure Cost effective
  • 35. Merci :) Manu Rink Technical Evangelist [email protected] @codeprincess says