mountainss Cloud and Datacenter Management Blog

Microsoft SystemCenter blogsite about virtualization on-premises and Cloud


Leave a comment

Microsoft Azure #CloudShell Overview with #Bash CLI 2.0 and #Powershell #Azure #DevOps

Azure Powershell in the Portal

Azure Cloud Shell is an interactive, browser-accessible shell for managing Azure resources. It gives you the flexibility of choosing the shell experience that best suits the way you work. Linux users can opt for a Bash experience, while Windows users can opt for PowerShell.

At the left corner you can change from Powershell Cmd to Bash

Bash with Azure CLI 2.0 

Features
Browser-based shell experience
Cloud Shell enables access to a browser-based command-line experience built with Azure management tasks in mind. Leverage Cloud Shell to work untethered from a local machine in a way only the cloud can provide.

Choice of preferred shell experience
Azure Cloud Shell gives you the flexibility of choosing the shell experience that best suits the way you work. Linux users can opt for a Bash experience, while Windows users can opt for PowerShell.

Pre-configured Azure workstation
Cloud Shell comes pre-installed with popular command-line tools and language support so you can work faster.

View the full tooling list for Bash experience and PowerShell experience.

Automatic authentication
Cloud Shell securely authenticates automatically on each session for instant access to your resources through the Azure CLI 2.0 or Azure PowerShell cmdlets.

Connect your Azure File storage
Cloud Shell machines are temporary and as a result require an Azure Files share to be mounted as clouddrive to persist your $Home directory. On first launch Cloud Shell prompts to create a resource group, storage account, and file share on your behalf. This is a one-time step and will be automatically attached for all sessions. A single file share can be mapped and will be used by both Bash and PowerShell in Cloud Shell.

I like Microsoft Azure CLI 2.0 in the Cloud Shell and here you find a CLI 2.0 command line reference guide.

In the following step-by-step examples ( in Bash and Powershell ) you will see how easy it is to make an Azure Container Instance in the Cloud.
we begin with starting Bash Shell from the Azure Portal.

When you run Cloud Shell for the first time it will create a Cloud Drive of 5GB.

Cloud Shell machines are temporary and as a result require an Azure Files share to be mounted as clouddrive to persist your $Home directory. On first launch Cloud Shell prompts to create a resource group, storage account, and file share on your behalf. This is a one-time step and will be automatically attached for all sessions. A single file share can be mapped and will be used by both Bash and PowerShell in Cloud Shell.

Create Storage for your CloudDrive

A locally-redundant storage (LRS) account and Azure Files share can be created on your behalf. The Azure Files share will be used for both Bash and PowerShell environments if you choose to use both. Regular storage costs apply.

  • Cloud Shell runs on a temporary machine provided on a per-session, per-user basis
  • Cloud Shell times out after 20 minutes without interactive activity
  • Cloud Shell can only be accessed with a file share attached
  • Cloud Shell uses a the same file share for both Bash and PowerShell
  • Cloud Shell is assigned one machine per user account
  • Permissions are set as a regular Linux user (Bash)

az container create -h

With this command you see the options to create a Container Instance in Microsoft Azure Cloud.

You see also some examples to learn from

az group create –name MyResourceGroup –location eastus

We now created a resource group in the East US location of Azure for our Container.

az container create –name mycontainer –image microsoft/aci-helloworld –resource-group MyResourceGroup –ip-address public

We now Created an Azure Container Instance.

ProvisioningState Succeeded

az container list –output table

The result of your Azure Container Instance

To see how your Azure Container Instance is doing, you can read the logs.

az container logs –name mycontainer –resource-group MyResourceGroup

When your Azure Container Instance was for testing, you can delete the instance by :

az container delete –name mycontainer  –resource-group MyResourceGroup

az container list –output table

I got two Azure Container Instances running, and now you can see that mycontainer instance is deleted.
This was just an simple example by using Bash in the Azure Portal with CLI 2.0 commands. Of course there are a lot of Azure Solutions to play with:

In the following step-by-step example we will use Azure Powershell from the portal instead of Bash :

$PSVersionTable.PSVersion

Microsoft Azure Powershell via the Portal is using version 5.1 Build 14393 Revision 1480 in my example.
Of course there is also an Azure Powershell reference guide online

New-AzureRmResourceGroup -Name MyResourceGroup -Location EastUS

We now have created the Resource Group with Azure Powershell for the Container Instance.

New-AzureRmContainerGroup -ResourceGroupName MyResourceGroup -name mycontainer -image microsoft/iis:nanoserver -OsType Windows -IpAddressType Public

Get-AzureRmContainerGroup -ResourceGroupName MyResourceGroup -Name mycontainer

You will see that the New Azure Container Instance is provisioned.

Get-AzureRmContainerGroup

And the IIS is running in the Azure Container Instance.

Of course you don’t have your laptop always with you, but Microsoft Azure has an Awesome Mobile App to work with.

 

Mobile Azure Powershell via the App

Mobile Azure Bash via the App

Here you can get the Microsoft Azure Mobile App

Here are some handy links to use with Microsoft Azure Cloud Shell :

Deploy resources with Resource Manager templates and Azure CLI

Deploy resources with Resource Manager templates and Azure PowerShell

Overview of Azure Cloud Shell (Preview)

Microsoft Azure Cloud Roadmap

Advertisements


Leave a comment

Join #Microsoft Community Event of the Year #ExpertsLive2016 Register Now!

experts-live-2016Experts Live is an independent platform for IT Pros around Microsoft solutions. A platform by and for the community. Each year Experts Live is organizing a large-scale knowledge event. It has grown to become the largest Microsoft community event of the Benelux where more than 1000 visitors come together.
National and International community experts talk with visitors fully with latest Microsoft technologies in one day. Through the years, well-known speakers and MVPs are associated with this event.
This year find Experts Live on Tuesday 22nd November. Experts Live 2016 offers more than 40 breakout sessions, an opening and closing keynote !

experts-live-2015experts-live-impression

Go to the Website of Experts Live and Register to Join the Microsoft Community world Experts Live 2016 Event

Hope to meet your there 😉

SCUG Banner


Leave a comment

#NanoServer TP5 IaaS Image in the #Azure Gallery

TP 5 NanoServer 1a

Select Windows Server 2016  Technical Preview 5 NanoServer

TP 5 NanoServer 2

Click Create

TP 5 NanoServer 3a

TP 5 NanoServer 4

Choose your Server by clicking on view all

TP 5 NanoServer 5a

Configure your settings.

NanoServer running

Here you find an awesome blogpost about Nano Server TP5 IaaS Image in the Azure Gallery and Powershell CMD’s

Powershell for NanoServer


Leave a comment

Exploring #NanoServer for Windows Server 2016 with @Jsnover #Powershell

Microsoft Chief Architect, Enterprise Cloud, Jeffrey Snover, takes a closer look at Nano server – the secure new headless deployment option for Windows Server 2016. He demonstrates how it gives you the lightest and fastest option with significantly fewer patches and reboots. Watch as he shows you how to customize Nano Server for your next generation apps and highlights your management options from PowerShell to remote management.


Leave a comment

#Microsoft Windows Server 2016 TP4 Overview is Available #MSDN #TechNet #Hyperv #NanoServer #Winserv #AzureStack

Storage Spaces Direct Stack

Storage Spaces Direct in Windows Server 2016 Technical Preview (TP4)

Storage Spaces Direct seamlessly integrates with the features you know today that make up the Windows Server software defined storage stack, including Scale-Out File Server, Clustered Shared Volume File System (CSVFS), Storage Spaces and Failover Clustering

Storage Replica Overview

What’s New in Windows Server 2016 Technical Preview 4

  • What’s New in Nano Server. Nano Server now supports the DNS Server and IIS server roles, as well as MPIO, VMM, SCOM, DSC push mode, DCB, Windows Server Installer, and the WMI provider for Windows Update. Its Recovery Console supports editing and repairing the network configuration. A Windows PowerShell module is now available to simplify building Nano Server images.

nanoserver

  • Windows Containers: Windows Server 2016 Technical Preview now includes containers, which allow many isolated applications to run on one computer system. They build fast and are highly scalable and portable. Two different types of container runtime are included with the feature, each with a different degree of application isolation. Windows Server Containers achieve isolation through namespace and process isolation. Hyper-V Containers encapsulates each container in a light weight virtual machine. For some additional information on containers, see Containers: Docker, Windows and Trends.

Containers

MVP Cloud Cluster

Hyperv logo

  • Windows Defender Overview for Windows Server Technical Preview. Windows Server Antimalware is installed and enabled by default in Windows Server 2016 Technical Preview, but the user interface for Windows Server Antimalware is not installed. However, Windows Server Antimalware will update antimalware definitions and protect the computer without the user interface. If you need the user interface for Windows Server Antimalware, you can install it after the operating system installation by using the Add Roles and Features Wizard.
  • What’s New in Remote Desktop Services in Windows Server 2016. For the Windows Server 2016 Technical Preview, the Remote Desktop Services team focused on improvements based on customer requests. We added support for OpenGL and OpenCL applications, and added MultiPoint Services as a new role in Windows Server.
  • What’s New in File and Storage Services in Windows Server 2016 Technical Preview. This topic explains the new and changed functionality of Storage Services. An update in storage quality of service now enables you to create storage QoS policies on a Scale-Out File Server and assign them to one or more virtual disks on Hyper-V virtual machines. Storage Replica is a new feature that enables synchronous replication between servers for disaster recovery, as well as stretching of a failover cluster for high availability..
  • What’s New in Web Application Proxy in Windows Server Technical Preview. The latest version of Web Application Proxy focuses on new features that enable publishing and preauthentication for more applications and improved user experience. Check out the full list of new features that includes preauthentication for rich client apps such as Exchange ActiveSync and wildcard domains for easier publishing of SharePoint apps.
  • What’s new in the Windows console. The underlying console host (Conhost.exe) has been updated in several ways, adding new and different functionality to the Windows command prompt, the Windows PowerShell prompt, and any other character-mode applications. For details, see What’s New in the Windows Console in Windows Server 2016 Technical Preview and Console Improvements in the Windows 10 Technical Preview , but you should take note of these important changes:
    • The new console functionality is enabled by default. If an existing application doesn’t work properly with the new console, you can select Use legacy console on the Options tab and then restart your application. You can also control individual aspects of the new functionality with registry keys; see details at the linked topics.
    • Console windows can be resized dynamically with the mouse. This could cause issues with some console applications.
    • Quick Edit mode is enabled by default. If this conflicts with your application, you can disable it on the Options tab.
    • There are new keyboard shortcuts for copy, paste, and history navigation. If these conflict with your application, you can disable them on the Options tab (look for Enable CTRL key shortcuts and Extended test selection keys).
    • The default font type for new console windows is TrueType. You can still use raster fonts, but they won’t scale properly on some displays.
    • Text wraps and reflows by default when you resize a window. If necessary, you can disable this on the Layouts tab.
    • In some cases, after upgrade installation, fonts in the console window might be very small. To adjust this, use the Fonts tab.
  • What’s New in Windows PowerShell 5.0. Windows PowerShell 5.0 includes significant new features—including support for developing with classes, and new security features—that extend its use, improve its usability, and allow you to control and manage Windows-based environments more easily and comprehensively. Multiple new features in Windows PowerShell Desired State Configuration (DSC) are also described in this topic.
  • What’s New in Networking in Windows Server Technical Preview. The majority of what you’ll find for networking is new in TP3. We bring a scalable network controller for programming policies, an L4 load balancer for high availability and performance, enhanced gateways for hybrid connectivity, and an underlying network fabric that converges RDMA traffic together with tenant traffic, DNS policies that control how your DNS servers respond to incoming requests, and better integration of DNS and IPAM.

Windows Server 2016 TP4

 

 

Win2016TP4

You can download Microsoft Windows Server 2016 TP4 via MSDN now

Win2016TP4 via Technet

Or Download Windows Server 2016 TP4 here from Microsoft Technet

Ps. Awesome that Microsoft Windows Server 2016 TP4 was Public Available on the Dutch Community event  Experts Live 2015 🙂


Leave a comment

#Microsoft Windows Containers Overview #Hyperv #Azure #Winserv

Containers

Windows containers provide operating system level virtualization that allow you to run multiple isolated applications on one container host.

Here you find the Microsoft MSDN website about Windows Containers

Quick Start: Windows Server Containers and PowerShell

This article will walk through the fundamentals of managing Windows Server Containers with PowerShell. Items covered will include creating Windows Server Containers and Windows Server Container Images, removing Windows Server Containers and Container Images and finally deploying an application into a Windows Server Container. The lessons learned in this walkthrough should enable you to begin exploring deployment and management of Windows Server Containers using PowerShell.

Containers_Powershell_Video

Here you can find the complete Quick Start for Windows Server Containers and Powershell

Here you can find the Complete Quick Start for Windows Server Containers and Docker

Windows Server containers, Docker, and an introduction to Azure Container Service Video

Containers_banner