Book Image

Architecting Cloud Native Applications

By : Kamal Arora, Erik Farr, John Gilbert, Piyum Zonooz
Book Image

Architecting Cloud Native Applications

By: Kamal Arora, Erik Farr, John Gilbert, Piyum Zonooz

Overview of this book

Cloud computing has proven to be the most revolutionary IT development since virtualization. Cloud native architectures give you the benefit of more flexibility over legacy systems. This Learning Path teaches you everything you need to know for designing industry-grade cloud applications and efficiently migrating your business to the cloud. It begins by exploring the basic patterns that turn your database inside out to achieve massive scalability. You’ll learn how to develop cloud native architectures using microservices and serverless computing as your design principles. Then, you’ll explore ways to continuously deliver production code by implementing continuous observability in production. In the concluding chapters, you’ll learn about various public cloud architectures ranging from AWS and Azure to the Google Cloud Platform, and understand the future trends and expectations of cloud providers. By the end of this Learning Path, you’ll have learned the techniques to adopt cloud native architectures that meet your business requirements. This Learning Path includes content from the following Packt products: • Cloud Native Development Patterns and Best Practices by John Gilbert • Cloud Native Architectures by Erik Farr et al.
Table of Contents (24 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Index

Isolated testing


Testing is no longer a phase—it is an integral part of the cloud-native CI/CD pipeline. We are decoupling deployment from release and controlling the batch size of each deployment so that we can minimize the risk of each deployment and thereby increase the pace of deployments to many times per day. To achieve the desired pace with confidence, the test suites must execute within the CI/CD pipeline without creating a bottleneck. In Chapter 6, Deployment, our modern CI/CD pipeline executes all tests on every push to a given branch. This includes both unit testing and integration testing. As we will discuss in the Transitive testing section, this effectively includes end-to-end testing as well.

To accomplish this objective, all testing must be isolated to the component under test. The CI/CD pipeline cannot rely on the presence of any resources outside the pipeline itself. The tests must be completely self-contained. Fortunately, our cloud-native systems are composed of bounded...