GithubHelp home page GithubHelp logo

brisindo's Introduction

Brisbane Infrastructure DevOps User Group

Overview

All the code from my talks at the Brisbane Infrastructure DevOps User Group.

Deploying PowerShell Universal to Azure Container Instances (ACI) - 27th April 2021

In this talk I demonstrated how to deploy PowerShell Universal to Azure Container Instances (ACI) using Azure Container Regsitry as the repository and Azure Files as the persistent data storage.

Files

📁 PowerShell Universal on ACI
├──📜Dashboard.ps1
├──📜Deploy-Container.ps1
└──🐋dockerfile

Dashboard.ps1

Contains the PowerShell Universal Dashboard code used in the demo.

The demo code requires that you have some virtual machines in the subscription that you deployed the dashboard to.

Deploy the code by logging into PowerShell Universal and completing the steps listed below:

  1. Navigate to Dashboard -> Dashboards -> Create new Dashboard
  2. Provide a name, e.g. Virtual Machine Self Service
  3. Enter the URL /
  4. Turn off Authentication
  5. Turn on AutoDeploy
  6. Click OK
  7. Click Info
  8. Click Edit
  9. Paste in Dashboard Code from Dashboard.ps1
  10. Click Save
  11. Navigate to the homepage

Deploy-Container.ps1

This Azure PowerShell code will deploy PowerShell Universal to Azure Container Instances (ACI).

Requirements:

  • Docker is installed and using Linux Containers
  • You run the code from the root of the folder /PowerShell Universal on ACI

dockerfile

Provides the instructions to build the docker image from Powershell Universal and installs the Az PowerShell Module in the container.

brisindo's People

Contributors

whoggett avatar waynehoggett avatar

Watchers

 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.