
This video provides an overview of the entire course.
This video demonstrates the sample solution that is used during the whole video series.
• Give an architectural overview of the sample application
• Quickly display the source code pertaining to the sample application
• Run the application
Shows how to author a Dockerfile for the two services of the sample application that are custom built.
• Explain what a Dockerfile is
• Author a Dockerfile for the Java-based application service
• Build the Docker image using the Dockerfile
This video shows how to develop, test, and debug line by line a .NET core application that is running in a container whilst the code is edited in a code editor running natively on the developer’s laptop.
• Create a .NET Core web application in a container
• Enable edit and continue type development inside the container
• Author and run unit tests inside a container
This video shows techniques to minimize the size of a Docker image for a Java-based and a .NET core based application service.
• Explain the benefits of a minimal Docker image
• Modify an existing Dockerfile to a multi-stage version
• Build the Docker image using the multi-stage Dockerfile
In this video, Docker Compose is introduced as a tool that is primarily targeted at running, testing, orchestrating, and troubleshooting a multi-container application on the developer’s machine.
• Describe the main features of the Docker Compose tool
• Use Docker Compose to run the sample application
• Use Docker Compose to stop and start individual services
This video demonstrates introducing the learner to stateless and stateful services and explain what their key differences are
• Contrast the two types of services, stateless on one and stateful on the other
• List the main characteristics of a stateless service
• List the main characteristics of a stateful service
This video explains to the user in some depth why they should create stateless services at all cost
• Point out that stateless services are easy to implement and scale
• Discuss that updating stateless services is easy and straight forward
• Explain that stateless services are the ones that contain most of the business specific logic and algorithms
In the video I reason why it is so extremely hard to build stateful services.
• Explain why we need transactional behavior in a stateful service
• Reason why availability of a stateful service is paramount
• Justify why replication is essential for a stateful service
This video conveys key ingredients that are needed to build a stateful service that is resilient, scalable, durable and fault tolerant
How to make a stateful service scalable
How to make a stateful service durable
How to make a stateful service fault tolerant and resilient
Here we list and discuss the considerations that need to be accounted for when talking about storage that is backing a stateful service
Categorize the criteria to be considered when selecting storage
Explain what latency means in the context of storage
Elaborate on availability and cost of storage
In the first video of the section we are going to explore what sensitive data is, and how we should deal with it in a mission critical, distributed application.
Provide motivation for securing our distributed applications
Explain what sensitive data is
List building blocks of a secure software supply chain
This video presents how to define, create and use secrets when running an application service on Kubernetes.
Introduce Kubernetes secrets
Prepare a simple Kubernetes cluster for development
Define and use Kubernetes secrets
This section shows techniques one can use when dealing with secrets in development.
Recap use of secret on Kubernetes cluster
Create temporary dev secrets and map into application container
Use temporary dev secrets same way as Kubernetes secrets
This video introduces yet another way how developers often have to deal with secrets, namely when they originate in external sources such as AWS IAM, Foxpass or Hashicorp's vault.
Retrieve secrets from a Vault instance
Use external secrets in application
Create entrypoint script for container that retrieves external secrets
The last video of the section about Securing a Distributed Application teaches how content trust works and how one can sign Docker images.
Explain content trust
Setting up a trust sandbox
Work with content trust
The first video of section 4 discusses why logging is important and explains how an application service can be instrumented to produce logging information.
Explain how to log
Instrument a Java application with logging capabilities
Analyze a Python sample application that logs messages
This video shows the user how to implement liveness and readiness probes
Define the two probes, liveness and readiness
Elaborate on how a liveness probe is implemented and configured
Repeat the same for the readiness probe
This video describes some techniques commonly used to cope with external services that are not reliable
Explain that the applications service depends on other external services
Analyze what could possibly go wrong outside of the service
Provide a list of coding recommendations
This video explains ways that allow an application service to be scalable
Explain why to use caching extensively
Promote asynchronous programming and show code example
Discuss additional patterns useful to make services scalable
This last video of the section shows how to use the rolling update deployment technique with Kubernetes which allows for zero downtime updates of your application services
Show, build and deploy a Python app in version 1.
Modify the application to create a version 2
Use rolling update to deploy version 2 causing zero downtime
The first video of section 5 provides a quick review of the main Kubernetes objects such as pods, replica sets, deployments and services.
Describe and deploy a simple pod to single node Kubernetes cluster
Do the same for ReplicaSet and Deployment
Explain and create a Kubernetes service for a Deployment
This video leads through the definition and use of deployment templates for the various components of our sample application
Revisit the architecture of the sample app
Introduce Helm and deploy Kubernetes via Helm
Define and apply Deployment template for the producer
This video demonstrates some of the main features of Kubernetes as a container orchestrator
Explain how to show extensive information about the cluster
Deploy, scale and self-heal a service
Grow the cluster by adding a node
This video shows how the sample application can be deployed into a production ready, fully hosted Kubernetes cluster on Google cloud.
Deploy Kafka, ZooKeeper, Schema Registry and KSQL Server using Helm
Configure Kafka and deploy the producer
Test that the producer is working as expected
The last video of the section introduces two fully hosted Kubernetes offerings in the cloud by Google, called GKE, and by Microsoft, called AKS.
Create a hosted cluster in GKE
Deploy and test a service on this cluster
Create a hosted cluster in AKS
Businesses today need systems that run 24*7. Any outage of such systems means a loss of revenue and reputation. To ensure that things work smoothly, you need Docker and Kubernetes. With the knowledge of how to leverage these tools, you can build resilient, scalable distributed applications.
You'll begin by learning how to Dockerize an existing application. As you progress, you'll learn how to create stateless services and deal with stateful services. The later chapters show you how to secure your distributed applications by building trusted and secure Docker images. As you advance through the course, you'll be shown how to build resilient and scalable services that can cope with failure and recovery quickly from it. You'll learn techniques to scale individual services up and down so that your application responds on demand. After you've developed your application, you'll learn how to deploy it into production by using the Kubernetes Orchestrate tool.
By the end of this course you'll be able to use Docker and Kubernetes to build distributed applications that are scalable, resilient, fault-tolerant, and secure. you'll also able to deploy these applications to any Kubernetes cluster running on any platform on premise or in the cloud.
About the Author
Gabriel N. Schenker has more than 25 years of experience as an independent consultant, architect, leader, trainer, mentor, and developer. Currently, Gabriel works as Senior Curriculum Developer at Confluent after coming from a similar position at Docker. Gabriel has a Ph.D. in Physics, and he is a Docker Captain, a Certified Docker Associate, and an ASP Insider. When not working, Gabriel enjoys time with his wonderful wife Veronicah and his children.