1
0
Форкнуть 0

Merge branch 'master' of github.com:microsoft/migrate-spring-apps-to-azure-training

This commit is contained in:
Yev Bronshteyn 2020-02-04 23:42:25 -08:00
Родитель 5508d402b7 d68856f70c
Коммит 19d370a9f1
7 изменённых файлов: 68 добавлений и 22 удалений

Просмотреть файл

@ -1,10 +1,17 @@
# 00 - Setup your environment
# Setup your environment
__This guide is part of the [Azure Spring Cloud Migration Lab](../README.md)__
Prerequisites and environment setup.
---
## Creating Azure Resources
To save time, we provide an ARM template for creating all the Azure resources you will need for this lab other than the Azure Spring Cloud instance itself. Use the Deploy to Azure button below.
> 💡 Use the following settings for deploying the Azure Template:
> * Create a new resource group
> * Set West US2 as the location
> * Save password you specify in this step, if you do not use the default. You will need it later in the workshop.

Просмотреть файл

@ -1,5 +1,11 @@
# Migrate a Spring Cloud Application
__This guide is part of the [Azure Spring Cloud Migration Lab](../README.md)__
Provisioning an Azure Spring Cloud instance, configuring diagnostic settings and distributed tracing, building and deploying the application.
---
In this section, we're going to take a pre-existing Spring Cloud application, consisting of four microservices, and migrate it to Azure Spring Cloud in its entirety.
We will use this migrated application in the subsequent section to demonstrate the monitoring, scaling, and tracing capabilities of Azure Spring Cloud.

Просмотреть файл

@ -1,5 +1,11 @@
# Troubleshooting
__This guide is part of the [Azure Spring Cloud Migration Lab](../README.md)__
Using Azure Log Analytics to understand what went wrong.
---
We have successfully migrated the application code to Azure Spring Cloud, but what happens when an application misbehaves?
## Query application logs

Просмотреть файл

@ -1,5 +1,11 @@
# Observability and Scaling
__This guide is part of the [Azure Spring Cloud Migration Lab](../README.md)__
Using Distributed Tracing to understand microservice interactions, scaling out to meet demand.
---
After all the migrations, deployment, and automated deployment pipelines, all our microservices are up and running. But suddenly, something starts misbehaving. Intermittent errors start appearing when some action is taken, but where are they caused? Let's investigate.
## View distributed trace

Просмотреть файл

@ -1,5 +1,11 @@
# Enable Continuous Deployment
__This guide is part of the [Azure Spring Cloud Migration Lab](../README.md)__
Creating automated build and release pipelines with Azure DevOps.
---
A key virtue of Microservices is the ability to continuously and independently test and deploy the changes to each one. In this section, we will set up pipelines to build and deploy one of the Microservices we migrated in Section 2.
## Create an Azure DevOps Project
@ -64,7 +70,7 @@ __Note:__ Instructions marked with 🚧 are necessary only during the preview.
Click on "Stage 1" in the "Stage" box. Change the Stage name to "Deploy to Azure Spring Cloud".
🚧 Cick on "Agent Job" and select "windows-2019" under Agent Specification.
🚧 Click on "Agent Job" and select "windows-2019" under Agent Specification.
Click the "+" sign next to "Agent job" and enter "Azure CLI" in the search box. Then, mouse over "Azure CLI" in the results and click the "Add" button.

Просмотреть файл

@ -1,4 +1,4 @@
# 04 - Enable Blue-Green Deployment
# Enable Blue-Green Deployment
__This guide is part of the [Azure Spring Cloud Migration Lab](../README.md)__

Просмотреть файл

@ -1,5 +1,5 @@
---
page_type: training
page_type: tutorial
languages:
- java
products:
@ -17,36 +17,51 @@ Guidance on onboarding samples to docs.microsoft.com/samples: https://review.doc
Taxonomies for products and languages: https://review.docs.microsoft.com/new-hope/information-architecture/metadata/taxonomies?branch=master
-->
In this workshop, you will migrate a set of Spring microservices to Azure Spring Cloud. In the process,
In this workshop, you will migrate a set of Spring microservices to Azure Spring Cloud. We will be using a modified version of the [Piggy Metrics](https://github.com/sqshq/PiggyMetrics), licensed under MIT license.
## What you should expect
This is not the official documentation but an opinionated training.
It is a hands-on training, and it will use the command line extensively. The idea is to get coding very quickly and play with the platform, from a simple demo to far more complex examples.
After completing all the guides, you should feel confident migrating real-world Spring microservices to Azure Spring Cloud, and implementing a comprehensive and modern DevOps process.
## Symbols
>🛑 - __Manual Modification Required__. When this symbol appears in front of one or more commands, you will need to modify the commands as indicated prior to running them.
>🚧 - __Preview-specific__. This symbol indicates steps that are only necessary while Azure Spring Cloud is in preview.
>💡 - __Frustration Avoidance Tip__. These will help you avoid potential pitfalls.
## Contents
Outline the file contents of the repository. It helps users navigate the codebase, build configuration and any related assets.
### [00 - Prerequisites and Setup](00-setup-your-environment/README.md)
| File/folder | Description |
|-------------------|--------------------------------------------|
| `src` | Sample source code. |
| `.gitignore` | Define what to ignore at commit time. |
| `CHANGELOG.md` | List of changes to the sample. |
| `CONTRIBUTING.md` | Guidelines for contributing to the sample. |
| `README.md` | This README file. |
| `LICENSE` | The license for the sample. |
Prerequisites and environment setup.
## Prerequisites
### [01 - Migrate a Spring Cloud Application](01-migrate-spring-cloud-application/README.md)
Outline the required components and tools that a user might need to have on their machine in order to run the sample. This can be anything from frameworks, SDKs, OS versions or IDE releases.
Provisioning an Azure Spring Cloud instance, configuring diagnostic settings and distributed tracing, building and deploying the application.
## Setup
### [02 - Troubleshooting](02-troubleshooting/README.md)
Explain how to prepare the sample once the user clones or downloads the repository. The section should outline every step necessary to install dependencies and set up any settings (for example, API keys and output folders).
Using Azure Log Analytics to understand what went wrong.
## Running the sample
### [03 - Observability and Scaling](03-observability-and-scaling/README.md)
Outline step-by-step instructions to execute the sample and see its output. Include steps for executing the sample from the IDE, starting specific services in the Azure portal or anything related to the overall launch of the code.
Using Distributed Tracing to understand microservice interactions, scaling out to meet demand.
## Key concepts
### [04 - Enable Continuous Deployment](04-enable-continuous-deployment/README.md)
Provide users with more context on the tools and services used in the sample. Explain some of the code that is being used and how services interact with each other.
Creating automated build and release pipelines with Azure DevOps.
### [05 - Enable Blue-Green Deployment](05-enable-blue-green-deployment/README.md)
Deploying microservices for testing in production without impacting the user experience.
### [Conclusion](99-conclusion/README.md)
## Contributing