SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
Enterprise Serverless
Justin Wood & Dmitry Lozitskiy
J U L Y 2 0 2 0
“The rapid adoption of
serverless is happening in
the enterprise”
W e r n e r V o g e l s | A W S r e : I n v e n t 2 0 1 9
3 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Current State of Serverless
Earlier this year Datadog has released ”The State Of Serverless” report. There are some interesting revelations showing that it’s not only widely adopted but is most of the time a
preferred choice of technology, particularly by companies who are already using containers technologies.
4 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Brief History of Serverless
Working backwards with customers back in 2012, Amazon Storage Division (S3, EBS) realized the need for a compute model similar to S3 super simple storage model with its PUT, GET
and LIST. This is what eventually was created by Tim Wagner’s team and became AWS Lambda with its notion of “invoke in the cloud”. Lambda’s initial goal was to produce thumbnails
of images uploaded to S3, The team didn’t expect that Lambda will cause a revolution in Cloud Computing.
Tim Wagner,
creator of AWS Lambda
5 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Why Serverless?
Computing has evolved over time to higher levels of flexibility, finer grained levels of control and lower cost of maintenance. Serverless is currently the most advanced stage of
this evolution.
6 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Serverless vs Microservices
The Microservices is now a popular architectural style and is recognised as the de-facto approach for decomposing monoliths.
Serverless is Microservices without servers (or containers) where the Cloud is the platform.
Differences Similarities
o Scale with complexity
o PaaS systems still incur the costs of worker nodes
o Containers are analogues for servers
o Application is decomposed
and features are isolated
o Services are managed
independently
o Scale with simplicity
o Reduced operational cost
o Lower capacity demands
o Easier operational management
MicroservicesServerless
7 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Serverless Application Building Blocks
This diagram shows the foundational building blocks for a good serverless application
8 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Enterprise Challenges
Although a serverless application development model has clear benefits, there is still a substantial adoption barrier that enterprise organizations face when embarking on a
serverless journey.
How to operate serverless
environment at scale?
How to control access to
serverless infrastructure
and applications?
How to ensure
resiliency of
serverless
applications?
How to optimize
performance of
serverless applications?
How to optimize cost of
serverless applications?
9 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
What Good Looks Like
For successful adoption of serverless application development model, it is crucial to establish a solid foundation. Well-Architected Framework helps to address adoption
challenges upfront.
E N T E R P R I S E S E R V E R L E S S
DevSecOps
Test Driven Development
Embedded Standards
Tracing, Logging, Monitoring and Alerting
Code Metrics
Mocking Framework
Opinionated
Everything fails all the time
10 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Serverless Lens
In 2015, AWS released Well-Architected Framework - structured way of comparing cloud workloads against architectural best practices. In 2017, AWS extended the framework’s
general advice to be more application and domain specific with the concept of a “lens". A lens are specific technology areas, which focus on specific extensions to generic advice.
Serverless is one of the available lenses.
E N T E R P R I S E S E R V E R L E S S
https://bit.ly/3g59PbL
11 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
DevSecOps: Infrastructure as Code
Using infrastructure as code approach may seem tedious and time consuming, however by eliminating manual ops out of the change release process it pays back very quickly.
Advantages:
• Deploy applications in a repeatable manner
• Reduce risks of errors caused by manual processes
• Embed security and coding standards into the build process
• Track and audit changes and releases over time
• Have a safe roll back strategy
AWS CDK AWS SAM SERVERLESS FRAMEWORK
AWS CLOUDFORMATION
E N T E R P R I S E S E R V E R L E S S
creates
12 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
DevSecOps: Tools to help
• sam local invoke and sam local
start-api for local development,
debugging and testing
• sam local generate-event to generate
a mock of AWS service event
• sam local start-lambda for mocking
AWS Lambda locally (to write integration
tests)
E N T E R P R I S E S E R V E R L E S S
DynamoDB local:
$ docker run -p 8000:8000 amazon/dynamodb-local -jar DynamoDBLocal.jar -inMemory –sharedDb
$ aws dynamodb create-table --table-name tracing-app --attribute-definitions
AttributeName=id,AttributeType=S --key-schema AttributeName=id,KeyType=HASH --billing-mode
PAY_PER_REQUEST --endpoint-url http://localhost:8000
AWS SAM CLI
Extending the developer's toolchain with local serverless development frameworks helps to improve agility and reduces iterations required to release features into production.
13 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
DevSecOps: Tools to help
E N T E R P R I S E S E R V E R L E S S
$ pip install localstack
$ localstack start
Extending the developer's toolchain with local serverless development frameworks helps to improve agility and reduces iterations required to release features into production.
14 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
DevSecOps: Maximize productivity
Extending the developer's toolchain with local serverless development frameworks helps to improve agility and reduces iterations required to release features into production.
E N T E R P R I S E S E R V E R L E S S
$ aws s3 mb s3://localstack-app-bucket --endpoint-url http://localhost:4566
$ sam local start-api --skip-pull-image --env-vars sam-local.env.json
$ curl -X POST http://localhost:3000/upload -d '{"message": "localstack bucket upload"}'
$ aws s3 ls s3://localstack-app-bucket --endpoint-url http://localhost:4566
2020-07-22 13:33:56 39 84bb000d2a5adde8e86ad16fedcd833e.file
https://bit.ly/3jFcGdD
15 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
DevSecOps: Continuous Delivery Example
Robust Continuous Delivery process ensures that changes delivered to production are immutable across stages, production environment is safe-guarded from untested
deployments at early stages.
Example of single branch Dev CI/CD pipeline
E N T E R P R I S E S E R V E R L E S S
https://bit.ly/2EnWHRd
Advantages:
• Serverless starts with the
pipeline itself
• Single branch pipeline for
small teams
• Dynamic branch pipeline
for bigger and mature
teams
16 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
DevSecOps: Release Process Example
Code review process is enforced for production changes via IAM role policy, allowing developers to push code into the feature branches and create pull requests to merge code
into the master branch.
Advantages:
• Code is merged into master branch via Pull Request
• Peer-review of the code is enforced by developer IAM role policy
Example of Production CI/CD pipeline
E N T E R P R I S E S E R V E R L E S S
17 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
DevSecOps: Security is a responsibility
In Shared Responsibility Model for Serverless Applications, application owners are responsible to ensure that the application is resilient to attacks.
E N T E R P R I S E S E R V E R L E S S
Top 10 most critical security risks for
Serverless Applications:
https://github.com/puresec/sas-top-10
https://owasp.org/www-project-serverless-top-
10/
Top 10 serverless threats:
18 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
DevSecOps: Security negligence impacts
Applying security in-depth approach to secure serverless applications is must, especially when dealing with customer data and PII.
E N T E R P R I S E S E R V E R L E S S
OWASP Serverless Goat:
https://github.com/OWASP/Serverless-Goat
19 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
DevSecOps: Shifting security left
Improving cloud security posture by shifting security left in software delivery process.
E N T E R P R I S E S E R V E R L E S S
Open source vulnerability scanner tool:
• Helps to discover known vulnerabilities before the code
hits the repository via IDE integration
• Smoothly integrates with existing CI/CD process
• Continuously monitors deployed serverless functions for
newly discovered vulnerabilities
https://bit.ly/3hCqMup
20 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
DevSecOps: Security in-depth
Improving code centric security as well as ensuring runtime security is critical, especially when dealing with customer data.
E N T E R P R I S E S E R V E R L E S S
• Runtime Protection (Function Self Protection)
ü detects and stops application attacks
(SQL injection, XSS, etc.)
ü profiles function and application
behaviour
ü detects and prevents an anomaly
behaviours
• Risk Assessment (Proact)
ü scans function before deployment
ü detects permissive roles
ü detects vulnerable dependencies
ü detects hardcoded credentials
ü checks rules violation
21 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Tracing, Logging, Monitoring and Alerting
Observability is crucial for serverless applications. With its distributed nature, serverless applications can easily span to hundreds of functions calling hundreds of other services.
Applying traditional monolith application approaches for serverless observability won’t work.
E N T E R P R I S E S E R V E R L E S S
AWS X-Ray helps to some extent with distributed tracing, but mainly focused around
measuring execution times and identifying performance bottlenecks
https://bit.ly/3hCdDS4
22 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Tracing, Logging, Monitoring and Alerting
Observability is crucial for serverless applications. With its distributed nature, serverless applications can easily span to hundreds of functions calling hundreds of other services.
Applying traditional monolith application approaches for serverless observability won’t work.
E N T E R P R I S E S E R V E R L E S S
AWS ServiceLens comes to help and bridges the gap between X-Ray and CloudWatch by
integrating traces, metrics, logs, and alarms into one place
Current limitations:
• Trace segments inside Lambda functions are
immutable
• No way to override segment trace id and
parent id
• Not suitable for large scale serverless
applications
23 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Tracing, Logging, Monitoring and Alerting
Observability at scale requires right tools, the state of observability of serverless architecture is critical and will directly impact business performance.
E N T E R P R I S E S E R V E R L E S S
24 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Performance: Execution environment
Due to the nature of serverless compute performance is not always proportional to cost, it takes time an effort to find a balance for each individual workload
E N T E R P R I S E S E R V E R L E S S
Warm
environment?
Find compute
Download
code
Start execution
environment
InitializationInvoke handler
Lambda Service
Request
Response
25 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Performance: Static initialization
Due to the nature of serverless compute performance is not always proportional to cost, it takes time an effort to find a balance for each individual workload
E N T E R P R I S E S E R V E R L E S S
Cold start is influenced by:
• Memory allocation
• Size of the function
• Static initialization
Static initialization is influenced by:
• Size of function package
• Amount of initialization work
26 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Performance: Optimization strategies
Due to the nature of serverless compute performance is not always proportional to cost, it takes time an effort to find a balance for each individual workload
E N T E R P R I S E S E R V E R L E S S
Code optimization:
• Optimise dependencies
• Reuse connections
• Node.js – minify/uglify (32 times less in size)
27 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Performance: Tuning
Due to the nature of serverless compute performance is not always proportional to cost, it takes time an effort to find a balance for each individual workload
E N T E R P R I S E S E R V E R L E S S
https://bit.ly/30QdBPL
28 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Performance: Tuning
Due to the nature of serverless compute performance is not always proportional to cost, it takes time an effort to find a balance for each individual workload
E N T E R P R I S E S E R V E R L E S S
29 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Next Level: Operational Excellence
There are many frameworks that speed the development of Serverless applications but ultimately the development team uses a full technology stack and follows a set of
practices and processes that support high quality, high velocity Agile development.
Templates
Standard patterns are implemented as templates use
in generators to create standardized code. Templates
are independently maintained in library.
Standard Architectural Patterns
Serverless architectures have grown, evolved and
coalesced into standardised patterns. We catalogue
and apply these patterns in consistant ways to our
implementation. Operating Model
The team is build for success with the appropriate
governance and stakeholders from Deloitte, AWS and the
business.
Code Snippets
A set of curated and consistant code snippets for
carrying out standard operations. Frictionless Communication
We recognize the importance of communication
between the various team members and stakeholders
especially when you consider that resources may be
drawn from various geographical locations to
leverage expertise and economies.
Delivery Framework
The team works in a well-defined agile delivery framework.
Behaviour Driven Development
Specifications form the foundations for tests so that
there is direct traceability to requirements and in a
way that facilitates automation.
Team Analytics
As an agile team progresses through delivery measurement
of team metrics in relation to velocity is key to understanding
the levers for continuous improvement
Generators
We use code generation to implement standard
patterns and enforce the use of the standardized
serverless framework componentry. Templates and
snippets are brought together by generators that free
the developer from inconsistent cut-and-paste.
Automated Code Review
By enforcing pull request and using bots to do linting
and test coverage we build quality into the release
process.
Evangelise and Educate
In an environment rooted in traditional development the
serverless ways of work, it’s advantage and mix of
technologies might not be accepted and embraced so we
work with the development teams and the business to make
sure serverless is understood.
Cross Functional
The team is built with a full complement of the roles required
for successful serverless cloud development
Accelerators Team
30 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited.
Operating Models
The high performing team will be able to fulfill all the roles described here in a well formed and well governed team.
Scrum Master
Serverless Development
Lead
Serverless Developers
AWS DevOps Specialist
Business Analyst Tester
Cloud Architect
Product Owner
Test Lead
Tester
Business Analyst / SME
Guru Cloud Architect
Engagement LeadPractice Manager
Development
Manager
Executive Sponsor
Governance Dev
Modernisation Program Lead
https://bit.ly/32VDHnb
Help us to make it better by providing your feedback:

Weitere ähnliche Inhalte

Was ist angesagt?

Distribute Your App and Engage Your Community with a Helm Repository
Distribute Your App and Engage Your Community with a Helm RepositoryDistribute Your App and Engage Your Community with a Helm Repository
Distribute Your App and Engage Your Community with a Helm RepositoryVMware Tanzu
 
OPS Executive insights Webinar - Tanzu Slides
OPS Executive insights Webinar - Tanzu SlidesOPS Executive insights Webinar - Tanzu Slides
OPS Executive insights Webinar - Tanzu SlidesVMware Tanzu
 
FedScoop Public Sector Innovation Summit DOD Enterprise DevSecOps Initiative ...
FedScoop Public Sector Innovation Summit DOD Enterprise DevSecOps Initiative ...FedScoop Public Sector Innovation Summit DOD Enterprise DevSecOps Initiative ...
FedScoop Public Sector Innovation Summit DOD Enterprise DevSecOps Initiative ...scoopnewsgroup
 
Beyond the Operating System: Red Hat's Open Strategy for the Modern Enterprise
Beyond the Operating System: Red Hat's Open Strategy for the Modern EnterpriseBeyond the Operating System: Red Hat's Open Strategy for the Modern Enterprise
Beyond the Operating System: Red Hat's Open Strategy for the Modern EnterpriseJames Falkner
 
StripeCon 2021: A Cloud-Native approach to running Silverstripe on Google Clo...
StripeCon 2021: A Cloud-Native approach to running Silverstripe on Google Clo...StripeCon 2021: A Cloud-Native approach to running Silverstripe on Google Clo...
StripeCon 2021: A Cloud-Native approach to running Silverstripe on Google Clo...Jon Su
 
Availability in a cloud native world - Guidelines for mere mortals v2.0
Availability in a cloud native world - Guidelines for mere mortals v2.0Availability in a cloud native world - Guidelines for mere mortals v2.0
Availability in a cloud native world - Guidelines for mere mortals v2.0Haytham Elkhoja
 
Software Defined — The Ubiquitous Digital Foundation_Robert Ames_Digital Tran...
Software Defined — The Ubiquitous Digital Foundation_Robert Ames_Digital Tran...Software Defined — The Ubiquitous Digital Foundation_Robert Ames_Digital Tran...
Software Defined — The Ubiquitous Digital Foundation_Robert Ames_Digital Tran...scoopnewsgroup
 
Stability anti patterns in cloud-native applications
Stability anti patterns in cloud-native applicationsStability anti patterns in cloud-native applications
Stability anti patterns in cloud-native applicationsAna-Maria Mihalceanu
 
Cloud Foundry - #IBMOTS 2016
Cloud Foundry - #IBMOTS 2016Cloud Foundry - #IBMOTS 2016
Cloud Foundry - #IBMOTS 2016Sam Ramji
 
Enterprise Application Migration
Enterprise Application MigrationEnterprise Application Migration
Enterprise Application MigrationVMware Tanzu
 
Cloud foundry architecture and deep dive
Cloud foundry architecture and deep diveCloud foundry architecture and deep dive
Cloud foundry architecture and deep diveAnimesh Singh
 
Cloud Standards: EnablingInteroperability.and.package.delivery
Cloud Standards: EnablingInteroperability.and.package.deliveryCloud Standards: EnablingInteroperability.and.package.delivery
Cloud Standards: EnablingInteroperability.and.package.deliveryAbiquo, Inc.
 
Devoxx Ukraine - Going beyond the 12 factors
Devoxx Ukraine - Going beyond the 12 factorsDevoxx Ukraine - Going beyond the 12 factors
Devoxx Ukraine - Going beyond the 12 factorsGrace Jansen
 
Cloud Trends Nov2015 Structure
Cloud Trends Nov2015 StructureCloud Trends Nov2015 Structure
Cloud Trends Nov2015 StructureAdrian Cockcroft
 
'The History of Metrics According to me' by Stephen Day
'The History of Metrics According to me' by Stephen Day'The History of Metrics According to me' by Stephen Day
'The History of Metrics According to me' by Stephen DayDocker, Inc.
 
IBM Private Cloud Platform - Setting Foundation for Hybrid (JUKE, 2015)
IBM Private Cloud Platform - Setting Foundation for Hybrid (JUKE, 2015)IBM Private Cloud Platform - Setting Foundation for Hybrid (JUKE, 2015)
IBM Private Cloud Platform - Setting Foundation for Hybrid (JUKE, 2015)Denny Muktar
 
Decomposing applications for deployability and scalability(SpringSource webinar)
Decomposing applications for deployability and scalability(SpringSource webinar)Decomposing applications for deployability and scalability(SpringSource webinar)
Decomposing applications for deployability and scalability(SpringSource webinar)Chris Richardson
 
Forecast 2014: EMC Corp - Build a hybrid cloud
Forecast 2014: EMC Corp - Build a hybrid cloudForecast 2014: EMC Corp - Build a hybrid cloud
Forecast 2014: EMC Corp - Build a hybrid cloudOpen Data Center Alliance
 
IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry)
IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry) IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry)
IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry) Animesh Singh
 
DevOps at scale: what we did, what we learned at Societe Generale
DevOps at scale: what we did, what we learned at Societe GeneraleDevOps at scale: what we did, what we learned at Societe Generale
DevOps at scale: what we did, what we learned at Societe GeneraleAdrien Blind
 

Was ist angesagt? (20)

Distribute Your App and Engage Your Community with a Helm Repository
Distribute Your App and Engage Your Community with a Helm RepositoryDistribute Your App and Engage Your Community with a Helm Repository
Distribute Your App and Engage Your Community with a Helm Repository
 
OPS Executive insights Webinar - Tanzu Slides
OPS Executive insights Webinar - Tanzu SlidesOPS Executive insights Webinar - Tanzu Slides
OPS Executive insights Webinar - Tanzu Slides
 
FedScoop Public Sector Innovation Summit DOD Enterprise DevSecOps Initiative ...
FedScoop Public Sector Innovation Summit DOD Enterprise DevSecOps Initiative ...FedScoop Public Sector Innovation Summit DOD Enterprise DevSecOps Initiative ...
FedScoop Public Sector Innovation Summit DOD Enterprise DevSecOps Initiative ...
 
Beyond the Operating System: Red Hat's Open Strategy for the Modern Enterprise
Beyond the Operating System: Red Hat's Open Strategy for the Modern EnterpriseBeyond the Operating System: Red Hat's Open Strategy for the Modern Enterprise
Beyond the Operating System: Red Hat's Open Strategy for the Modern Enterprise
 
StripeCon 2021: A Cloud-Native approach to running Silverstripe on Google Clo...
StripeCon 2021: A Cloud-Native approach to running Silverstripe on Google Clo...StripeCon 2021: A Cloud-Native approach to running Silverstripe on Google Clo...
StripeCon 2021: A Cloud-Native approach to running Silverstripe on Google Clo...
 
Availability in a cloud native world - Guidelines for mere mortals v2.0
Availability in a cloud native world - Guidelines for mere mortals v2.0Availability in a cloud native world - Guidelines for mere mortals v2.0
Availability in a cloud native world - Guidelines for mere mortals v2.0
 
Software Defined — The Ubiquitous Digital Foundation_Robert Ames_Digital Tran...
Software Defined — The Ubiquitous Digital Foundation_Robert Ames_Digital Tran...Software Defined — The Ubiquitous Digital Foundation_Robert Ames_Digital Tran...
Software Defined — The Ubiquitous Digital Foundation_Robert Ames_Digital Tran...
 
Stability anti patterns in cloud-native applications
Stability anti patterns in cloud-native applicationsStability anti patterns in cloud-native applications
Stability anti patterns in cloud-native applications
 
Cloud Foundry - #IBMOTS 2016
Cloud Foundry - #IBMOTS 2016Cloud Foundry - #IBMOTS 2016
Cloud Foundry - #IBMOTS 2016
 
Enterprise Application Migration
Enterprise Application MigrationEnterprise Application Migration
Enterprise Application Migration
 
Cloud foundry architecture and deep dive
Cloud foundry architecture and deep diveCloud foundry architecture and deep dive
Cloud foundry architecture and deep dive
 
Cloud Standards: EnablingInteroperability.and.package.delivery
Cloud Standards: EnablingInteroperability.and.package.deliveryCloud Standards: EnablingInteroperability.and.package.delivery
Cloud Standards: EnablingInteroperability.and.package.delivery
 
Devoxx Ukraine - Going beyond the 12 factors
Devoxx Ukraine - Going beyond the 12 factorsDevoxx Ukraine - Going beyond the 12 factors
Devoxx Ukraine - Going beyond the 12 factors
 
Cloud Trends Nov2015 Structure
Cloud Trends Nov2015 StructureCloud Trends Nov2015 Structure
Cloud Trends Nov2015 Structure
 
'The History of Metrics According to me' by Stephen Day
'The History of Metrics According to me' by Stephen Day'The History of Metrics According to me' by Stephen Day
'The History of Metrics According to me' by Stephen Day
 
IBM Private Cloud Platform - Setting Foundation for Hybrid (JUKE, 2015)
IBM Private Cloud Platform - Setting Foundation for Hybrid (JUKE, 2015)IBM Private Cloud Platform - Setting Foundation for Hybrid (JUKE, 2015)
IBM Private Cloud Platform - Setting Foundation for Hybrid (JUKE, 2015)
 
Decomposing applications for deployability and scalability(SpringSource webinar)
Decomposing applications for deployability and scalability(SpringSource webinar)Decomposing applications for deployability and scalability(SpringSource webinar)
Decomposing applications for deployability and scalability(SpringSource webinar)
 
Forecast 2014: EMC Corp - Build a hybrid cloud
Forecast 2014: EMC Corp - Build a hybrid cloudForecast 2014: EMC Corp - Build a hybrid cloud
Forecast 2014: EMC Corp - Build a hybrid cloud
 
IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry)
IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry) IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry)
IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry)
 
DevOps at scale: what we did, what we learned at Societe Generale
DevOps at scale: what we did, what we learned at Societe GeneraleDevOps at scale: what we did, what we learned at Societe Generale
DevOps at scale: what we did, what we learned at Societe Generale
 

Ähnlich wie Enterprise serverless

Optimize your CI/CD with GitLab and AWS
Optimize your CI/CD with GitLab and AWSOptimize your CI/CD with GitLab and AWS
Optimize your CI/CD with GitLab and AWSDevOps.com
 
Applying DevOps, PaaS and cloud for better citizen service outcomes - IBM Fe...
Applying DevOps, PaaS and cloud for better citizen service  outcomes - IBM Fe...Applying DevOps, PaaS and cloud for better citizen service  outcomes - IBM Fe...
Applying DevOps, PaaS and cloud for better citizen service outcomes - IBM Fe...Sanjeev Sharma
 
7 flavours of devops implementation
7 flavours of devops implementation7 flavours of devops implementation
7 flavours of devops implementationAspire Systems
 
2022: 6 Cloud-Native App Development Trends to Transform Your Business
2022: 6 Cloud-Native App Development Trends to Transform Your Business2022: 6 Cloud-Native App Development Trends to Transform Your Business
2022: 6 Cloud-Native App Development Trends to Transform Your BusinessWeCode Inc
 
Contino Webinar - Migrating your Trading Workloads to the Cloud
Contino Webinar -  Migrating your Trading Workloads to the CloudContino Webinar -  Migrating your Trading Workloads to the Cloud
Contino Webinar - Migrating your Trading Workloads to the CloudBen Saunders
 
Enterprise Desktops Well Served - a technical perspective on virtual desktops
Enterprise Desktops Well Served - a technical perspective on virtual desktopsEnterprise Desktops Well Served - a technical perspective on virtual desktops
Enterprise Desktops Well Served - a technical perspective on virtual desktopsMolten Technologies
 
Frequently Asked Questions (FAQs) on IoT Cloud App Development
Frequently Asked Questions (FAQs) on IoT Cloud App DevelopmentFrequently Asked Questions (FAQs) on IoT Cloud App Development
Frequently Asked Questions (FAQs) on IoT Cloud App DevelopmentEmbitel Technologies (I) PVT LTD
 
Serverless service adoption for Thailand
Serverless service adoption for ThailandServerless service adoption for Thailand
Serverless service adoption for ThailandWatcharin Yang-Ngam
 
Service Mesh and Serverless Chatbots with Linkerd, K8s and OpenFaaS
Service Mesh and Serverless Chatbots with Linkerd, K8s and OpenFaaSService Mesh and Serverless Chatbots with Linkerd, K8s and OpenFaaS
Service Mesh and Serverless Chatbots with Linkerd, K8s and OpenFaaSSoftware Guru
 
Applying lean, dev ops, and cloud for better business outcomes
Applying lean, dev ops, and cloud for better business outcomesApplying lean, dev ops, and cloud for better business outcomes
Applying lean, dev ops, and cloud for better business outcomesKartik Kanakasabesan
 
Tech Talk - Cloud Transformation in 2017
Tech Talk - Cloud Transformation in 2017Tech Talk - Cloud Transformation in 2017
Tech Talk - Cloud Transformation in 2017Alex Rhea
 
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...RapidValue
 
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...apidays
 
AWS DevOps: Introduction to DevOps on AWS
  AWS DevOps: Introduction to DevOps on AWS  AWS DevOps: Introduction to DevOps on AWS
AWS DevOps: Introduction to DevOps on AWSDatacademy.ai
 
Cloud 12 08 V2
Cloud 12 08 V2Cloud 12 08 V2
Cloud 12 08 V2Pini Cohen
 
Infrastructure as Code in Large Scale Organizations
Infrastructure as Code in Large Scale OrganizationsInfrastructure as Code in Large Scale Organizations
Infrastructure as Code in Large Scale OrganizationsXebiaLabs
 
Cloud Application Development Lifecycle
Cloud Application Development LifecycleCloud Application Development Lifecycle
Cloud Application Development LifecycleSuhas Kelkar
 
How do you deliver your applications to the cloud?
How do you deliver your applications to the cloud?How do you deliver your applications to the cloud?
How do you deliver your applications to the cloud?Michael Elder
 
Docker Bday #5, SF Edition: Introduction to Docker
Docker Bday #5, SF Edition: Introduction to DockerDocker Bday #5, SF Edition: Introduction to Docker
Docker Bday #5, SF Edition: Introduction to DockerDocker, Inc.
 

Ähnlich wie Enterprise serverless (20)

Optimize your CI/CD with GitLab and AWS
Optimize your CI/CD with GitLab and AWSOptimize your CI/CD with GitLab and AWS
Optimize your CI/CD with GitLab and AWS
 
Applying DevOps, PaaS and cloud for better citizen service outcomes - IBM Fe...
Applying DevOps, PaaS and cloud for better citizen service  outcomes - IBM Fe...Applying DevOps, PaaS and cloud for better citizen service  outcomes - IBM Fe...
Applying DevOps, PaaS and cloud for better citizen service outcomes - IBM Fe...
 
7 flavours of devops implementation
7 flavours of devops implementation7 flavours of devops implementation
7 flavours of devops implementation
 
2022: 6 Cloud-Native App Development Trends to Transform Your Business
2022: 6 Cloud-Native App Development Trends to Transform Your Business2022: 6 Cloud-Native App Development Trends to Transform Your Business
2022: 6 Cloud-Native App Development Trends to Transform Your Business
 
DevOps Case Studies
DevOps Case StudiesDevOps Case Studies
DevOps Case Studies
 
Contino Webinar - Migrating your Trading Workloads to the Cloud
Contino Webinar -  Migrating your Trading Workloads to the CloudContino Webinar -  Migrating your Trading Workloads to the Cloud
Contino Webinar - Migrating your Trading Workloads to the Cloud
 
Enterprise Desktops Well Served - a technical perspective on virtual desktops
Enterprise Desktops Well Served - a technical perspective on virtual desktopsEnterprise Desktops Well Served - a technical perspective on virtual desktops
Enterprise Desktops Well Served - a technical perspective on virtual desktops
 
Frequently Asked Questions (FAQs) on IoT Cloud App Development
Frequently Asked Questions (FAQs) on IoT Cloud App DevelopmentFrequently Asked Questions (FAQs) on IoT Cloud App Development
Frequently Asked Questions (FAQs) on IoT Cloud App Development
 
Serverless service adoption for Thailand
Serverless service adoption for ThailandServerless service adoption for Thailand
Serverless service adoption for Thailand
 
Service Mesh and Serverless Chatbots with Linkerd, K8s and OpenFaaS
Service Mesh and Serverless Chatbots with Linkerd, K8s and OpenFaaSService Mesh and Serverless Chatbots with Linkerd, K8s and OpenFaaS
Service Mesh and Serverless Chatbots with Linkerd, K8s and OpenFaaS
 
Applying lean, dev ops, and cloud for better business outcomes
Applying lean, dev ops, and cloud for better business outcomesApplying lean, dev ops, and cloud for better business outcomes
Applying lean, dev ops, and cloud for better business outcomes
 
Tech Talk - Cloud Transformation in 2017
Tech Talk - Cloud Transformation in 2017Tech Talk - Cloud Transformation in 2017
Tech Talk - Cloud Transformation in 2017
 
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
 
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
 
AWS DevOps: Introduction to DevOps on AWS
  AWS DevOps: Introduction to DevOps on AWS  AWS DevOps: Introduction to DevOps on AWS
AWS DevOps: Introduction to DevOps on AWS
 
Cloud 12 08 V2
Cloud 12 08 V2Cloud 12 08 V2
Cloud 12 08 V2
 
Infrastructure as Code in Large Scale Organizations
Infrastructure as Code in Large Scale OrganizationsInfrastructure as Code in Large Scale Organizations
Infrastructure as Code in Large Scale Organizations
 
Cloud Application Development Lifecycle
Cloud Application Development LifecycleCloud Application Development Lifecycle
Cloud Application Development Lifecycle
 
How do you deliver your applications to the cloud?
How do you deliver your applications to the cloud?How do you deliver your applications to the cloud?
How do you deliver your applications to the cloud?
 
Docker Bday #5, SF Edition: Introduction to Docker
Docker Bday #5, SF Edition: Introduction to DockerDocker Bday #5, SF Edition: Introduction to Docker
Docker Bday #5, SF Edition: Introduction to Docker
 

Kürzlich hochgeladen

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 

Kürzlich hochgeladen (20)

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Enterprise serverless

  • 1. Enterprise Serverless Justin Wood & Dmitry Lozitskiy J U L Y 2 0 2 0
  • 2. “The rapid adoption of serverless is happening in the enterprise” W e r n e r V o g e l s | A W S r e : I n v e n t 2 0 1 9
  • 3. 3 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Current State of Serverless Earlier this year Datadog has released ”The State Of Serverless” report. There are some interesting revelations showing that it’s not only widely adopted but is most of the time a preferred choice of technology, particularly by companies who are already using containers technologies.
  • 4. 4 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Brief History of Serverless Working backwards with customers back in 2012, Amazon Storage Division (S3, EBS) realized the need for a compute model similar to S3 super simple storage model with its PUT, GET and LIST. This is what eventually was created by Tim Wagner’s team and became AWS Lambda with its notion of “invoke in the cloud”. Lambda’s initial goal was to produce thumbnails of images uploaded to S3, The team didn’t expect that Lambda will cause a revolution in Cloud Computing. Tim Wagner, creator of AWS Lambda
  • 5. 5 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Why Serverless? Computing has evolved over time to higher levels of flexibility, finer grained levels of control and lower cost of maintenance. Serverless is currently the most advanced stage of this evolution.
  • 6. 6 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Serverless vs Microservices The Microservices is now a popular architectural style and is recognised as the de-facto approach for decomposing monoliths. Serverless is Microservices without servers (or containers) where the Cloud is the platform. Differences Similarities o Scale with complexity o PaaS systems still incur the costs of worker nodes o Containers are analogues for servers o Application is decomposed and features are isolated o Services are managed independently o Scale with simplicity o Reduced operational cost o Lower capacity demands o Easier operational management MicroservicesServerless
  • 7. 7 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Serverless Application Building Blocks This diagram shows the foundational building blocks for a good serverless application
  • 8. 8 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Enterprise Challenges Although a serverless application development model has clear benefits, there is still a substantial adoption barrier that enterprise organizations face when embarking on a serverless journey. How to operate serverless environment at scale? How to control access to serverless infrastructure and applications? How to ensure resiliency of serverless applications? How to optimize performance of serverless applications? How to optimize cost of serverless applications?
  • 9. 9 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. What Good Looks Like For successful adoption of serverless application development model, it is crucial to establish a solid foundation. Well-Architected Framework helps to address adoption challenges upfront. E N T E R P R I S E S E R V E R L E S S DevSecOps Test Driven Development Embedded Standards Tracing, Logging, Monitoring and Alerting Code Metrics Mocking Framework Opinionated Everything fails all the time
  • 10. 10 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Serverless Lens In 2015, AWS released Well-Architected Framework - structured way of comparing cloud workloads against architectural best practices. In 2017, AWS extended the framework’s general advice to be more application and domain specific with the concept of a “lens". A lens are specific technology areas, which focus on specific extensions to generic advice. Serverless is one of the available lenses. E N T E R P R I S E S E R V E R L E S S https://bit.ly/3g59PbL
  • 11. 11 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. DevSecOps: Infrastructure as Code Using infrastructure as code approach may seem tedious and time consuming, however by eliminating manual ops out of the change release process it pays back very quickly. Advantages: • Deploy applications in a repeatable manner • Reduce risks of errors caused by manual processes • Embed security and coding standards into the build process • Track and audit changes and releases over time • Have a safe roll back strategy AWS CDK AWS SAM SERVERLESS FRAMEWORK AWS CLOUDFORMATION E N T E R P R I S E S E R V E R L E S S creates
  • 12. 12 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. DevSecOps: Tools to help • sam local invoke and sam local start-api for local development, debugging and testing • sam local generate-event to generate a mock of AWS service event • sam local start-lambda for mocking AWS Lambda locally (to write integration tests) E N T E R P R I S E S E R V E R L E S S DynamoDB local: $ docker run -p 8000:8000 amazon/dynamodb-local -jar DynamoDBLocal.jar -inMemory –sharedDb $ aws dynamodb create-table --table-name tracing-app --attribute-definitions AttributeName=id,AttributeType=S --key-schema AttributeName=id,KeyType=HASH --billing-mode PAY_PER_REQUEST --endpoint-url http://localhost:8000 AWS SAM CLI Extending the developer's toolchain with local serverless development frameworks helps to improve agility and reduces iterations required to release features into production.
  • 13. 13 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. DevSecOps: Tools to help E N T E R P R I S E S E R V E R L E S S $ pip install localstack $ localstack start Extending the developer's toolchain with local serverless development frameworks helps to improve agility and reduces iterations required to release features into production.
  • 14. 14 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. DevSecOps: Maximize productivity Extending the developer's toolchain with local serverless development frameworks helps to improve agility and reduces iterations required to release features into production. E N T E R P R I S E S E R V E R L E S S $ aws s3 mb s3://localstack-app-bucket --endpoint-url http://localhost:4566 $ sam local start-api --skip-pull-image --env-vars sam-local.env.json $ curl -X POST http://localhost:3000/upload -d '{"message": "localstack bucket upload"}' $ aws s3 ls s3://localstack-app-bucket --endpoint-url http://localhost:4566 2020-07-22 13:33:56 39 84bb000d2a5adde8e86ad16fedcd833e.file https://bit.ly/3jFcGdD
  • 15. 15 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. DevSecOps: Continuous Delivery Example Robust Continuous Delivery process ensures that changes delivered to production are immutable across stages, production environment is safe-guarded from untested deployments at early stages. Example of single branch Dev CI/CD pipeline E N T E R P R I S E S E R V E R L E S S https://bit.ly/2EnWHRd Advantages: • Serverless starts with the pipeline itself • Single branch pipeline for small teams • Dynamic branch pipeline for bigger and mature teams
  • 16. 16 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. DevSecOps: Release Process Example Code review process is enforced for production changes via IAM role policy, allowing developers to push code into the feature branches and create pull requests to merge code into the master branch. Advantages: • Code is merged into master branch via Pull Request • Peer-review of the code is enforced by developer IAM role policy Example of Production CI/CD pipeline E N T E R P R I S E S E R V E R L E S S
  • 17. 17 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. DevSecOps: Security is a responsibility In Shared Responsibility Model for Serverless Applications, application owners are responsible to ensure that the application is resilient to attacks. E N T E R P R I S E S E R V E R L E S S Top 10 most critical security risks for Serverless Applications: https://github.com/puresec/sas-top-10 https://owasp.org/www-project-serverless-top- 10/ Top 10 serverless threats:
  • 18. 18 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. DevSecOps: Security negligence impacts Applying security in-depth approach to secure serverless applications is must, especially when dealing with customer data and PII. E N T E R P R I S E S E R V E R L E S S OWASP Serverless Goat: https://github.com/OWASP/Serverless-Goat
  • 19. 19 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. DevSecOps: Shifting security left Improving cloud security posture by shifting security left in software delivery process. E N T E R P R I S E S E R V E R L E S S Open source vulnerability scanner tool: • Helps to discover known vulnerabilities before the code hits the repository via IDE integration • Smoothly integrates with existing CI/CD process • Continuously monitors deployed serverless functions for newly discovered vulnerabilities https://bit.ly/3hCqMup
  • 20. 20 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. DevSecOps: Security in-depth Improving code centric security as well as ensuring runtime security is critical, especially when dealing with customer data. E N T E R P R I S E S E R V E R L E S S • Runtime Protection (Function Self Protection) ü detects and stops application attacks (SQL injection, XSS, etc.) ü profiles function and application behaviour ü detects and prevents an anomaly behaviours • Risk Assessment (Proact) ü scans function before deployment ü detects permissive roles ü detects vulnerable dependencies ü detects hardcoded credentials ü checks rules violation
  • 21. 21 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Tracing, Logging, Monitoring and Alerting Observability is crucial for serverless applications. With its distributed nature, serverless applications can easily span to hundreds of functions calling hundreds of other services. Applying traditional monolith application approaches for serverless observability won’t work. E N T E R P R I S E S E R V E R L E S S AWS X-Ray helps to some extent with distributed tracing, but mainly focused around measuring execution times and identifying performance bottlenecks https://bit.ly/3hCdDS4
  • 22. 22 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Tracing, Logging, Monitoring and Alerting Observability is crucial for serverless applications. With its distributed nature, serverless applications can easily span to hundreds of functions calling hundreds of other services. Applying traditional monolith application approaches for serverless observability won’t work. E N T E R P R I S E S E R V E R L E S S AWS ServiceLens comes to help and bridges the gap between X-Ray and CloudWatch by integrating traces, metrics, logs, and alarms into one place Current limitations: • Trace segments inside Lambda functions are immutable • No way to override segment trace id and parent id • Not suitable for large scale serverless applications
  • 23. 23 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Tracing, Logging, Monitoring and Alerting Observability at scale requires right tools, the state of observability of serverless architecture is critical and will directly impact business performance. E N T E R P R I S E S E R V E R L E S S
  • 24. 24 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Performance: Execution environment Due to the nature of serverless compute performance is not always proportional to cost, it takes time an effort to find a balance for each individual workload E N T E R P R I S E S E R V E R L E S S Warm environment? Find compute Download code Start execution environment InitializationInvoke handler Lambda Service Request Response
  • 25. 25 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Performance: Static initialization Due to the nature of serverless compute performance is not always proportional to cost, it takes time an effort to find a balance for each individual workload E N T E R P R I S E S E R V E R L E S S Cold start is influenced by: • Memory allocation • Size of the function • Static initialization Static initialization is influenced by: • Size of function package • Amount of initialization work
  • 26. 26 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Performance: Optimization strategies Due to the nature of serverless compute performance is not always proportional to cost, it takes time an effort to find a balance for each individual workload E N T E R P R I S E S E R V E R L E S S Code optimization: • Optimise dependencies • Reuse connections • Node.js – minify/uglify (32 times less in size)
  • 27. 27 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Performance: Tuning Due to the nature of serverless compute performance is not always proportional to cost, it takes time an effort to find a balance for each individual workload E N T E R P R I S E S E R V E R L E S S https://bit.ly/30QdBPL
  • 28. 28 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Performance: Tuning Due to the nature of serverless compute performance is not always proportional to cost, it takes time an effort to find a balance for each individual workload E N T E R P R I S E S E R V E R L E S S
  • 29. 29 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Next Level: Operational Excellence There are many frameworks that speed the development of Serverless applications but ultimately the development team uses a full technology stack and follows a set of practices and processes that support high quality, high velocity Agile development. Templates Standard patterns are implemented as templates use in generators to create standardized code. Templates are independently maintained in library. Standard Architectural Patterns Serverless architectures have grown, evolved and coalesced into standardised patterns. We catalogue and apply these patterns in consistant ways to our implementation. Operating Model The team is build for success with the appropriate governance and stakeholders from Deloitte, AWS and the business. Code Snippets A set of curated and consistant code snippets for carrying out standard operations. Frictionless Communication We recognize the importance of communication between the various team members and stakeholders especially when you consider that resources may be drawn from various geographical locations to leverage expertise and economies. Delivery Framework The team works in a well-defined agile delivery framework. Behaviour Driven Development Specifications form the foundations for tests so that there is direct traceability to requirements and in a way that facilitates automation. Team Analytics As an agile team progresses through delivery measurement of team metrics in relation to velocity is key to understanding the levers for continuous improvement Generators We use code generation to implement standard patterns and enforce the use of the standardized serverless framework componentry. Templates and snippets are brought together by generators that free the developer from inconsistent cut-and-paste. Automated Code Review By enforcing pull request and using bots to do linting and test coverage we build quality into the release process. Evangelise and Educate In an environment rooted in traditional development the serverless ways of work, it’s advantage and mix of technologies might not be accepted and embraced so we work with the development teams and the business to make sure serverless is understood. Cross Functional The team is built with a full complement of the roles required for successful serverless cloud development Accelerators Team
  • 30. 30 | © 2020. For information, contact Deloitte Touche Tohmatsu Limited. Operating Models The high performing team will be able to fulfill all the roles described here in a well formed and well governed team. Scrum Master Serverless Development Lead Serverless Developers AWS DevOps Specialist Business Analyst Tester Cloud Architect Product Owner Test Lead Tester Business Analyst / SME Guru Cloud Architect Engagement LeadPractice Manager Development Manager Executive Sponsor Governance Dev Modernisation Program Lead
  • 31. https://bit.ly/32VDHnb Help us to make it better by providing your feedback: