- Google Cloud Platform for Architects
- Vitthal Srinivasan Janani Ravi Judy Raj
- 186字
- 2021-06-25 20:48:34
Contrasting containers and VMs

You might recall our short introduction of containers, and Kubernetes, at the start of the previous chapter. We had given the example of a simple web application, with a web app upfront and a database out back. We could start with these hosted on VM instances—but then, as the web app got complicated, we'd likely decompose the code into separate services. This move from a monolithic architecture to a service-oriented one, and finally, perhaps even to one based on microservices, is quite typical of the evolution of such app architectures.
The dependencies between these services would quickly get complicated to manage and, to simplify things, we'd probably decompose the services to rest on separate VMs. Then, at this point, we probably would want a continuous integration/continuous delivery (CI/CD) system, where code artifacts are built and deployed on an on-going basis. There would be little point in including the OS image inside each such artifact. That, in a nutshell, gets us to the idea of containers and their differences from VMs. The following diagram shows how containers are different from VMs:
- MySQL數據庫進階實戰
- Hands-On Data Structures and Algorithms with Rust
- 有趣的二進制:軟件安全與逆向分析
- 揭秘云計算與大數據
- Enterprise Integration with WSO2 ESB
- 大數據Hadoop 3.X分布式處理實戰
- 數據庫原理與應用(Oracle版)
- The Game Jam Survival Guide
- 云數據中心網絡與SDN:技術架構與實現
- Power BI智能數據分析與可視化從入門到精通
- 區塊鏈技術應用與實踐案例
- Web Services Testing with soapUI
- Delphi High Performance
- 領域驅動設計精粹
- MySQL性能調優與架構設計