Tag: Cloud

Last updated by at .

Azure Stack Tools

Setup an Azure Stack Cloud Operator and Developer Workstation Environment

If you are responsable to manage and operate Azure Stack, you will need to enable a couple of tools to manage Azure Stack. This post should give you a summary of what you should do to setup your Azure Stack Operator and Developer workstation environment.

Operating System

Azure Stack Windows Admin Workstation

First of all you should setup a clean base system. I usually use the latest version of Windows 10, right now the latest Windows 10 version is the Fall Creators Update which give you some great features like the OpenSSH client or the Windows Subsystem for Linux build in, or I use Winodws Sevrer 2016 with Desktop Expierence. Make sure you install all the latest updates for Microsoft Update.

Install Visual Studio Code

PowerShell for Visual Studio Code

Visual Studio Code is a new, free, lightweight cross-platform code editor for building modern web and cloud applications on Mac OS X, Linux and Windows. It is perfect for editing JSON files and even writing some code. And it has a built-in Terminal so you don’t have to switch between different windows.

I recommend you install the following Extensions:

Install SSH Client or Windows Subsystem for Linux (WSL)

OpenSSH Windows 10

To manage Linux Virtual Machines running on Azure Stack or if you need to manage the hardware switches in Azure Stack or your border switches where Azure Stack is connected, SSH is the way to access it. Windows 10 now comes with several builtin options like the OpenSSH Client which you can install as addtional feature or for example the Windows Subsystem for Linux (WSL) which allows you to run several linux tools on Windows directly. If you are using another version of Winodws, the thrid party application PuTTY is your friend.

You can also using PowerShell to install it:

Install Azure Stack PowerShell

Install Azure Stack PowerShell

Azure Stack compatible Azure PowerShell modules are required to work with Azure Stack. PowerShell commands for Azure Stack are installed through the PowerShell gallery, you can run the following commands to install it: (Make sure there are no other Azure PowerShell Modules installed, if there are, the commands will remove them). If you also install Visual Studio, install Visual Studio first before you install the Azure Stack PowerShell.

If you need to install it on a machine which does not have access to the internet. check outthe offical Microsoft page: Install PowerShell for Azure Stack

Install Azure Stack tools

Azure Stack Tools

AzureStack-Tools is a GitHub repository that hosts PowerShell modules that you can use to manage and deploy resources to Azure Stack. This brings you several functionalities for Azure Stack management:

  • Deployment of Azure Stack – Helps prepare for Azure Stack deployment.
  • Resource Manager policy for Azure Stack – Constrains Azure subscription to the capabilities available in the Azure Stack.
  • Connecting to Azure Stack – Connect to an Azure Stack instance from your personal computer/laptop.
  • Setting up Identity for Azure Stack – Create and manage identity related objects and configurations for Azure Stack
  • Azure Stack Service Administration – Manage plans and subscriptions in Azure Stack.
  • Azure Stack Compute Administration – Manage compute (VM) service in Azure Stack.
  • AzureRM Template validator – Validate Azure ARM Template Capabilities
  • Azure Stack Infrastructure Administration – Manage Azure Stack Infrastructure

You can get the Azure Stack tools from GitHub:

You can directly open that folder in Visual Studio Code:

Configure Azure Stack PowerShell environment

As an Azure Stack user, you can configure your Azure Stack PowerShell environment. After you configure, you can use PowerShell to manage Azure Stack resources such as subscribe to offers, create virtual machines, deploy Azure Resource Manager templates, etc.

For an Azure Stack deployment which is using Azure Active Directory (AAD) as an Identity provider, you can use the following commands:

Install and configure CLI for use with Azure Stack

Azure CLI

You can also use the Azure CLI 2.0 to manage Azure Stack.

Install Azure CLI on Windows using MSI

To install the CLI on Windows and use it in the Windows command-line, download and run the Azure CLI Installer (MSI).

Install with apt-get for Bash on Ubuntu on Windows (WSL)

  1. Open the Bash shell.
  2. Modify your sources list.
  3. Run the following sudo commands:
  4. Run the CLI from the command prompt with the az command.

Connect to Azure Stack using the Azure CLI

If you are using Public Certificates for your Azure Stack, this is pretty staight forward, if you are using the Azure Stack Development Kit or an Internal CA, make sure your client trusts the Azure Stack CA root Certificate. You can find more here: Install and configure CLI for use with Azure Stack

Register your Azure Stack environment by running the az cloud register command.

Register as a cloud administrative environement:

  1. To register the cloud administrative environment, use:
  2. Set the active environment by using the following commands.
  3. Update your environment configuration to use the Azure Stack specific API version profile. To update the configuration, run the following command:
  4. Sign in to your Azure Stack environment by using the az login command. You can sign in to the Azure Stack environment either as a user or as a service principal.

Register the user environment, use:

  1. To register the user environment, use:
  2. Set the active environment by using the following commands.
  3. Update your environment configuration to use the Azure Stack specific API version profile. To update the configuration, run the following command:
  4. Sign in to your Azure Stack environment by using the az login command. You can sign in to the Azure Stack environment either as a user or as a service principal.

Install the Microsoft Azure Storage Explorer

Azure Stack Azure Storage Explorer

To access and manage Azure Stack Storage Accounts you can also use the Microsoft Azure Storage Explorer tool. Microsoft Azure Storage Explorer (Preview) is a standalone app from Microsoft that allows you to easily work with Azure Storage data on Windows, macOS and Linux.

If you are running the Azure Stack Development Kit, you should again have a look how you get the certificates implace, you can find that here: Connect Storage Explorer to an Azure Stack subscription

  1. Install the Microsoft Azure Storage Explorer
  2. After Storage Explorer  restarts, select the Edit menu, and then ensure that Target Azure Stack is selected. If it is not selected, select it, and then restart Storage Explorer for the change to take effect. This configuration is required for compatibility with your Azure Stack environment.
  3. To connect to the Azure Stack account, select Add an account.
  4. In the Connect to Azure Storage dialog box, under Azure environment, select Use Azure Stack Environment, and then click Next.
  5. To sign in with the Azure Stack account that’s associated with at least one active Azure Stack subscription, fill in the Sign in to Azure Stack Environment dialog box.
    The details for each field are as follows:Environment name: The field can be customized by user.
    ARM resource endpoint: The samples of Azure Resource Manager resource endpoints:For cloud operator:
    https://adminmanagement.-region-.-FQDN-
    For tenant:
    https://management.-region-.-FQDN-
    Tenant Id: Optional. The value is given only when the directory must be specified.

This should help you quickly setup an Azure Stack Cloud Operator Workstation. What other tools do you need to manage and operator your Azure Stack? leave a comment.



Azure Cloud Shell

Azure Cloud Shell – shell.azure.com and in Visual Studio Code

Back in May Microsoft made the Azure Cloud Shell available in the Microsoft Azure Portal. Now you can use it even quicker by just go to shell.azure.com. First you login with your Microsoft account or Work and School account, and if your account is in multiple Azure Active Directory tenants, you select the right tenant and you will be automatically logged in. So even if you are on a PC where you can not install the Azure CLI or the Azure PowerShell module, you can still easily fire up a shell where you can run the Azure CLI, Azure PowerShell and other CLI tools like Docker, Kubectl, emacs, vim, nano, git and more.

In addition you can also open up Azure Cloud Shell directly from Visual Studio Code

Azure Cloud Shell Visual Studio Code

With that, enjoy your holidays and I wish you a good start in the new year!



Thomas Maurer Speaking

Speaking at HPE Discover 2017 Madrid

Today I am happy to announce that I have the honor to speak at HPE Discover in Madrid next week. In a presentation together with HP Enterprise I will talk about how HPE and Microsoft improve the Hybrid Cloud experience using Microsoft Azure Stack.

HPE Discover 2017 Madrid Azure Stack

Building your Azure hybrid cloud business is easier when you work with Hewlett Packard Enterprise

With the release of Azure Stack, now is the time to develop your hybrid cloud business. Hewlett Packard Enterprise and Microsoft have partnered to make it easy for you to accelerate your business by offering Azure-consistent services with HPE ProLiant for Microsoft Azure Stack. Come hear about HPE’s solution for Azure Stack and how HPE can help you develop and grow your Azure business. This session is designed for HPE partners.

I hope to see you next week in Madrid, if you have the chance, step by the HIAG Data booth and ask for me.



Microsoft Azure Backup Agent

Download the Azure Backup Agent

Microsoft works heavily on their Microsoft Azure Recovery Services and releases new features for its Azure Backup software. Some of these new features need a new version of the Azure Backup Agent, or MARS Agent, to work.

Now if you install a new recovery vault in Azure to get started with Azure Backup you will find a link to download the Azure Backup Agent or sometimes you will see warnings in the Azure Backup MMC console with a link to a newer version of the Azure Backup Agent. But if you just want to download the latest MARS Agent, sometimes it is pretty hard to find, so let me help you with this link:

Download Azure Backup Agent

You can also use that file to updated an existing Azure Backup Agent.

By the way, Microsoft Azure Backup now supports Windows System State Backups to Azure.



Speaking at Microsoft Ignite 2017

My impressions from Microsoft Ignite 2017

Okay, I know, Microsoft Ignite 2017 was already a couple of weeks ago. But still, I finally had time to write about my impressions from Microsoft Ignite, after the conference plus my visit in Seattle for the Intelligent Cloud Architect Bootcamp and spending my days in meetings and back at work in Switzerland. Since there is a lot of stuff and important changes coming, I think it is still valid to write about my impressions.

First, I have to say Orlando is great, I really loved spending my time there. This was my second Microsoft Ignite after the first one in Chicago. I have to say, it was very well organized and organizing such a huge conference is definitely not easy.

The Speaking part…

Speaking at Microsoft Ignite 2017 Theater

I had the great opportunity to speak in several Microsoft Ignite sessions and this was huge fun. It is always fun for me to stand in front of a couple of people and show them some stuff I am working on. I not only had the chance to do my Theather session about “Lessons learned from deploying Windows Server 2016”, I also spoke in two breakout sessions about our customer cases focusing on System Center and Storage Spaces Direct.

The Networking part…

One of the most important parts of such a conference is networking with others. The point is that all the videos are going to be online available for later review, but you get time to meet with people from Microsoft, customers and partners, and talk, share and learn from them. The connections you make at such a conference will be helpful in the future, trust me…

The Learning part…

One of the main reasons for me to attend, was to learn. Not only learn about the latest and greatest technology, but also about where the industry is heading. I believe that our industry is heading to one of the biggest changes in history since the transition from Mainframes to client server topology. I think this is not new to most of us, but what is interesting and something I underestimated is, how fast that transition will be going forward. Cloud Computing, AI, Big Data, IoT and modern applications are going to be big topics in the future and technologies like containers and methods like DevOps are going to accelerate this change. My lesson learned from these events is that we all in the industry have to learn much faster and be ready to adapt to change much quicker.

With that, I hope to see you soon at other conferences and events or again at Microsoft Ignite on September 24 – 28 in Orlando, Florida.



Azure Stack

Speaking at the CLOUD 2017 Infrastruktur & Security Congress Switzerland about Azure Stack

I am happy to announce that I will be speaking aht the CLOUD 2017 Infrastruktur & Security Congress Switzerland on October 26 in Zürich. In the session “The Swiss Azure Stack Cloud – bringing Microsoft Azure to Switzerland” I will talk about a project I have worked on in the past year, very closly with our partners Microsoft, HPE and HIAG Data, to bring Microsoft Azure services to Switzerland using Microsoft Azure Stack.

The Swiss Azure Stack Cloud – bringing Microsoft Azure to Switzerland

The Swiss Azure Stack Cloud – bringing Microsoft Azure to Switzerland

 



Azure vs Azure Stack

Speaking at the InfoNet Day 2017 about Azure Stack

I am proud to announce that I will be speaking at the annual InfoNet Day event in Olten, Switzerland on October 31 2017. The event is focused on a technical audience and covers Microsoft topics across the board – cloud, datacenter and workplace. In my session I will speak together with Uwe Luethy from Microsoft Switzerland. The session is called “Microsoft Azure Stack – Hybrid Cloud. The Modern System Architecture”.

Microsoft Azure Stack – Hybrid Cloud. The Modern System Architecture

Microsoft Azure Stack – Hybrid Cloud. The Modern System Architecture

And by the way, Marcel Zehner (MVP) will talk about “Cloud Trends – Microsoft IT Professional Edition” in one of the keynotes. So hopefully see you there.