Welcome!

Microservices Expo Authors: Liz McMillan, Pat Romanski, Elizabeth White, Mehdi Daoudi, Yeshim Deniz

Related Topics: @DevOpsSummit, Java IoT, Microservices Expo, @CloudExpo

@DevOpsSummit: Blog Post

The Art of DevOps | @DevOpsSummit [#DevOps #Containers #Microservices]

Important risk analysis must be performed during the initial requirements gathering during each sprint

The Art of DevOps | Part 3

In this 4-part blog series, I am exposing DevOps best practices using a metaphor inspired by the famous 6th century Chinese manuscript: "The Art of War." It is worth reminding that Sun Tzu, just like me, considered war as a necessary evil, which must be avoided whenever possible. What are we fighting for here? Ultimately, we're fighting for the absolute best services and features that we can deliver to our customers as quickly as we possibly can, and to eliminate the "War Room" scenario we are all so familiar with.

When we last left off, the troops had deployed the build from the Islands of Development to the Staging Grounds. The environments have been outfitted with extensive application monitoring tools and prepared for testing that exposes the battle readiness of the build. Ultimately each build must be exhaustively tested to help ferret out issues that regularly infiltrate user scenarios, UI, high concurrent use, performance, security, disaster recovery, processes, infrastructure and any other function that affects successful operations.

Uncovering issues in the build accomplishes the primary objective in the Staging Grounds. Important risk analysis must be performed during the initial requirements gathering during each sprint. Risks must be assessed regarding how each addition or change in the sprint will affect the overall operation. Because not every change is created equal, the level of risk each change poses will determine:

  • What should be tested
  • The priority in which to build the automated test cases
  • How comprehensive the testing should be around the change
  • Data that may be needed to exercise the identified risks
  • Configuration change effects
  • Number of possibilities to consider when testing the build. This may include but is not limited to:
    • Geographical placement of the tests
    • Consumers such as:
      • Desktop browsers
      • Native Mobile Applications
      • Thick clients
      • Browser versions
    • Business Continuity & Disaster Recovery Scenarios
    • Login users, roles and rights
    • Workflow paths
    • Operating Systems

Constructing the automated testing can be challenging, time-consuming and expensive. While automation in testing adds to the defenses, it also introduces new complexities. Automated test cases must be maintained and updated; therefore, automation cases should be scrutinized for their overall value and return on investment. Automation in testing acts as a supplemental guard to manual testing and will often be evolutionary. A solid feedback loop between operations and development is crucial to improving the automated tests within the delivery pipeline. Ideally the automation should decrease the time to identify an issue and enable troops to focus manual test cases on more obscure and valuable scenarios. As a best practice all test cases identified should be tracked and managed in a Test Case manager like Zephyr, Silk Central or TestRail, to name just a few. Moreover, the system that is chosen must integrate with the requirements tracking tool. This will maintain traceability by linking the test cases with the requirements throughout the lifecycle. For example, Zephyr is the native test case manager used in conjunction with Jira.

As for the staging environments, the infrastructure should be as close to imitating the infrastructure found in the Operational Battlefield. This will ensure that all testing performed is relevant and test results will accurately predict what's to be expected in operations. Troops should also, when deemed effective, establish new virtual machines using baseline images and apply version controlled configuration templates executed by the same configuration management tools found in the Islands of Development. The following types of performance tests are then performed in the Staging Grounds:

A host of software options are available for our arsenal and affords many of the automation functions mentioned above. A few common tools embraced are Selenium, Load Runner and Visual Studio Test. Larger and far more comprehensive testing for web sites can be executed using platform services such as Dynatrace Synthetic Monitoring - a global network of machines that provide most of the testing variations reviewed earlier. Batteries of tests can be authored in this SaaS environment and directed to hit the Staging Grounds with a vengeance. A global simulation emulates a vast number of end users, using a diverse set of desktop configurations and mobile devices that are located across the world. Traffic patterns can be increased to introduce high volumes of concurrent users and attain accurate real world effects on the staged build. Leveraging these automated testing techniques in combination with a highly focused set of manual tests offers the optimal atmosphere for uncovering issues.

Click here for the full article.

More Stories By Brett Hofer

Brett Hofer is as passionate about DevOps as he is about music and art. Specializing in delivering complex mission critical software under methodologies such as Agile, Lean and Waterfall (to name a few), his success at managing and delivering projects with complex technical and political challenges is almost legendary. More than twenty years of broad software/IT experience—from product designer and solution architect to senior management—has given him a unique 360° perspective on IT that has earned the respect of customers and peers alike. Tweet him at @brett_solarch

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Microservices Articles
The explosion of new web/cloud/IoT-based applications and the data they generate are transforming our world right before our eyes. In this rush to adopt these new technologies, organizations are often ignoring fundamental questions concerning who owns the data and failing to ask for permission to conduct invasive surveillance of their customers. Organizations that are not transparent about how their systems gather data telemetry without offering shared data ownership risk product rejection, regu...
Containers and Kubernetes allow for code portability across on-premise VMs, bare metal, or multiple cloud provider environments. Yet, despite this portability promise, developers may include configuration and application definitions that constrain or even eliminate application portability. In this session we'll describe best practices for "configuration as code" in a Kubernetes environment. We will demonstrate how a properly constructed containerized app can be deployed to both Amazon and Azure ...
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm. In their Day 3 Keynote at 20th Cloud Expo, Chris Brown, a Solutions Marketing Manager at Nutanix, and Mark Lav...
The now mainstream platform changes stemming from the first Internet boom brought many changes but didn’t really change the basic relationship between servers and the applications running on them. In fact, that was sort of the point. In his session at 18th Cloud Expo, Gordon Haff, senior cloud strategy marketing and evangelism manager at Red Hat, will discuss how today’s workloads require a new model and a new platform for development and execution. The platform must handle a wide range of rec...
The Internet of Things is clearly many things: data collection and analytics, wearables, Smart Grids and Smart Cities, the Industrial Internet, and more. Cool platforms like Arduino, Raspberry Pi, Intel's Galileo and Edison, and a diverse world of sensors are making the IoT a great toy box for developers in all these areas. In this Power Panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists discussed what things are the most important, which will have the most profound e...
If your cloud deployment is on AWS with predictable workloads, Reserved Instances (RIs) can provide your business substantial savings compared to pay-as-you-go, on-demand services alone. Continuous monitoring of cloud usage and active management of Elastic Compute Cloud (EC2), Relational Database Service (RDS) and ElastiCache through RIs will optimize performance. Learn how you can purchase and apply the right Reserved Instances for optimum utilization and increased ROI.
TCP (Transmission Control Protocol) is a common and reliable transmission protocol on the Internet. TCP was introduced in the 70s by Stanford University for US Defense to establish connectivity between distributed systems to maintain a backup of defense information. At the time, TCP was introduced to communicate amongst a selected set of devices for a smaller dataset over shorter distances. As the Internet evolved, however, the number of applications and users, and the types of data accessed and...
Consumer-driven contracts are an essential part of a mature microservice testing portfolio enabling independent service deployments. In this presentation we'll provide an overview of the tools, patterns and pain points we've seen when implementing contract testing in large development organizations.
In his session at 19th Cloud Expo, Claude Remillard, Principal Program Manager in Developer Division at Microsoft, contrasted how his team used config as code and immutable patterns for continuous delivery of microservices and apps to the cloud. He showed how the immutable patterns helps developers do away with most of the complexity of config as code-enabling scenarios such as rollback, zero downtime upgrades with far greater simplicity. He also demoed building immutable pipelines in the cloud ...
You have great SaaS business app ideas. You want to turn your idea quickly into a functional and engaging proof of concept. You need to be able to modify it to meet customers' needs, and you need to deliver a complete and secure SaaS application. How could you achieve all the above and yet avoid unforeseen IT requirements that add unnecessary cost and complexity? You also want your app to be responsive in any device at any time. In his session at 19th Cloud Expo, Mark Allen, General Manager of...