ÃÛ¶¹ÊÓÆµ

2.4.1 Configure your environment

Create an Azure Subscription

NOTE
If you already have an Azure Subscription, you can skip this step. Please proceed with the next exercise in that case.

Go to and login with your Azure account. If you don’t have one, please use your personal email address to create your Azure account.

02-azure-portal-email.png

After successful login you’ll see the following screen:

03-azure-logged-in.png

Click on the to left menu and select All Resources, the Azure subscription screen will appear if you are not yet subscribed. In that case select Start with an Azure free Trial.

04-azure-start-subscribe.png

Fill in the Azure subscription form, provide your mobile phone and credit card for activation (you will have a free tier for 30 days and you will not be charged, unless you upgrade).

When the subscription process is finished you are good to go:

06-azure-subscription-ok.png

Install Visual Code Studio

You’ll use Microsoft Visual Code Studio to manage your Azure Project. You can download it via . Follow the installation instructions for your specific OS on that same website.

Install Visual Code Extensions

Install the Azure Functions for Visual Studio Code from . Click the install button:

07-azure-code-extension-install.png

Install Azure Account and Sign-In for Visual Studio Code from . Click the install button:

08-azure-account-extension-install.png

Install node.js

NOTE
If you already have node.js installed, you can skip this step. Please proceed with the next exercise in that case.

macOS

Make sure to have installed first. Follow the instructions .

Node

Once you’ve installed Homebrew, run this command:

brew install node

Windows

Download the directly from the web site.

Verify node.js version

For this module, you need to have node.js version 18 installed. Any other version of node.js may cause issues with this exercise.

Before you continue, please verify your version of node.js now.

Run this command to verify your node.js version:

node -v

If your version is below or above 18, you need to upgrade or downgrade.

Upgrade/Downgrade node.js version on macOS

Ensure that you have the package n installed.

To install the package n, run this command:

sudo npm install -g n

If you version is below or above version 12, run this command to upgrade or downgrade:

sudo n 18

Upgrade/Downgrade node.js version on Windows

Uninstall node.js from Windows > Control Panel > Add or remove programs.

Installing the required version from the website.

Install NPM package: request

You need to install the package request as part of your node.js setup.

To install the package request, run this command:

npm install request

Install Azure Functions Core Tools:

brew tap azure/functions
brew install azure-functions-core-tools@4

Next Step: 2.4.2 Configure your Microsoft Azure EventHub environment

Go Back to Module 2.4

Go Back to All Modules

recommendation-more-help
aeafc5b5-cd01-4e88-8d47-d76c18d7d349