Blog Post

Azure Infrastructure Blog
2 MIN READ

(Part-2) Leverage Bicep: Standard model to Automate Azure IaaS deployment

akkoike's avatar
akkoike
Icon for Microsoft rankMicrosoft
Apr 28, 2023

Chapter 2

<< Chapter 1          Chater 3 >>

 

 

  • Tips
    Install extensions from VS Code

    -- Only GitHub Copilot is available for a fee.


    Azure Resource manager Tools Extensions


    Bicep Extensions

     

    Bicep Visualizer


    GitHub Copilot

     

  • Sample code and explanation

    localtemplate/bicep/BICEP at master ยท akkoike/localtemplate (github.com)

    - Application sequence mapping

     

    Based on vNET Hub&Spoke environment. Frequently updated settings were individually defined in JSON configuration files. Azure KeyVault was created first because I wanted to obtain a secure password using the getSecret function. RBAC and Diagnostic Setting are done at the end of the process for extended functions. NSG rules and Azure Firewall ruleset basically stated only the targets that should be allowed. All external communication from Azure VM is configured with a default route through Azure Firewall. Only Log Analytics with AMPLS may not work properly.

    Almost 30 USD / day

     

>> Next Chapter (Traps and Avoidance)

<< Chapter 1

 

Updated May 12, 2023
Version 5.0
No CommentsBe the first to comment