Code Monkey home page Code Monkey logo

automatedhcmsetup's Introduction

Azure hybrid connection automated setup

Code is as-is, no warranties, etc.

The script automates the provisioning of a new Azure hybrid connection including โ€”

  • Creation of a service bus relay namespace and hybrid connection.
  • Configuration of an existing Azure web app to use the newly created connection.

Usage

  1. Navigate to the Azure portal.
  2. Open the cloud shell.
    • When prompted, be sure to select Bash, not Powershell.
  3. Clone this repository within the cloud shell.
    • git clone https://github.com/caseywatson/AutomatedHcmSetup.git
  4. Navigate to the cloned repository's directory.
    • cd AutomatedHcmSetup
  5. Allow the script to be executed.
    • chmod +x ./create-hc.sh
  6. Run the script. Refer to the table below for more information on using script parameters.
    • ./create-hc.sh -g <resource group name> -w <web app name> -n <connection name> -e <connection endpoint>
Parameter Flag Description
Resource group name -g The name of the resource group in which the relay and connection will be deployed. This must be the same resource group that the web app (-w) is deployed to.
Web app name -w The name of the Azure web app that the hybrid connection should be assigned to. This web app must already exist in the resource group provided through the resource group name (-g) parameter.
Connection name -n The name of the hybrid connection. All related resources created by this script will be prefixed with this identifier.
Connection endpoint -e The hybrid connection endpoint (including host name and port) as defined in this article.

Tip: Want to run this script as part of an automated pipeline? Include the -q flag to run this script quietly. The only script output will be the HCM connection string which can be redirected to a file or collected as part of an automated deployment tool like Azure Pipelines. Happy Holidays, Manish. ๐ŸŽ๐Ÿ˜‰

automatedhcmsetup's People

Contributors

caseywatson avatar

Watchers

 avatar  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.