Skip to Content

Enable Microsoft Azure Cloud Shell

test
0 %
Enable Microsoft Azure Cloud Shell
Details

Enable Microsoft Azure Cloud Shell

2019-11-20
Enable the Microsoft Azure Cloud Shell within the Microsoft Azure Portal.

You will learn

  • How to set up your Azure account to use the Azure Cloud Shell
  • Why using the Azure Cloud Shell is often useful

Prerequisites

In this tutorial, you will prepare your Azure Cloud Shell, which you will use later to deploy an application to the SAP Cloud Platform Cloud Foundry environment.

In addition to SAP Cloud Platform services, this application will also use Azure services. The Open Service Broker API is used to provision these Azure services and bind them to the application (and possibly delete them later). There are similar use cases for Open Service Broker usage for other Cloud Service Provider, not only for Azure services. The responsible component, running on SAP Cloud Platform Cloud Foundry leveraging the Open Service Broker API, is called service broker.

IMPORTANT INSTRUCTIONS

Please note two basic details in this tutorial. If you follow these, you won’t have any problems getting to the end successfully.

  • Do not execute any commands in your local terminal on your machine. All commands have to be executed in the Azure Cloud Shell! A local terminal is not used in these tutorials.

If you don’t have an Azure subscription yet, no problem. You can easily register and as soon as you provide your credit card information, you will be granted 200 US dollars in credits that you can use for this tutorial and beyond. Only when you have exhausted this amount do you have to pay.


Step 1: Log into the SAP Community

Register or log into the SAP Community. This will allow you to track the progress of the tutorials.

Log on
Log on to answer question
Step 2: Log into your Microsoft Azure account

Open a new incognito window using Google Chrome and navigate to the Microsoft Azure Cloud Shell: https://shell.azure.com

inkognito-window

The Microsoft Azure Cloud Shell is your entry point to build, manage, and monitor everything from simple web apps to complex cloud applications in a unified way on a command line.

Please use the credentials for your own trial/productive account for this and the following tutorials. If you don’t have an account yet, please register here.

Log on to answer question
Step 3: Launch Azure Cloud Shell

Launch the Azure Cloud Shell by clicking on the highlighted control below:

launch azure shell

If you have already used the Azure Cloud Shell in your account, this step is not needed and the Azure Cloud Shell is ready to use.

If you are using the Azure Cloud Shell for the first time, you will see the following message.

no storage mounted

Click on Show advanced settings to be able to choose names for the Storage Account and File share instead of generated IDs.

show advanced settings

Keep the values for Subscription and Cloud Shell Region as they are. Choose Create new for Resource Group, Storage Account and File Share (as shown below) and enter the following values:

Field Name Value
Resource Group SAPTechEd
Storage Account storageaccount4tutorial
File Share fileshare4tutorial
new resource group

To finish the Azure Cloud Shell setup, click Create storage.

click on button Create storage

Your Azure Cloud Shell is now ready to go.

Log ouput Azure Cloud Shell

Please make sure you only use the option Bash and not PowerShell. Some commands in the following tutorials will only work with bash.

only use bash instead of PowerShell
Log on to answer question
Step 4: Test your setup

To verify that your Azure Cloud Shell is working, navigate to your home directory.

Do this by executing the following commands in the Azure Cloud Shell:

cd ~

Then, print the name of the directory by executing the following the command:

pwd
home directory
In the box below, copy the path that was printed to your shell by executing the pwd command.
×

Next Steps

Back to top