This guide is part of the Azure Spring Cloud training
Setting up all the necessary prerequisites in order to expeditiously complete the lab.
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.
- In the location field, select the nearest region from the list of regions where Azure Spring Cloud is available.
- Save the MySQL password you specify in this step. You will need it in section 6. If you don't set one, it will be
super$ecr3t
.
⏱ The resource provisioning will take some time. Do not wait! Continue with the workshop.
This training lab requires the following to be installed on your machine:
-
A text editor or an IDE. If you do not already have an IDE for Java development, we recommend using Visual Studio Code with the Java Extension Pack.
-
Azure CLI version 2.0.80 or later. You can check the version of your current Azure CLI installation by running:
az --version
-
The Bash shell. While Azure CLI should behave identically on all environments, some shell semantics may need to be modified for use with other shells. To complete this training on Windows, use Git Bash that accompanies the Windows distribution of Git.
-
The
jq
utility. On Windows, download this Windows port of JQ and add the following to the~/.bashrc
file (create the file from scratch if it does not exist):alias jq=<JQ Download location>/jq-win64.exe
-
🚧 The
spring-cloud
extension for Azure CLI. You can install this extension after installing Azure CLI by runningaz extension add -n spring-cloud -y
.
💡 In sections 9 and 10, you will access the UI of the Microservice applications in a web browser. Use the new Edge, Google Chrome, or Firefox for these sections.
The environment variable JAVA_HOME
should be set to the path of the JDK installation. The directory specified by this path should have bin
, jre
, and lib
among its subdirectories. Further, ensure your PATH
variable contains the directory ${JAVA_HOME}/bin
. To test, type which javac
into bash shell ensure the resulting path points to a file inside ${JAVA_HOME}/bin
.
You can then use Visual Studio Code or an IDE of your choice.
➡️ Next guide: 01 - Create an Azure Spring Cloud instance