You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Reusable Modules:** All code in `infra/modules/network` is designed to be composable and reusable. You should not need to modify code in the modules folder.
8
+
-**Reusable Modules:** All code in `infra/modules/network` is designed to be reusable. You should not need to modify code in the modules folder.
9
9
-**Custom Network File:** For your own solution, create a `network.bicep` in `infra/modules/` that represents your specific network design, using the modules as building blocks.
10
10
11
11
## How to Use the Sample
12
12
13
13
- The sample demonstrates how to deploy a virtual network, subnets, NSGs, Azure Bastion Host, and Jumpbox VM using parameters and reusable modules.
14
-
- You can deploy the sample independently to validate your network design before integrating it into your main solution, modify the infra/modules/network.bicep using the validated and tested design.
15
14
- The sample is parameterized, so you can easily adjust subnet names, address spaces, NSG rules, and delegations.
15
+
- You can design and validate your network design with `infra/samples/network-subnet-design.bicep`, then integrate the code by updating `infra/modules/network.bicep` with your tested design.
16
16
17
17
## Key Features in the Sample
18
18
@@ -26,8 +26,6 @@ This guide explains how to use the sample Bicep program `network-subnet-design.b
26
26
- Example: The `web` subnet allows HTTPS inbound from anywhere; the `app` subnet allows traffic from the `web` subnet, etc.
27
27
-**Bastion and Jumpbox:**
28
28
- Optional Azure Bastion Host and Jumpbox VM are included for secure management access.
29
-
-**Composability:**
30
-
- All modules in `infra/modules/network` are designed to be reused without modification.
31
29
32
30
## Example Workflow
33
31
@@ -38,7 +36,7 @@ This guide explains how to use the sample Bicep program `network-subnet-design.b
38
36
3.**Deploy the Sample:**
39
37
- Use Azure Developer CLI (`azd`) or Azure CLI to deploy the sample and validate your design.
40
38
4.**Integrate into Solution:**
41
-
- Once validated, use the same approach to build your own `network.bicep` in `infra/modules/` for your production solution.
39
+
- Once validated, use the same approach to build your own `network.bicep` in `infra/modules/` for your solution. Test your solution with i`nfra/main.bicep`.
42
40
43
41
## Example Directory Structure
44
42
@@ -49,7 +47,7 @@ infra/
49
47
... (reusable modules)
50
48
network.bicep # <-- your custom network design
51
49
samples/
52
-
network-subnet-design.bicep # <-- sample for reference
50
+
network-subnet-design.bicep # <-- reference
53
51
```
54
52
55
53
## Best Practices
@@ -58,12 +56,3 @@ infra/
58
56
- Reuse modules as much as possible to reduce duplication and improve maintainability.
59
57
- Clearly document subnet address ranges, NSG rules, and any special configuration in comments.
60
58
- Validate your design with Azure best practices for security, scalability, and manageability.
61
-
62
-
## Next Steps
63
-
64
-
- Use this document as a living reference. Update it as your solution and requirements evolve.
65
-
- Refer to the sample and module documentation for advanced scenarios (e.g., private endpoints, delegations, Bastion, Jumpbox).
66
-
67
-
---
68
-
69
-
*This guide is based on the latest comments and structure in `network-subnet-design.bicep`. Update as your solution matures.*
0 commit comments