Free

Provision an Azure Storage Table

This IT Pro Challenge virtual lab shows learners how to use the Azure portal to create a Storage Account and update an existing Web Application with a new connection string. As proof of concept, learners will verify that the Web App loaded/read rows in a Storage Table. Learners will also verify that logging is active for the Storage Account.

0
45
M
Time
Beginner
difficulty
1
ceu/cpe

Course Content

No items found.
No items found.
Course Description

In this IT Pro Challenge, learners will understand how to create an Azure Storage Account and add and configure a new connection string for a Web Application using the Azure portal. Learners will use a test application to verify that the Web Application loaded rows in a Storage and table and also read those rows. Learners will use the Azure Command Line Interface (CLI) to verify that logging is active and to download the log file(s). The skills acquired in this lab are useful for careers as a network or system administrator.

Overview

The scenario for this virtual lab is that you are a system administrator, and your company is migrating its document processing system from their on-premise data center to Azure. Your job is to create an Azure Storage Table that will store the document processing history. To do this, you need to create an Azure Storage Account, create an Azure Storage Table within that Storage Account, and activate logging. Then, you need to add a connection string for the Storage Account to a Web Application (provided with the lab). As a proof of concept, you will test the Storage Table you create with the Web App and verify that activity is being logged by viewing the $logs file.

Create a Storage Account

To begin this virtual lab, you first need to sign in to the Azure portal and create an Azure storage account. Then you will add a Storage Table (history) to that storage account, navigate to the Diagnostics logs window of the blade for a provided storage account, and activate read and write logging for the history Storage Table under Table properties.

Update the Web App

Next, you will navigate to the Access Keys page of the storage account that you created in the previous step and copy the connection string for the key1 Access Key. Then you will navigate to the provided Web App blade, open the Application settings page, and add/configure a new connection string (storageConnection). This new connection string is now part of the Web App and has the value of the Storage Account connection string.

Test the Storage Table

Finally, you will test the Storage Table you created and configured (history) by opening a test web page that is provided with the lab. You will load the Storage Table, and you should see that the Web App loaded rows to the Storage Table. You will then verify the Storage Table; you should see that the Web App has read rows from the Storage Table.

Then, you will go back to the Azure portal, launch a Cloud Shell session, and choose Bash (Linux) as the shell type. You will then use the advanced settings to verify that the existing Resource group and Storage account are selected. Then you will create a new File share (bash) and use the following Azure Command Line Interface (CLI) command to verify that logging is active for the Storage Account: key=$(az storage account keys list -n [Storage Account name] -g [resource group name] --query "[*] | [0].value") az storage container show --account-name [Storage Account name] --account-key $[key name] --name "$logs"

NOTE: Storage Account logs are written to a container named $logs, which is hidden unless you specifically identify it on the CLI.

Finally, you will download the Storage Account log file(s) by running the az storage blob download-batch --destination . --source "$logs" --account-name [Storage Account name] --account-key $[key name] command. If you were successful, you should see log data in the $logs file.

Summary Conclusion

By taking this virtual lab, you will learn how to provision an Azure Storage Account, create a table in that Storage Account, update a Web Application to use a new connection string that works with the Storage Account, and test the table with the custom Web app by viewing the $logs file.

This course is part of a Career Path:
No items found.

Instructed by

No items found.
Provider
Cybrary Logo
Certification Body
Certificate of Completion

Complete this entire course to earn a Provision an Azure Storage Table Certificate of Completion

Coming mid-July
Cybrary Reimagined.
Level up with structured, role-aligned career paths.
ALL NEW!
Cybrary Reimagined.
Celebrate Cybersecurity Awareness Month with our buy 2, get 1 offer!
Level up with structured, role-aligned career paths.
Valid until October 31. Elevate your skills today!
Start Now

Heading

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

This is some text inside of a div block.
Share

Purpose Statement

Cybrary Career Paths are comprehensive training programs designed to prepare you for the most in-demand roles in the cybersecurity workforce. Each path follows a Learn, Practice, Prove model and includes different activity types aligned to key topics within the path’s security domain. As you progress through the path, your progress will be measured in real time using Experience Points (XP) that serve as a comprehensive capability score for each topic. Upon completing all of the requirements for a path, you will be rewarded with a shareable digital badge via Credly.
This is some text inside of a div block.
This is some text inside of a div block.
M
Time
This is some text inside of a div block.
difficulty
This is some text inside of a div block.
ceu/cpe

Overview

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

Frequently Asked Questions
No items found.
What Will I Learn?
Foundations
Focused on the core IT competencies that cybersecurity professionals need to succeed in any career path.
Defensive Security
Focused on trying to find the bad guys. Topics such as threat intelligence, threat hunting, network monitoring, incident response. Defensive security is a reactive measure taken once a vulnerability is found through prevention, detection, and response.
Engineering and Operations
Focused on building and operating information systems.
Governance, Risk, and Compliance
Focused on the core IT competencies that cybersecurity professionals need to succeed in any career path.
Leadership and Management
Focused on program design and oversight. Covers project and program management.
Offensive Security
Focused on validating security controls by trying to break them (i.e. penetration testing or ethical hacking). Topics such as Kali Linux, metasploit, scanning, and privilege escalation. Offensive security seeks out the problem or vulnerability through ethical hacking and finds a solution to disable the operation.
Offensive Security
Focused on the core IT competencies that cybersecurity professionals need to succeed in any career path.
Path Outline

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

Course Outline

No items found.
No items found.
No items found.

What Our Learners Are Saying

Join 3 million+ users, including 96% of Fortune 1000 companies who use our platform to upskill their teams. See what the buzz is about - start learning for free!

No items found.