舉報

會員
DevOps for Serverless Applications
Serverlessapplicationsarebecomingverypopularamongdevelopersandaregeneratingabuzzinthetechmarket.ManyorganizationsstrugglewiththeeffectiveimplementationofDevOpswithserverlessapplications.DevOpsforServerlessApplicationstakesyouthroughdifferentDevOps-relatedscenariostogiveyouasolidfoundationinserverlessdeployment.Youwillstartbyunderstandingtheconceptsofserverlessarchitectureanddevelopment,andwhytheyareimportant.Then,youwillgettogripswiththeDevOpsideologyandgainanunderstandingofhowitfitsintotheServerlessFramework.You'llcoverdeploymentframeworkbuildinganddeploymentwithCIandCDpipelinesforserverlessapplications.Youwillalsoexplorelogmanagementandissuereportingintheserverlessenvironment.Intheconcludingchapters,youwilllearnimportantsecuritytipsandbestpracticesforsecurepipelinemanagement.Bytheendofthisbook,youwillbeinapositiontoeffectivelybuildacompleteCIandCDdeliverypipelinewithlogmanagementforserverlessapplications.
最新章節(jié)
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- Summary
- The direction of DevOps with serverless
- The impact of Serverless on Ops
- DevOps Trends with Serverless Functions
品牌:中圖公司
上架時間:2021-07-16 17:29:12
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- Leave a review - let other readers know what you think 更新時間:2021-07-16 17:36:13
- Other Books You May Enjoy
- Summary
- The direction of DevOps with serverless
- The impact of Serverless on Ops
- DevOps Trends with Serverless Functions
- Summary
- Google Functions add-ons
- Azure Functions add-ons
- Warm-up
- Static website
- Monitoring
- Continuous integration and continuous deployment
- Backup and daily tasks
- Controlling the IoT
- Logs Processing and notification
- Video and image processing
- Serverless website
- AWS Lambda use cases
- AWS Lambda use cases and add-ons
- Use Cases and Add-Ons
- Summary
- Do lazy initialization of global variables
- Use global variables to reuse objects in future invocations
- Use dependencies wisely
- Use SendGrid to send emails
- Error reporting
- Local development
- Always delete temporary files
- Do not start background activities
- Signal the completion of function calls
- Code idempotent functions
- Best practices for Google Functions
- Configure host behaviors to better handle concurrency
- Use asynchronous code but avoid blocking calls
- The same function app should not have code for test and production
- functions is defensive
- functions should be be stateless
- Cross-function communication
- Avoid large and long-running functions
- Best practices for Azure functions
- Cost optimizing
- Code for cold and warm containers
- Runtime language
- High availability
- Recursive coding
- Exception handling
- Shorter timeout for dependencies
- Dependency control
- Keep warm containers alive
- Keep the handler independent of business logic
- AWS Lambda best practices
- Lambda in VPC
- Do not persist secrets
- No long-lived credentials
- An IAM role per function
- Security
- Logging
- Deployment
- Monitoring
- Performance testing
- Integration testing
- Unit testing
- Test
- Build
- Source code versioning
- DevOps best practices and troubleshooting for AWS Lambda
- Measure the scale
- Data in motion
- Use messages and queues
- Database connection to RDBMS
- With HTTP – one function per route
- Minimize libraries
- Functions call other functions
- One function one task
- Best practices for Serverless
- Log metrics
- Time to market and the cycle time
- Continuous feedback
- Automate test and source code analysis
- Capture every request
- Version control everything
- Agile development
- Collaboration and tools strategy
- Important aspects of DevOps
- Best Practices and the Future of DevOps with Serverless
- Summary
- Kubeless pros and cons
- Monitoring Kubeless
- Continuous integration with Jenkins
- Serverless logs
- Invoking the function
- Deploying the function
- Creation of the service
- Setting up continuous integration and deployment
- How to set up Kubeless
- Kubeless architecture
- What is Kubeless?
- Adding DevOps Flavor to Kubeless
- Summary
- Best practice
- Monitoring and logging
- Google environments
- Continuous delivery with Google Functions
- Continuous integration and testing
- Source code management
- CI and CD with testing
- Building and testing locally
- Cloud Function using a gcloud command line
- Cloud Functions through the GCP console
- Prerequisites for Cloud Functions
- CI and CD pipelines with Google Functions
- DevOps with Google Functions
- Summary
- OpenWhisk log forwarder
- OpenWhisk actions
- Setting up ELK
- OpenWhisk action logging management
- Activity Log
- Activity Timeline
- Activity Summary
- Dynamic dashboard
- Blue–green deployment
- Canary deployment
- Deployment patterns with OpenWhisk
- Continuous delivery pipeline to OpenWhisk
- Continuous integration and continuous delivery with Serverless Framework
- Configuring the deployment
- Setting up the toolchain and repository integration
- Continuous integration and continuous delivery with OpenWhisk
- A simple OpenWhisk application
- OpenWhisk with Serverless Framework
- Creating a hello world OpenWhisk action
- Building an OpenWhisk application
- Sequences
- Rules
- Actions
- Triggers
- OpenWhisk setup and configuration
- OpenWhisk
- Integrating DevOps with IBM OpenWhisk
- Summary
- Deployment and release
- Testing and static code analysis
- Folder structure
- Source code management
- Best practice
- Integrating with New Relic
- Monitoring the Azure Function
- Logging information via table storage
- Accessing logs through Kudu
- Monitoring and logging
- The deployment dashboard
- Blue-green deployment in Azure Functions
- Setting up a continuous deployment Azure deployment tool
- Continuous deployment to Azure Functions
- Setting up environment variables
- Prerequisites
- Continuous integration with Azure Functions
- Implementing continuous integration and continuous delivery with Azure Functions
- Building a simple Azure function
- DevOps with Azure Functions
- Summary
- Integration of CloudWatch with ELK
- Blue-green deployment
- Deploying CodeDeploy hooks
- Making sure the deployment works fine
- Setting up canary deployment
- Setting up a simple environment
- Canary deployment
- Deployment methods
- Prerequisites
- AWS Lambda pipeline
- Unit testing a deployed application
- Automated testing for Lambda functions
- Setting up Jenkins for a serverless application
- Continuous integration and continuous deployment with Lambda
- Serverless frameworks with AWS CodePipeline
- AWS Lambda with DevOps
- Manual deployment of a Lambda function
- Applying DevOps to AWS Lambda Applications
- Summary
- Deploying and invoking locally
- Invoking locally
- Lambda service and function deployment
- Installation of Serverless Framework
- Setting up AWS access keys
- Resources
- Variables and plugins
- Functions and events
- Services and deployment
- Framework features
- Serverless Framework
- Zappa
- Apex
- Bot builder library
- API builder library
- Command-line library
- ClaudiaJS
- Understanding Serverless Frameworks
- Summary
- DevOps with serverless
- Drawback in implementation
- Complexity with architecture
- Lack of tooling
- Increased complexity
- Serverless drawbacks
- Latency and geolocation improvement
- Low cost
- Highly scalable
- Faster time to market
- Serverless benefits
- Other serverless architectures
- OpenWhisk
- Google Functions
- Azure Functions
- AWS Lambda
- Function as a Service
- Backend as a Service
- Core concept
- Introduction to serverless
- Introducing Serverless
- Reviews
- Get in touch
- Conventions used
- Download the color images
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewer
- About the author
- Contributors
- packt.com
- Why subscribe?
- Packt Upsell
- Dedication
- DevOps for Serverless Applications
- Copyright and Credits
- Title Page
- 封面
- 封面
- Title Page
- Copyright and Credits
- DevOps for Serverless Applications
- Dedication
- Packt Upsell
- Why subscribe?
- packt.com
- Contributors
- About the author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Download the color images
- Conventions used
- Get in touch
- Reviews
- Introducing Serverless
- Introduction to serverless
- Core concept
- Backend as a Service
- Function as a Service
- AWS Lambda
- Azure Functions
- Google Functions
- OpenWhisk
- Other serverless architectures
- Serverless benefits
- Faster time to market
- Highly scalable
- Low cost
- Latency and geolocation improvement
- Serverless drawbacks
- Increased complexity
- Lack of tooling
- Complexity with architecture
- Drawback in implementation
- DevOps with serverless
- Summary
- Understanding Serverless Frameworks
- ClaudiaJS
- Command-line library
- API builder library
- Bot builder library
- Apex
- Zappa
- Serverless Framework
- Framework features
- Services and deployment
- Functions and events
- Variables and plugins
- Resources
- Setting up AWS access keys
- Installation of Serverless Framework
- Lambda service and function deployment
- Invoking locally
- Deploying and invoking locally
- Summary
- Applying DevOps to AWS Lambda Applications
- Manual deployment of a Lambda function
- AWS Lambda with DevOps
- Serverless frameworks with AWS CodePipeline
- Continuous integration and continuous deployment with Lambda
- Setting up Jenkins for a serverless application
- Automated testing for Lambda functions
- Unit testing a deployed application
- AWS Lambda pipeline
- Prerequisites
- Deployment methods
- Canary deployment
- Setting up a simple environment
- Setting up canary deployment
- Making sure the deployment works fine
- Deploying CodeDeploy hooks
- Blue-green deployment
- Integration of CloudWatch with ELK
- Summary
- DevOps with Azure Functions
- Building a simple Azure function
- Implementing continuous integration and continuous delivery with Azure Functions
- Continuous integration with Azure Functions
- Prerequisites
- Setting up environment variables
- Continuous deployment to Azure Functions
- Setting up a continuous deployment Azure deployment tool
- Blue-green deployment in Azure Functions
- The deployment dashboard
- Monitoring and logging
- Accessing logs through Kudu
- Logging information via table storage
- Monitoring the Azure Function
- Integrating with New Relic
- Best practice
- Source code management
- Folder structure
- Testing and static code analysis
- Deployment and release
- Summary
- Integrating DevOps with IBM OpenWhisk
- OpenWhisk
- OpenWhisk setup and configuration
- Triggers
- Actions
- Rules
- Sequences
- Building an OpenWhisk application
- Creating a hello world OpenWhisk action
- OpenWhisk with Serverless Framework
- A simple OpenWhisk application
- Continuous integration and continuous delivery with OpenWhisk
- Setting up the toolchain and repository integration
- Configuring the deployment
- Continuous integration and continuous delivery with Serverless Framework
- Continuous delivery pipeline to OpenWhisk
- Deployment patterns with OpenWhisk
- Canary deployment
- Blue–green deployment
- Dynamic dashboard
- Activity Summary
- Activity Timeline
- Activity Log
- OpenWhisk action logging management
- Setting up ELK
- OpenWhisk actions
- OpenWhisk log forwarder
- Summary
- DevOps with Google Functions
- CI and CD pipelines with Google Functions
- Prerequisites for Cloud Functions
- Cloud Functions through the GCP console
- Cloud Function using a gcloud command line
- Building and testing locally
- CI and CD with testing
- Source code management
- Continuous integration and testing
- Continuous delivery with Google Functions
- Google environments
- Monitoring and logging
- Best practice
- Summary
- Adding DevOps Flavor to Kubeless
- What is Kubeless?
- Kubeless architecture
- How to set up Kubeless
- Setting up continuous integration and deployment
- Creation of the service
- Deploying the function
- Invoking the function
- Serverless logs
- Continuous integration with Jenkins
- Monitoring Kubeless
- Kubeless pros and cons
- Summary
- Best Practices and the Future of DevOps with Serverless
- Important aspects of DevOps
- Collaboration and tools strategy
- Agile development
- Version control everything
- Capture every request
- Automate test and source code analysis
- Continuous feedback
- Time to market and the cycle time
- Log metrics
- Best practices for Serverless
- One function one task
- Functions call other functions
- Minimize libraries
- With HTTP – one function per route
- Database connection to RDBMS
- Use messages and queues
- Data in motion
- Measure the scale
- DevOps best practices and troubleshooting for AWS Lambda
- Source code versioning
- Build
- Test
- Unit testing
- Integration testing
- Performance testing
- Monitoring
- Deployment
- Logging
- Security
- An IAM role per function
- No long-lived credentials
- Do not persist secrets
- Lambda in VPC
- AWS Lambda best practices
- Keep the handler independent of business logic
- Keep warm containers alive
- Dependency control
- Shorter timeout for dependencies
- Exception handling
- Recursive coding
- High availability
- Runtime language
- Code for cold and warm containers
- Cost optimizing
- Best practices for Azure functions
- Avoid large and long-running functions
- Cross-function communication
- functions should be be stateless
- functions is defensive
- The same function app should not have code for test and production
- Use asynchronous code but avoid blocking calls
- Configure host behaviors to better handle concurrency
- Best practices for Google Functions
- Code idempotent functions
- Signal the completion of function calls
- Do not start background activities
- Always delete temporary files
- Local development
- Error reporting
- Use SendGrid to send emails
- Use dependencies wisely
- Use global variables to reuse objects in future invocations
- Do lazy initialization of global variables
- Summary
- Use Cases and Add-Ons
- AWS Lambda use cases and add-ons
- AWS Lambda use cases
- Serverless website
- Video and image processing
- Logs Processing and notification
- Controlling the IoT
- Backup and daily tasks
- Continuous integration and continuous deployment
- Monitoring
- Static website
- Warm-up
- Azure Functions add-ons
- Google Functions add-ons
- Summary
- DevOps Trends with Serverless Functions
- The impact of Serverless on Ops
- The direction of DevOps with serverless
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-07-16 17:36:13