GithubHelp home page GithubHelp logo

jmservera / azure-markeplace-vm-image-demo Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 134 KB

A very simple compose app to run nginx and a static html, for demo purposes with simple vms

License: MIT License

HTML 1.61% Shell 59.55% Bicep 38.85%
image-builder vm-image github-workflow image-gallery

azure-markeplace-vm-image-demo's Introduction

Creating Azure Marketplace Virtual Machine Images [DRAFT]

Build image, template and test

This is a demo of how to create a virtual machine image to publish it in the Azure Marketplace, or in your Image Gallery. It demonstrates how to automate the creation of your image as a GitHub Workflow using GitHub Actions, and uses the Azure Image Builder service to make the image creation easier.

Preparation steps

Before running the Workflow we need to do some preparation:

I have created these two scripts that you need to run inside an cli with the az tool installed. The easiest way of running it is through the cloud shell, just clone this repo and run the two scripts found in the scripts folder.

It is recommended to create an environment in GitHub for storing these secrets.

//TODO: step by step and screenshots

Run the Workflow

The provided workflow will create a very simple machine that serves a web page from an Nginx containerized image. The installation script that will be run by the Image Builder service can be found in this same repo in the vmcode folder. And executes something like this:

curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
apt-get install -y docker-compose 
docker-compose up -d

...

azure-markeplace-vm-image-demo's People

Contributors

jmservera avatar

Watchers

 avatar  avatar

Forkers

lanicolas

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.