Deploy: Continuous Delivery
In this scenario, you will learn how to achieve fast iteration and continuous delivery with Weave Cloud and Weave Flux.
To ensure that all future changes are released in a reliable and repeatable way across the team, it's important that a Continuous Delivery pipeline is introduced. This ensures that code goes seamlessly from a development environment into production.
As a developer on a DevOps team, you will make a code change to the company microservices-based app, the Sock Shop, push the change to version control, and then automatically deploy the new image to a Kubernetes Cluster. You will use Gitlab in this example for the CI system and the container registry, but remember that Weave Flux is flexible and it works with all of your favourite tools, such as Travis, Jenkins, Docker Registry and Quay.
In this scenario you used Weave Flux to automatically deploy changes to your application to production.
With Weave Cloud view and monitor your microservices from one convenient dashboard, and together with automated continuous delivery built with your favorite tools, deliver high quality code more rapidly.
Weave Scope allows developers to explore application deployments and their dependencies.
Weave Flux manages the automation of deployments, and automatically rolls out new versions if the Docker Image changes.
Prometheus and Weave Cortex automatically aggregates and pushes application metrics to Weave Cloud.
Weave Net enforces secure cross-cloud communication between containers using Kubernetes Network Policy.
Try it in your own infrastructure by following the Weave Cloud guides series.
Step 1 - Sign Up To Weave Cloud
Since you are just getting started working on the company's app, the Sock Shop, you will need to understand how the app works. For this, we'll use Weave Scope, part of Weave Cloud, to explore each microservice and how they communicate with one another.
1. To begin, sign up for Weave Cloud .
2. Select 'Create New Instance...' from the drop down in the header and call it Katacoda.
3. Weave Cloud assigns each new instance a Service Token, which is found on on a panel beneath the help text.
Enter the Service Token in the terminal window. It will be used later in this tutorial when the Weave Scope probes are launched onto your hosts.
The Service Token can always be accessed by clicking on the Settings icon from the header in Weave Cloud.