Giter Club home page Giter Club logo

azure-tools's Introduction

azure-tools

Overview

Collection of random tools for Azure.

Note, some of these scripts assume they're executing in busybox. (cleanup.sh, for example, uses timeout which has different syntax under busybox)

./cleanup.sh

This will delete resource groups whose name contains the first argument.

export AZURE_SUBSCRIPTION_ID=6f368760-9ad2-4aef-8ff1-fb038d2e75bf
./cleanup.sh k8s

# Output:
# DELETE: campbelldgunn-k8s-c0 campbelldgunn-k8s-pr220 k8s-any-1117-1959a49
# SUBSCRIPTION: 6f368760-9ad2-4aef-8ff1-fb038d2e75bf
# CONFIRM ('yes' proceeds, everything else exits):

./make-vhd.sh

This will create and upload a formatted VHD to your storage account/container.

export AZURE_SUBSCRIPTION_ID=6f368760-9ad2-4aef-8ff1-fb038d2e75bf
export AZURE_RESOURCE_GROUP=campbelldgunn-vhds2
export AZURE_STORAGE_ACCOUNT=campbelldgunnvhds2
export AZURE_STORAGE_CONTAINER=campbelldgunnvhds2
export IMAGE_SIZE=10G
export MKFS_TYPE=ext4 # (default: 'ext4'. possible: ['ext4', 'ntfs', 'xfs'])

./make-vhd.sh

# Output:
# ...
# VHD_URL=https://campbelldgunnvhds2.blob.core.windows.net/campbelldgunnvhds2/data-disk-082916103645.vhd

Docker Hub

docker.io/campbelldgunn/azure-tools:latest

azure-tools's People

Contributors

campbelldgunn avatar

Watchers

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