"Is serverless another passing technology fad or the new standard for application deployment in cloud computing?” It’s a good question and the topic of this presentation. We will discuss the current state of serverless computing and the many considerations before investing time and resources in serverless infrastructure.
For many, data center priorities have shifted from absolute uptime and performance to ”move fast and break things” as espoused by Silicon Valley, a great mantra for those with limited legacy systems and a greenfield of new products. Though the question for many enterprises though is "How does serverless integrate into their existing data center strategy?"
The discussion will not only explain the state of today’s growing serverless landscape but how you can integrate your existing data center with a cloud-native serverless architecture.
8. TriggerMesh – Multicloud Serverless Management Platform
Continuous integration, continuous
deployment is going to change and that’s
where things like microservices, containers
are playing a massive role in the outer loop,
but one of the things that I think is going to
completely change how we think about logic
is serverless.
Serverless computation will fundamentally,
not only change the economics of what is
backing computing, but it’s going to be the
core of the future of distributed computing.
So this application paradigm shift of
intelligent cloud and intelligent edge is going
to be pervasively changing everything we do
inside of Windows, inside of Office 365,
inside of Azure and the rest of what you will
hear about in the next three days is about
unpacking this.
Satya Nadella
Keynote - Microsoft Build 2017 conference
9. TriggerMesh – Multicloud Serverless Management Platform
The torrid pace of adoption and innovation in
the serverless (Lambda) space has totally blown
us away,
In particular, Lambda, AWS’s main serverless
service, has “grown like crazy,” with hundreds of
thousands of active customers using it in the last
30 days. That’s 300%-plus year-over-year
growth.
“When we launched Lambda, the first serverless
compute service, it was a watershed moment,”
...large generations of customers will skip
instances and containers and go right to
serverless -- in fact, if Amazon.com were
starting today, it would go serverless.
Andy Jassy
Amazon Web Services Inc.
Chief Executive
Re:Invent 2017
11. TriggerMesh – Multicloud Serverless Management Platform
What is serverless?
● Abstraction of backend infrastructure completely
● Execution environment for single purpose functions
● Hosted in public cloud or on-premise
● Serverless functions have a runtime in a stateless
container
○ E.g. Node.js, JavaScript, Go, Python, Java
● Event-driven startup triggers/instant scale out or in.
● Micro-billing instead of per-hour/month billing.
14. TriggerMesh – Multicloud Serverless Management Platform
Backend-as-a-service (BaaS)
BaaS or Backend-as-a-Service refers to the infrastructure
components managed by a cloud provider.
Examples of BaaS:
• AWS S3
• AWS DynamoDB
• Azure Kubernetes Service (AKS)
• Google BigQuery
15. TriggerMesh – Multicloud Serverless Management Platform
Simple serverless function
Mobile phone takes
picture and uploads it
to object storage in
the cloud.
Various side photos
are uploaded to an S3
bucket on AWS
Resize images to thumbnails in a photo sharing service
S3 Event triggers an
Amazon Lambda
function.
Amazon Lambda
function resizes
image.
Thumbnails are
written to another S3
bucket on AWS.
Thumbnails are
server to a mobile
application from a
webserver and s3.
16. TriggerMesh – Multicloud Serverless Management Platform
Microservices
● Single purposes functions that
deliver accomplish a single task
● Can run on a server, container
or in a serverless infrastructure
● Microservices are typically
combined to deliver a cloud
native application via
presentation layer
Example of Microservices in a Storefront Application
Inventory
DBMobile
Application
Browser
API
Gateway
Storefront
App
Inventory
Service
Account
DBAccount
Service
Shipping
DB
Shipping
Service
17. TriggerMesh – Multicloud Serverless Management Platform
Event-driven architecture (EDA)
● Design pattern around the production and reaction to
events
● Serverless functions are triggered by events
● Examples events:
○ A file uploaded to an S3 bucket
○ Inserts on a DynamoDB table
○ A message published to an SNS/PubSub topic
○ A CloudWatch alert
18. TriggerMesh – Multicloud Serverless Management Platform
Cloud-native application
Mobile phone
takes picture and
uploads it to
object storage in
the cloud.
Various side photos
are uploaded to an S3
bucket on AWS
Photo sharing service
Thumbnails are
written to and served
from object storage on
AWS S3
Thumbnails are
server to a mobile
application from a
webserver and s3.
User plan
supporting quotas
is queryable via
Salesforce
Alerts users in a
network that new
images from their
friends are available.
Photos are shared
among a social
network of users.
Amazon Lambda function
resizes an image every
time a new
25. TriggerMesh – Multicloud Serverless Management Platform
The cold start problem
● Applications that haven't been used recently take
longer to startup and to handle the first request.
● Because serverless happens on use, there aren’t
dedicated instances ready to handle requests
● Solution: Run a function in a dedicated container/VM,
not serverless
26. TriggerMesh – Multicloud Serverless Management Platform
Security risks
• Function Event-Data Injection
• Broken Authentication
• Insecure Serverless Deployment Configuration
• Overprivileged Function Permissions and Roles
• Inadequate Function Monitoring and Logging
• Insecure Third-Party Dependencies
• Insecure Application Secrets Storage
• Denial-of-Service and Financial Resource Exhaustion
• Serverless Business Logic Manipulation
• Improper Exception Handling and Verbose Error Messages
• Legacy/Unused Functions & Cloud Resources
• Cross-Execution Data Persistency
Source : CSA - The 12 Most Critical Risks for Serverless Applications 2019
34. TRIGGERMESH PROVIDES A PLATFORM TO MANAGE THE WHOLE
SERVERLESS PRODUCT LIFECYCLE VIA A HOSTED PLATFORM.
HTTP://CLOUD.TRIGGERMESH.IO
- Last Updated - 2/5/19
35. TriggerMesh – Multicloud Serverless Management Platform
Where serverless falls short
Source: The New Stack Serverless Survey 2018
Q: What are the top three areas in which serverless falls short of expectations? n=251
https://thenewstack.io/ebooks/serverless/guide-to-serverless-technologies/
According to the New Stack’s 2018
Serverless Survey these are the
places where serverless falls short.
TriggerMesh can help provide
solutions to all of these problems
especially the top problems of
portability, control, and risk
reduction by providing a full
serverless lifecycle management
solution that is consistent with
DevOps culture and best practices.
37. TriggerMesh – Multicloud Serverless Management Platform
TriggerMesh product features
• Software-as-a-Service
cloud.triggermesh.io
• Source Control Integration
Github/Gitlab/Bitbucket
• Deployment
Kubernete/Knative, Amazon Lambda, Microsoft Azure,
Google Cloud Functions
• Cross Cloud Event Bus
Compatible with all clouds. Today there is no cross-
cloud serverless event bus.
• Function Store
Allow users to share function to build a community
hub for collaboration
• Serverless Framework Integration
Utilizes serverless deployment manifest in the repos
containing the function to deploy in a versatile
manner
• Kubernetes Builds for Versioning
Using Google’s Knative platform, use the Build
extension to provide immutable and reproducible
builds of functions images.
• Cost Optimization
Via observability (open tracing in Istio), monitor time
spent in functions and render cost budget per
function
• Monitoring
Time-series monitoring via Prometheus, defacto
standard in cloud monitoring
38. TriggerMesh – Multicloud Serverless Management Platform
Enhanced serverless hosting
During our Beta Period we are offering free
serverless hosting with access to all our product
features. To sign-up for free visit:
http://cloud.triggermesh.io