8TH WORLD DEVOPS SUMMIT session provides attendees with a concise overview of serverless computing, including its fundamentals (Serverless 101) and a discussion on its various use cases. The session also explores the differences between serverless and container-based approaches, as well as the integration of container orchestration engines with serverless architectures. Attendees will learn about the state of serverless technology within the CNCF ecosystem and witness a live demo of AWS Lambda. Additionally, the session offers insights into when to choose serverless or Kubernetes for different architectural scenarios. The Serverless Framework is showcased to demonstrate its capabilities in developing and deploying serverless applications. Lastly, important considerations for incorporating serverless functions into larger applications are presented.
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Demystifying Serverless: Making the Right Decision for Your Workload
1. Making the Right Decision for Your Workload
Ashok Kumar
ashok.kumar2@comviva.com
Demystifying Serverless
26-MAY-2023 | 8th World DevOps Summit Bangalore
2. Serverless 101
State of Serverless in CNCF
Serverless use cases
Demo
Serverless v/s container
Function into apps
26-MAY-2023 | 8th World DevOps Summit Bangalore
4. Compute Without Server
Run code without managing infra
Pay only for resources used
Event driven invocation
Stateless
26-MAY-2023 | 8th World DevOps Summit Bangalore
5. What is Serverless?
Serverless is lightweight event-based microservices.
-Google Functions
Serverless is the native architecture of the cloud that enables you to shift
more of your operational responsibilities to AWS, increasing your agility
and innovation. Serverless allows you to build and run applications and
services without thinking about servers.
- AWS
26-MAY-2023 | 8th World DevOps Summit Bangalore
6. What is Serverless
No Servers to provision or manage
Automatically scales with usage
Never pay for idle
HA
26-MAY-2023 | 8th World DevOps Summit Bangalore
7. History of Serverless
2012 -used to describe BaaS and Continuous Integration services run by third parties
2014 -AWS launched Lambda
2015 -AWS launched API Gateway
2016 - Serverless Conference & GCP, Azure , IBM etc .. FaaS offerings GA
2017 - Serverless Framework released
• 2020- 202X - Edge Functions , Cloudflare Workers and Other cloud providers continue
to enhance
26-MAY-2023 | 8th World DevOps Summit Bangalore
11. State of Serverless in CNCF is Serverless
26-MAY-2023 | 8th World DevOps Summit Bangalore
12. State of Serverless in CNCF is Serverless
Source: https://landscape.cncf.io/serverless?zoom=150
26-MAY-2023 | 8th World DevOps Summit Bangalore
13. State of Serverless in CNCF is Serverless
Source: https://landscape.cncf.io/format=serverless
26-MAY-2023 | 8th World DevOps Summit Bangalore
21. What is Container
Standard unit of software that packages up code and all its dependencies
Application runs quickly and reliably from one computing environment to another
26-MAY-2023 | 8th World DevOps Summit Bangalore
23. Container Orchestration Engine
Container orchestration engine automates deploying, scaling,
managing containerized application on a group of the servers.
It is known as COE.
• Clustering
• Scheduling
• Scalability
• LB
• Fault tolerance
• Deployment
COE Enables
26-MAY-2023 | 8th World DevOps Summit Bangalore
24. When to use Serverless?
When to use k8s?
26-MAY-2023 | 8th World DevOps Summit Bangalore
26. Serverless vs Container
Serverless
• Container technology enables you to
scale
• Containers are vendor-agnostic
• Full flexibility and control
• provide tools for scaling and monitoring
instances based on defined metrics
Container
Superpower - Easier to
onboard focus on solving
business problem from
get go
Superpower - Complete control of
environment rich echo system
• Minimum overhead
• Requires minimal infrastructure
provisioning
• As you pay per function execution
• no worry about scalability
• Vendor Lock-In
26-MAY-2023 | 8th World DevOps Summit Bangalore
27. Serverless vs Container
Serverless
• Data inside a container disappears
forever
• Applications that don’t require a
graphical interface
• Portability
• Complexity in Some Scenarios
Container
• “black box” technology
• Application grows, the complexity of
troubleshooting explodes
• Cold Start Latency
• Sometimes can be Very tricky to get right
and typically requires significant upfront
human resource costs
26-MAY-2023 | 8th World DevOps Summit Bangalore
28. CBA
3 million/month ,512 Memory, 300 ms execution
time , Unpredictable traffic
$7.67/month
90 million/month ,512 Memory, 250 ms execution
time , predictable traffic
= $230/month
Serverless
3 million/month ,512 Memory, 300 ms
execution time , Unpredictable traffic
$148.67/month (CP) + $15 (t3.small worker
node) = $163.67/month
(cost will increase during higher spike coz of
scaling)
90 million/month ,512 Memory, 250 ms
execution time , predictable traffic
$148.67/month (CP) + $29 (t3.medium worker
node) = $177.67/month
Container
26-MAY-2023 | 8th World DevOps Summit Bangalore
29. Functions into apps
I want to sequence functions
I want to select functions based on data
I want to retry functions
I want try/catch/finally
I have code that runs for hours
26-MAY-2023 | 8th World DevOps Summit Bangalore