Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Latest commit

 

History

History
71 lines (53 loc) · 2.68 KB

Assignment5.md

File metadata and controls

71 lines (53 loc) · 2.68 KB

EWU-CSCD396-2023-Fall

Assignment 5

The purpose of this assignment is to solidify your learning of:

  • Cosmos Db
  • Redis Cache
  • Virtual Networks and Subnets
  • Private Endpoint
  • Service Bus

Prerequisites

  • Install C# VS Code Extension

Instructions

Complete the following Tutorials and do not clean up resources until assignment is graded.

  1. Create a Virtual Network ❌✅

  2. Create Azure Cosmos DB Account ❌✅ https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/quickstart-portal

  3. Create a Redis Cache ❌✅ https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-web-app-howto

  4. Create Service Bus

  1. Create a PowerShell script called Assignment5.ps1 on your branch within the Assignment5 folder ❌✅
  • Copy the following text into your PowerShell script and fill in your specific values for the variables
$SubscriptionId = ""
$ResourceGroup = "g"
$VnetName = ""
$CosmosDbAccountName = ""
$CosmosPrivateEndpointName = ""
$WebAppName = ""
$WebAppPrivateEndpointName = ""
$RedisCacheName = ""
$RedisCachePrivateEndpointName = ""
$ServiceBusNamespaceName = ""
$ServiceBusTopicName = ""
$ServiceBusSubscriptionName = ""

Script Grading

You can test if your assignment will pass by running the PS script at Scripts/Assignment5Grading.ps1. Run your Assignment5.ps1 script to set local variables first.

Be sure to install the Az Powershell modules that are listed as dependencies in order to run the script.

Extra Credit

Deploy Azure CDN ❌✅ https://learn.microsoft.com/en-us/azure/cdn/scripts/cli/cdn-azure-cli-create-endpoint?toc=%2Fazure%2Ffrontdoor%2FTOC.json