Chapter 8. A Complete Application
In this chapter, weâll integrate most of what weâve learned so far about Google Compute Engine into a complete cloud application, which weâll deploy and test. In so doing, weâll review and extend concepts from earlier chapters and explore a few new concepts, including the use of containers using Docker and automated deployment using a simple shell script.
Application Concept
When evaluating cloud-computing services (or physical-computing resources, for that matter), itâs often important to understand the relevant performance characteristics. In this chapter, weâll create an application to run distributed tests that tell us something useful about the performance of a compute cluster.
In addition to helping us evaluate performance, this application illustrates several of the concepts presented earlier, such as virtual-machine creation, persistent disks, network configuration, images, and metadata. Weâll also learn about some powerful open source tools and weâll see how easy it is to use open source software with Google Compute Engine.
Requirements
Before jumping into our application design, letâs take a moment to reflect on the problem weâre trying to solve. Hereâs a list of requirements for the app weâll build in this chapter:
- Distributed
- The app should support distributed performance tests (i.e., it should be able to run tests in parallel on an arbitrary number of servers).
- Scalable
- The app should enable efficient testing ...
Get Google Compute Engine now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.