Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

Install Azure Functions Core Tools on Linux

In this hands-on lab, we install Azure Functions Core Tools on an Ubuntu VM. After that, we will be able to develop and run Azure Functions.

Azure icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 30m
Published
Clock icon Feb 28, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Log in to the Azure Portal

    Log in to the Azure Portal using the username and password supplied by the lab.

    1. Open a browser.
    2. Navigate to the provided Azure Portal URL.
    3. Use the supplied username and password to authenticate.
  2. Challenge

    SSH into the Linux VM

    Starting in the Azure dashboard, perform the following tasks:

    1. Open the navigation menu in the upper-left of the Portal.
    2. Click on All resources.

    Wait for the all resources list to appear.

    In the list, click on the lab-VM resource.

    Wait for the VM overview page to open. On that page, make note of the public IP address.

    Open an SSH client. On Linux, try using Putty or a Bash terminal in Windows Subsystem for Linux. On Windows or Mac, just open a terminal window.

    The following is for using command-line SSH. For Putty, consult how to connect using its documentation.

    SSH into the VM using Putty or the terminal. In a terminal, the command is:

    ssh cloud_user@<ip address of VM>
    

    Accept the fingerprint of the certificate. When asked for a password, use Azure!Funcs!VM to log in.

  3. Challenge

    Install Azure Functions Core Tools

    Execute the following commands one-by-one on the Linux CLI:

    sudo apt-get update -y
    sudo apt-get upgrade -y
    wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
    sudo dpkg -i packages-microsoft-prod.deb
    sudo apt-get update
    sudo apt-get install apt-transport-https -y
    sudo apt-get install dotnet-sdk-2.1 -y
    sudo apt-get install azure-functions-core-tools -y
    
  4. Challenge

    Test That the Azure Function Core Tools Are Properly Installed

    Execute the following command at the terminal:

    func
    

    If successful, it will show a bunch of output and the Azure Functions lightning bolt.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans