Coder Social home page Coder Social logo

srmchem / template-building-blocks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slapointe/template-building-blocks

0.0 0.0 0.0 4.21 MB

A tool for deploying Azure infrastructure based on proven practices. Azure building blocks take advantage of the Azure CLI and Azure Resource Manager templates to provision collections of resources as logical units with production-ready settings.

Home Page: https://www.npmjs.com/package/@mspnp/azure-building-blocks

License: Other

JavaScript 98.98% PowerShell 0.98% Shell 0.04%

template-building-blocks's Introduction

Azure Building Blocks       Azure Building Blocks

Azure Building Blocks: Simplifying Resource Deployment

Build status npm version

Important Note: Version 2.1.1 of Azure Building Blocks introduced breaking changes to versions earlier than 2.0.4. Versions earlier than 2.0.4 will no longer function. Please upgrade to version 2.0.4 or greater to continue using Azure Building Blocks.

The Azure Building Blocks project is a command line tool and set of Azure Resource Manager templates designed to simplify deployment of Azure resources. Users author a set of simplified parameters to specify settings for Azure resources, and the command line tool merges these parameters with best practice defaults to produce a set of final parameter files that can be deployed with the Azure Resource Manager templates.

Getting Started

Install the Azure Building Blocks using npm:

npm install -g @mspnp/azure-building-blocks

Verify the version of azure building blocks you are running using the command below. Make sure you are running version 2.0.4 or later.

azbb -V

Then, author an Azure Building Blocks parameter file and run the azbb command line tool.

Documentation

Full documentation for the command line tool and parameter file schema is available on the Wiki.

Examples

Azure Building Blocks parameters to deploy three identical VMs:

"type": "VirtualMachine",
"settings": {
    "vmCount": 3,
    "osType": "windows",
    "namePrefix": "test",
    "adminPassword": "testPassw0rd!23",
    "nics": [{"subnetName": "web"}],
    "virtualNetwork": {"name": "ra-vnet"}
}

The command line tool merges best practice defaults to the parameters as follows:

  • Enables diagnostics on all VMs
  • Deploys the VMs in an availability set
  • All VM disks are managed
  • OS is latest Windows Server 2016 image
  • Public IP created for each VM

To add a scaleset with three identical VMs:

"type": "VirtualMachine",
"settings": {
    "vmCount": 3,
    "osType": "windows",
    "namePrefix": "test",
    "adminPassword": "testPassw0rd!23",
    "nics": [{
        "subnetName": "web",
        "isPublic": false
        }],
    "virtualNetwork": {"name": "ra-vnet"},
    "scaleSetSettings": { }
}

Version history

The list below shows changes introduced with the latest versions.

2.0.4

  • Fixed minor bugs
  • Introduced a more rigorous versioning scheme

2.1.1

  • Introduced breaking changes to versions less than 2.0.4
  • Added standalone load balancer building block
  • Added standalone application gateway building block
  • Changes to VM building block to allow use of pre-existing load balancer and application gateway
  • Added support for 'single-step' disk encryption to VM building block

2.1.2

  • Fixed bug on internal load balancer
  • Added support for 'custom data' to VM building block

2.2.0

  • Added support for Availability Zones and Standard SKU for Load Balancers, Application Gateways, and Public IP Addresses
  • Added support for Availability Zones for virtual machines
  • Added deployment script generation
  • Added NodeJS 10.16.2+ requirement

2.2.1

  • Added missing subscription parameter

2.2.2

  • Fixed AZ CLI parameter issues

2.2.3

  • Fixed Azure Cloud Shell incompatibility

License

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

template-building-blocks's People

Contributors

atoakley avatar rohitsharma-pnp avatar telmosampaio avatar woodp avatar petertaylor9999 avatar bennage avatar alexbuckgit avatar jocontr avatar dependabot[bot] avatar luisgmsft avatar adamboeglin avatar hanzzhang avatar niklasskoldmark avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.