can i order some servers for my serverless please-london vmug 2017
TRANSCRIPT
#LonVMUG@julian_wood1
Can I order some serversfor my serverless please?
@julian_woodWoodITWork.com
London VMUG - 22 June 2017
#LonVMUG@julian_wood
What is Serverless?
8
user defined functions
event triggered
spun up and down on demand
fully managed compute
upload code, provider does rest
transparent scaling, provider managed
no VMs/containers to manage
pay per code execution
#LonVMUG@julian_wood9
Stateless Event Driven Functions as a Service
https://www.slideshare.net/bennybauer1/serverless-when-to-faas
#LonVMUG@julian_wood10
Amazon Lambda Azure Functions Google Cloud Functions
kubernetes based
Funktion
cross container platform
Funcatron
#LonVMUG@julian_wood
FaaS & BaaS
13
(mobile) Backend as a Service
back end services
not backend logic
Amazon API Gateway
Google Firebase
#LonVMUG@julian_wood
Events
15
HTTP requests
file changes
web hooks
time scheduled tasks
database record update
events stream
message bus
new code commit to GitHub
IoT sensor reading
#LonVMUG@julian_wood
execute code every 15 minutes that cleans up a database table
Timer processing
17
https://azure.microsoft.com/en-us/services/functions/
#LonVMUG@julian_wood
Webhook
18
https://azure.microsoft.com/en-us/services/functions/
webHook URL, saves user data, decides what data to display
#LonVMUG@julian_wood
sensors in tractor detects need for a spare part and automatically place order
Stream processing
19
https://aws.amazon.com/kinesis/
#LonVMUG@julian_wood
Languages
23
Azure Functions JavaScript, C#, F#, Python, PHP, Bash, Batch,PowerShell
AWS Lambda Node.js, Python, Java 8, C# (.NET Core)
Google Cloud Functions Node.js
Apache OpenWhisk Node.js, Swift, Python, container
Platform9 Fission Node.js, Python, container
#LonVMUG@julian_wood
£ How Much?
25
requests
+ duration (rounded up to 100 ms)
x configured upper memory limit
Free: ☺
1 or 2 million requests + 400,000 Gb-s
#LonVMUG@julian_wood
FaaS vs. PaaS
26
FaaS:
scaling for individual requests
bring whole app up and down for each request
PaaS:
long running
tooling and maturity
caching
state
#LonVMUG@julian_wood
FaaS vs. Containers
27
FaaS:
event driven
container abstraction
Containers:
general purpose IaaS
tooling
DIY languages
portability
#LonVMUG@julian_wood
Benefits
28
Cost: development, operational, scaling
Easier no autoscaling,
Management: zero system administration
Productivity: pure function code,
no HTTP sessions, authentication,
back-end glue
#LonVMUG@julian_wood
Disadvantages
29
Performance:
Security:
Resources:
shared time limit (not GCP)
disk memory
warm up concurrent executions
inconsistent
spin up time especially JVMs
no multi-tenancy
noisy neighbour
#LonVMUG@julian_wood
Disadvantages
30
Configuration:
Ops:
limited languages discovery
environment variables stateless
testing monitoring
debugging external systems
versioning blue/green
#LonVMUG@julian_wood
Disadvantages
31
no roadmap
vendor lock-in
outsourced control = downtime?
portable code, not portable ops
isolated events/bus
integrated services
#LonVMUG@julian_wood
FaaS at the Edge
34
Azure Stack + Azure Function
Embedded Lambda on connected devices
AWS Greengrass Edge
AWS Snowball Edge
#LonVMUG@julian_wood
FaaS & NoOps - look no OS! ☺
35
“Ops” = way more than server administration
FaaS = outsourcing sysadmin
monitoring, architectural scaling,
security, debugging, networking
FaaS 4 Ops : tagging, lifecycle, security, compliance
#LonVMUG@julian_wood
VM Management use cases?
36
PowerCLI
snapshots
VM creation / deletion
NSX firewall rules
tagging
SRM
log analysis
security events
#LonVMUG@julian_wood
VMware Infrastructure
37
close to other stuff
VMware on AWS
deploy/scale Cloud Foundation
IBM BlueMix (Softlayer) + Watson
vSphere Integrated Containers
Photon
Kubernetes as a Service
Ops + DevOps
#LonVMUG@julian_wood
Make Money
38
sell your functions
Amazon API gateway -> API marketplace -> Lambda
#LonVMUG@julian_wood
The Amazing Functional Billing
39
functional granulatory
visibility
focus dev time
reduce waste & duplication
prove insource/outsource
marketplace service discovery
cheap to play
correlate business cost to IT cost
#LonVMUG@julian_wood
What’s coming/needed
40
better tools, monitoring, logging etc.
Service Fabric
AWS Step Functions Azure Logic Apps
Vendor abstraction
Serverless Framework Lambada Framework
#LonVMUG@julian_wood42
http://www.jeffconf.com
London - 7 July 2017 - St John's Hoxtonhttps://serverless.zone/serverless-is-just-a-name-we-could-have-called-it-jeff-1958dd4c63d7