@@ -12,71 +12,63 @@ Last updated: 2025-08-27
1212
1313> This scenario is intended to demonstrate rapid temporary file accumulation and disk degradation in Azure Functions.
1414
15+ <details >
16+ <summary ><b >List of References</b > (Click to expand)</summary >
17+
18+ - [ Kudu service overview] ( https://learn.microsoft.com/en-us/azure/app-service/resources-kudu )
19+
20+ </details >
21+
22+ > [ !NOTE]
23+ > Expected Results: <br />
24+ > - Rapid temp file accumulation in ` C:\local\Temp ` <br />
25+ > - Disk decay within 1-2 days <br />
26+ > - Restart clears only partial space due to locked files
1527
1628## Infrastructure Setup
1729
1830- ** App Service Plan (Windows)** - P1v3 tier for high-load testing
19- - See: [ ./terraform-infrastructure/variables.tf] ( ./terraform-infrastructure/variables.tf ) (lines 12-21)
20- - See: [ ./terraform-infrastructure/main.tf] ( ./terraform-infrastructure/main.tf ) (lines 35-45)
31+
32+ ``` terraform
33+ # Service Plan
34+ sku_name = "P1v3"
35+ ```
36+
2137- ** Deployment Method** : Standard deployment (extracted .zip)
22- - See: [ ./terraform-infrastructure/main.tf ] ( ./terraform-infrastructure/main.tf ) (line 115)
38+
2339 ``` terraform
2440 # Force standard deployment instead of mounted package
2541 "WEBSITE_RUN_FROM_PACKAGE" = "0"
2642 ```
43+
2744- ** Application Insights** : Full logging (no sampling)
28- - See: [ ./terraform-infrastructure/main.tf ] ( ./terraform-infrastructure/main.tf ) (lines 47-56)
45+
2946 ``` terraform
3047 # No sampling configured - full logging
3148 sampling_percentage = 100
3249 ```
3350- ** Verbose Diagnostics** : Enabled
34- - See: [ ./terraform-infrastructure/main.tf ] ( ./terraform-infrastructure/main.tf ) (line 118)
51+
3552 ``` terraform
3653 # Enable full diagnostics
3754 "WEBSITE_ENABLE_DETAILED_DIAGNOSTICS" = "true"
3855 ```
56+
3957- ** Storage Logging** : Enabled
40- - See: [ ./terraform-infrastructure/main.tf ] ( ./terraform-infrastructure/main.tf ) (line 124)
58+
4159 ``` terraform
4260 # Log to storage account (increases I/O operations)
4361 "AzureWebJobsDashboard" = azurerm_storage_account.storage.primary_connection_string
4462 ```
45- - ** WEBSITE_RUN_FROM_PACKAGE** : Disabled (set to "0")
46- - See: [ ./terraform-infrastructure/main.tf] ( ./terraform-infrastructure/main.tf ) (line 115)
63+ - ** WEBSITE_RUN_FROM_PACKAGE** : ` Disabled (set to 0) `
4764- ** Key Vault Integration** : Secrets stored in Azure Key Vault
48- - See: [ ./terraform-infrastructure/main.tf] ( ./terraform-infrastructure/main.tf ) (lines 147-193)
4965- ** Managed Identity** : System-assigned identity for Key Vault access
50- - See: [ ./terraform-infrastructure/main.tf] ( ./terraform-infrastructure/main.tf ) (lines 96-98)
51-
52- ## Expected Results
5366
54- - Rapid temp file accumulation in ` C:\local\Temp `
55- - Disk decay within 1-2 days
56- - Restart clears only partial space due to locked files
5767
5868## Deployment Instructions
5969
60- > For detailed deployment instructions including VS Code deployment and Azure DevOps pipeline samples, see the [ DEPLOYMENT.md] ( ./DEPLOYMENT.md ) guide.
61-
62- 1 . Go to the terraform-infrastructure directory:
63- ```
64- cd scenario-1-high-decay/terraform-infrastructure
65- ```
66-
67- 2 . Update the ` terraform.tfvars ` file with your Azure subscription ID and preferred configuration values.
68-
69- 3 . Initialize Terraform:
70- ```
71- terraform init
72- ```
73-
74- 4 . Apply the Terraform configuration:
75- ```
76- terraform apply
77- ```
78-
79- 5 . After infrastructure deployment, follow the deployment approaches in [ DEPLOYMENT.md] ( ./DEPLOYMENT.md ) to publish the function app.
70+ 1 . Please follow the [ Terraform Deployment guide] ( ./terraform-infrastructure/README.md ) to deploy the necessary Azure resources for the workshop.
71+ 2 . After infrastructure deployment, follow the deployment approaches in [ Deployment Guide] ( ./DEPLOYMENT.md ) to publish the function app.
8072
8173## Testing
8274
@@ -86,7 +78,10 @@ Last updated: 2025-08-27
8678
8779> Monitor the function app using:
8880
89- - Azure Portal > Function App > Platform features > Advanced tools (Kudu)
81+ - Azure Portal > Function App > Development Tools > Advanced tools ([ Kudu] ( https://learn.microsoft.com/en-us/azure/app-service/resources-kudu ) )
82+
83+ https://github.com/user-attachments/assets/0e529115-13ae-4a2f-83ad-35c33be8bb67
84+
9085- Application Insights
9186- Azure Monitor metrics
9287
0 commit comments