Upload
robin-weston
View
135
Download
0
Embed Size (px)
Citation preview
SERVERLESS ARCHITECTURES AND
CONTINUOUS DELIVERY
@robinweston
AGENDA• What is a Serverless Architecture?
• Tales from a world without servers
• How does Serverless enable Continuous Delivery?
• Serverless starter tips
WHAT IS A SERVERLESS ARCHITECTURE?
Serverless architectures are internet-based systems where the application development does not
use the usual server process.
Instead they rely solely on a combination of third-party services, client-side logic, and service-hosted remote procedure calls (Functions
as a Service).
TRADITIONAL VS. SERVERLESS
FUNCTIONS AS A SERVICE (FaaS)• Independent server-side logic functions• Stateless• Ephemeral• Event-triggered• Scalable by default• Fully managed by 3rd party
EVOLUTION OF CLOUD-HOSTED SOFTWARE
Server
Application
Function
AWS LAMBDA EVENT SOURCES
DynamoDB
SNS
S3
Scheduled Event
Lambda FunctionsAPI Gateway
TALES FROM A WORLD WITHOUT SERVERS
SCALABILITYλ λ
λ
λ
λ
λ
λ
λ
COSTλλ
λ
λ λ
λλ
TESTABILITY
SECURITY
OBSERVABILITY
LOGGING
MONITORING
PIPELINES & DEPLOYMENTS
λ
FRAMEWORKS
HOW DOES SERVERLESS ENABLE CONTINUOUS DELIVERY?
CONTINUOUS DELIVERY ENABLEMENT• Naturally small deployable units• Simple deployment model• No more “works on my machine”• Enables focus on business value
SERVERLESS STARTER TIPS
NIBBLE AT THE EDGES
NIBBLING SUGGESTIONS• Scheduled jobs• Log streaming• Webhook processing• Chatbot• Proof of Concepts
ABSEIL INTO THE PIT OF SUCCESS
SERVERLESS ABSEILING TIPS• Know your traffic profile
• Don’t lift and shift
• Consider compliance
• Monitoring and logging from the start
• Safely replace existing systems
#NOOPS? NO WAY!
OPERATIONS• Log aggregation
• Monitoring
• Alerts
• Infrastructure as code
SUMMARY• What is a Serverless Architecture?
• Tales from a world without servers
• How does Serverless enable Continuous Delivery?
• Serverless starter tips
http://martinfowler.com/bliki/Serverless.html
http://martinfowler.com/articles/serverless.html
https://hackernoon.com/why-the-fuss-about-serverless-4370b1596da0