Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 3.56 KB

File metadata and controls

50 lines (29 loc) · 3.56 KB

00 - Setup your environment

This guide is part of the Azure Spring Apps training

In this section, we'll set up everything you need to expeditiously complete the training.


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 Apps instance itself. Use the Deploy to Azure button below.

💡 Use the following settings for deploying the Azure Template:

Deploy to Azure

⏱ The resource provisioning will take some time. Do not wait! Continue with the workshop.

Prerequisites

This training lab requires the following to be installed on your machine:

  • JDK 17

  • 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.

  • The Bash shell. While Azure CLI should behave identically on all environments, shell semantics vary. Therefore, only bash can be used with the commands in this training. To complete this training on Windows, use Git Bash that accompanies the Windows distribution of Git. Use only Git Bash to complete this training on Windows. Do not use WSL, CloudShell, or any other shell.

  • Azure CLI version 2.51.0 or later. You can check the version of your current Azure CLI installation by running:

    az --version

💡 If you try the command above and you see the error bash: az: command not found, run the following command: alias az='az.cmd' and try again.

  • 🚧 The spring extension for Azure CLI. You can install this extension after installing Azure CLI by running az extension add -n spring -y. If the extension is already installed, update it to the latest version by running az extension update -n spring.

💡 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 Apps instance