Giter VIP home page Giter VIP logo

azstartstop's Introduction

Az. Start Stop

Az. Start Stop provides a simple interface to define schedules for stopping and starting your Virtual Machines, helping you reduce your compute cost.

Try it out here!

This solution has been created to address the following key requirements

  • User interface to enable your teams to self-manage their compute cost
  • Install and managed completely within your own Azure tenancy

Example image of Azure Start Stop User Interface

Deployment

Azure (Public)

Deploy to Azure

After installation you'll need to provide VM Contributor and Cost Management Reader permissions to the User Assigned Managed Identity created during deployment.

Enable Authentication

You can lock down access to Az. Start Stop to limit who can change your schedules to users in your Active Directory. In the deployed Function App, open the Authentication blade and select "Add identity provider".

Select Identity Provider "Microsoft". The default settings are fine to limit access to users in your Tenant.

License

This project is licensed under MIT

Contributor Notes

# Rebuild frontend styles
cd styles
npm install
npm run css-build

# Run the frontend
cd frontend
npm run serve

# Run function app
npm install -g azurite
azurite -l /tmp/azurite
func start

# Needed if you want to try out commands from the Azure Portal
az functionapp cors add --name compactcloud-startstop-1 --resource-group compactcloud-startstoptestdeploy --allowed-origins https://portal.azure.com

### How to create a new build
# Build the frontend content
# Note there seems to be an issue building with npm 9.8.0, node v20.5.1,
# I've been building using v18.7.1
npm run build
# We have to do this to bundle the front-end with the function app
copy frontend/dist app/dist
# Carry out the build locally creating a full .squashfs build of the app
func azure functionapp publish compactcloud-example-deploy --build local --build-native-deps

azstartstop's People

Contributors

sg3-141-592 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.