Cloud native¶
Glossary¶
- Java and Microservices
- VMware Tanzu is a business unit helping clients modernize their applications.
- Kubernetes
- Bitnami - Provides pre-packaged images for automated setup of popular server software.
Cloud computing related to AWS, Google Cloud, Azure, involves characteristics defined by NIST such as resource pooling, rapid elasticity, broad network access, allocating on-demand self-service. Demand is measurable.
Cloud native relates more towards structuring applications so that it can be scaled independently on cloud architecture. Also about deploying changes to services (cloud delivery model). Consists of the following four areas invested by companies:
- Devops
- Continuous delivery
- Microservices
- Containers
Example app:
- Cloud serving application
- Microservices for each API
- Avoid application downtime: Dynamically send traffic to alternative cloud host.
- Scalable:
- If serving microservice on restricted set of compute units, can result in errors. Need to provision additional resources to account for peak demand.
- Cloud native platform can independently scale up number of pods to account for increased demand for the microservice. More resilient.
DevOps¶
Development requires designing of infrastructure, communication of requirements. What sort of process pipelining needed?
Continuous delivery: Delivering new changes to clients quickly in a sustainable manner. Can adopt an internal client. Build, Test (CI), Acceptance tests, Staging tests, Deploy to production (manually approved by management), Smoke Tests.
Note
Conway’s Law: Any organization that designs a system will produce a design whose structure is modelled by the organization’s communication model.
As opposed to:
- Discontinuous integration where dev vs ops, QA, security. A lot of unknowns, variables, risk factors (changes in environment, dependencies, etc.).
- Continuous disintegration: Each group has their own individual pipeline.
- Blob pattern: Centralized devops team, with different product development teams with varying integration with the centralized pipeline infrastructure.
- Umbrella:
“The Three Ways” is a set of devops principles:
- “The Phoenix Project”: Value of DevOps through example scenario
- “The DevOps Handbook”: Prescriptive
- “Accelerate: The Science of DevOps”: Interviewing high-performing tech organizations, how to see value in DevOps (annual DevOps survey)
- Principles:
- Work should flow only in one direction
- No known defects should be passed downstream
- Maximize downstream flow
- Principles of feedback:
- Shorten upstream feedback loop
- Continuous learning and experimentation:
- Agile mindset to adapt to changes
- Collaborative culture by experimentation
How to measure effective DevOps? From the DevOps report:
- Software development: Lead time (receive requirements from business)
- Software development: Deployment frequency
- Software deployment: Change failure of software deployment
- Software deployment: Time to restore
- Service operation: Availability
From DevOps Reddit, on how to practice DevOps: “I build my own test environment. Bought a refurbished Dell R710 on eBay. On this server I installed ESXI and deployed out numerous virtual servers for testing and learning.”
DevOps roadmap: https://roadmap.sh/devops
Microservices¶
- Scability: Each service is independent of other services. Scaling demand on specific services.
- Fault isolation: Only individual services are affected
- Zero downtime during updates: Independent update of services
- Quality improvement: A/B testing can be done easily
Philosophies: https://12factor.net/
Containers¶
Docker is a container runtime engine. A container is essentially a package for application + dependencies. These are self-contained, so portable and platform agnostic. Lightweight since there is no guest OS. Fault isolation and immutable image.
Managing containers. Kubernetes is a container orchestration tool.
https://cloud.google.com/kubernetes-engine/kubernetes-comic
Server hardware vs cloud deployments.
VMware courses¶
- Journey to Cloud Native: https://via.vmw.com/journeytocloudnativevccl
- Docker: https://via.vmw.com/dockervccl
- K8s: https://via.vmw.com/k8svccl