Use Terraform to Deploy an Azure Function App

Lab Steps

lock
Access the CloudAcademy IDE
lock
Create a Terraform template to provision an Azure Function App
lock
Create and Publish Python based Functions

Ready for the real environment experience?

DifficultyIntermediate
Time Limit1h
Students47
Ratings
4.2/5
starstarstarstarstar-border

Description

Terraform is an infrastructure automation tool that allows companies to manage infrastructure through code. This provides many benefits such as greater recovery, predictability, and speed. Infrastructure as code is quickly becoming a standard for managing cloud resources and is widely practiced among the top high performing companies.

In this lab, you'll learn how to use Terraform to provision an Azure Function App which retrieves the current Bitcoin currency exchange rate from CoinDesk. During this lab, you'll be shown how to work with Azure Functions Core Tools, which when installed, provides you with the ability to setup a local development experience for creating and testing Azure Functions locally. You'll finish the lab by using Terraform to publish the locally developed function into an Azure hosted Function App.

Learning Objectives

Upon completion of this intermediate level lab, you'll be able to:

  • Use Terraform to init, plan, and apply Azure infrastructure
  • Use Azure Functions Core Tools to create a local development experience for creating and testing Azure Functions
  • Build and publish an Azure Function App complete with Python3 based functions

Intended Audience

  • Anyone interested in learning how to use Terraform to provision Azure infrastructure
  • Cloud Architects
  • DevOps Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Basic understanding of Azure
  • Basic understanding of Terraform

The following content can be used to fulfill the prerequisite:

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students114832
Labs65
Courses113
Learning paths159

Jeremy is a Content Lead Architect and DevOps SME here at Cloud Academy where he specializes in developing DevOps technical training documentation.

He has a strong background in software engineering, and has been coding with various languages, frameworks, and systems for the past 25+ years. In recent times, Jeremy has been focused on DevOps, Cloud (AWS, GCP, Azure), Security, Kubernetes, and Machine Learning.

Jeremy holds professional certifications for AWS, GCP, Terraform, Kubernetes (CKA, CKAD, CKS).