Skip to content

Scripts and tools that help customers use Azure and Azure Stack

License

Notifications You must be signed in to change notification settings

vikasnav/AzureStack-Tools

 
 

Repository files navigation

Azure Stack Technical Preview Version

These tools are meant for use with Azure Stack Technical Preview 3 Refresh. Azure Stack Technical Preview 3 (March build) users can still use the tools in the TP3.N.

A few notes for this release:

  • Default ARM endpoints have changed in this release.
  • Tools have been updated to include an EnvironmentName parameter.
  • Make sure to use the the Net35 parameter when uploading a Server 2016 image for use with deploying the PaaS services

Tools for using Azure and Azure Stack

To use these tools, obtain Azure Stack compatible Azure PowerShell module. Unless you've installed from other sources, one way to do it is to obtain from public package repositories as follows. Note that both of these could still be used to operate against Azure as well as Azure Stack, but may lack some of the latest Azure features.

For PowerShell, install the following:

Install-Module -Name 'AzureRm.Bootstrapper' -Scope CurrentUser
Install-AzureRmProfile -profile '2017-03-09-profile' -Force -Scope CurrentUser
Install-Module -Name AzureStack -RequiredVersion 1.2.9 -Scope CurrentUser

Obtain the tools by cloning the git repository.

git clone https://github.com/Azure/AzureStack-Tools.git --recursive
cd AzureStack-Tools

Otherwise download the tools as follows:

invoke-webrequest https://github.com/Azure/AzureStack-Tools/archive/master.zip -OutFile master.zip
expand-archive master.zip -DestinationPath . -Force
cd AzureStack-Tools-master

Instructions below are relative to the root of the repo.

Constrains Azure subscription to the capabilities available in the Azure Stack.

  • Apply Azure Stack policy to Azure subscriptions and resource groups

Helps prepare for Azure Stack deployment.

  • Prepare to Deploy (boot from VHD)
  • Prepare to Redeploy (boot back to original/base OS)

Connect to an Azure Stack instance from your personal computer/laptop.

  • Connect via VPN to an Azure Stack installation
  • Configure Azure Stack PowerShell environment
  • Prepare new subscriptions for use in PowerShell and CLI

Create and manage identity related objects and configurations for Azure Stack

  • Create Service Principals in a disconnected topology

Manage plans and subscriptions in Azure Stack.

  • Add default (unlimited) plans and quotas so that tenants can create new subscriptions

Manage compute (VM) service in Azure Stack.

  • Add VM Image to the Azure Stack Marketplace

Manage Azure Stack Infrastructure

  • Get Infrastructure Roles
  • Get Infrastructure Role Instances
  • Start Infrastructure Role Instance
  • Stop Infrastructure Role Instance
  • Restart Infrastructure Role Instance
  • Get Storage Capacity
  • Get Storage Shares
  • Get Scale Unit
  • Get Scale Unit Node
  • Get Gateway Pool
  • Get Gateway
  • Get SLB MUX
  • Get IP Pool
  • Add IP Pool
  • Get MAC Address Pool
  • Get Logical network
  • Get Alert
  • Close Alert
  • Get Update Region Summary
  • Get Update
  • Apply Update
  • Get Update run

Validate Azure ARM Template Capabilities

  • resources - Types, Location, Apiversion
  • Compute Capabilities - extensions, images, sizes
  • Storage Capabilities - skus

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

About

Scripts and tools that help customers use Azure and Azure Stack

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%