Tag: Microsoft Azure

How to Install AzCopy

How to Install AzCopy for Azure Storage

AzCopy is a command-line tool to manage and copy blobs or files to or from a storage account. It also allows you to sync storage accounts and move files from Amazon S3 to Azure storage. In this blog post, I will cover how to install AzCopy on Windows, Linux, macOS, or in update the version in the Azure Cloud Shell.

AzCopy v10 is now generally available to all of our customers and provides higher throughput and more efficient data movement compared to the earlier version of AzCopy (v8). Version 10 also adds additional functionality like sync of blob storage accounts and much more.

Install AzCopy

You can get the latest version of AzCopy from here: Get started with AzCopy

Install AzCopy on Windows

To install AzCopy on Windows, you can run the following PowerShell script, or you can download the zip file and run it from where ever you want. This script will add the AzCopy folder location to your system path so that you can run the AzCopy command from anywhere.

 
#Download AzCopy
Invoke-WebRequest -Uri "https://aka.ms/downloadazcopy-v10-windows" -OutFile AzCopy.zip -UseBasicParsing
 
#Curl.exe option (Windows 10 Spring 2018 Update (or later))
curl.exe -L -o AzCopy.zip https://aka.ms/downloadazcopy-v10-windows
 
#Expand Archive
Expand-Archive ./AzCopy.zip ./AzCopy -Force
 
#Move AzCopy to the destination you want to store it
Get-ChildItem ./AzCopy/*/azcopy.exe | Move-Item -Destination "C:\Users\thmaure\AzCopy\AzCopy.exe"
 
#Add your AzCopy path to the Windows environment PATH (C:\Users\thmaure\AzCopy in this example), e.g., using PowerShell:
$userenv = [System.Environment]::GetEnvironmentVariable("Path", "User")
[System.Environment]::SetEnvironmentVariable("PATH", $userenv + ";C:\Users\thmaure\AzCopy", "User")

Install AzCopy on Linux

To install AzCopy on Linux, you can run the following shell script, or you can download the tar file and run it from where ever you want. This script will put the AzCopy executable into the /usr/bin folder so that you can run it from anywhere.

 
#Download AzCopy
wget https://aka.ms/downloadazcopy-v10-linux
 
#Expand Archive
tar -xvf downloadazcopy-v10-linux
 
#(Optional) Remove existing AzCopy version
sudo rm /usr/bin/azcopy
 
#Move AzCopy to the destination you want to store it
sudo cp ./azcopy_linux_amd64_*/azcopy /usr/bin/

Authorize with Azure Storage

When you start working with Azure Storage, you have two options to authorize against the Azure Storage. You can provide authorization credentials by using Azure Active Directory (AD), or by using a Shared Access Signature (SAS) token.

It also depends on which services you want to use.

Storage typeSupported method
Blob storageAzure AD and SAS
Blob storage (hierarchical namespace)Azure AD
File storageSAS only

Authenticate using Azure AD

To authenticate with AzCopy using Azure AD, you can use the following command

 
azcopy login

Authenticate using SAS token

To authenticate with AzCopy using a SAS token you can use this command as an example

 
azcopy cp "C:\local\path" "https://account.blob.core.windows.net/mycontainer1/?sv=2018-03-28&ss=bjqt&srt=sco&sp=rwddgcup&se=2019-05-01T05:01:17Z&st=2019-04-30T21:01:17Z&spr=https&sig=MGCXiyEzbtttkr3ewJIh2AR8KrghSy1DGM9ovN734bQF4%3D" --recursive=true

To make things easier you can use Azure PowerShell to generate the SAS token for you. I wrote a blog post on ITOPSTALK.com about how you can do that. You can get the SAS token using the following Azure PowerShell command. If you are running Linux or macOS, you can find on this blog post, how to install PowerShell 6.

 
Connect-AzAccount
Get-AzSubscription
 
$subscriptionId = "yourSubscriptionId"
$storageAccountRG = "demo-azcopy-rg"
$storageAccountName = "tomsaccount"
$storageContainerName = "images"
$localPath = "C:\temp\images"
 
Select-AzSubscription -SubscriptionId $SubscriptionId
 
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName $storageAccountRG -AccountName $storageAccountName).Value[0]
 
$destinationContext = New-AzStorageContext -StorageAccountName $storageAccountName -StorageAccountKey $storageAccountKey
 
$containerSASURI = New-AzStorageContainerSASToken -Context $destinationContext -ExpiryTime(get-date).AddSeconds(3600) -FullUri -Name $storageContainerName -Permission rw
 
azcopy copy $localPath $containerSASURI --recursive

To learn more about SAS tokens, check out Using shared access signatures (SAS).

I hope this helps you to install AzCopy and configure it. If you have any questions, feel free to leave a comment.



Mastering Azure using Cloud Shell Session

Video: Mastering Azure using Cloud Shell, PowerShell and Bash!

At the NetWork 9 Conference in Neum and at the Global Azure Bootcamp in Switzerland, I presented my session about Mastering Azure using Cloud Shell. Since I got a lot of requests for the session to be online, I recorded my presentation and made it available for everyone. The presentation is a live demo and summary of my blog post “Mastering Azure with Cloud Shell“, which gives you an overview about the Cloud Shell and some of the advanced stuff you can do.

In the session you learn:

I hope you enjoy watching it and let me know what you think in the comments.



VMware on Azure - Azure VMware Solutions

Run your VMware natively on Azure with Azure VMware Solutions

Today the Microsoft Azure team announced the Azure VMware Solutions, which allow you to run VMware natively on Azure. VMware Solution on Azure by CloudSimple is a fully managed service that lets you run the VMware platform in Azure. This solution includes vSphere, vCenter, vSAN, NSX-T, and similar tools. VMware environment runs natively on Azure Bare Metal infrastructure, on Azure cloud locations. The service includes all the features required to consume the VMware platforms efficiently and securely. The solution is delivered by Microsoft, verified by VMware, and run on Azure infrastructure.

This allows you to move or extend your on-premises VMware environment to Microsoft Azure. You can seamlessly move VMware workloads to Azure and integrate with your VMware management environment, using the same and existing management tools. This gives you time to modernize your workloads with native Azure services. This extends the Microsoft hybrid cloud offerings for products like Azure Stack, Azure Stack HCI, and more.

VMware Solution on Azure by CloudSimple

VMware on Azure - Azure VMware Solutions

Features

  • On-demand self-service provisioning of VMware cloud environments. Ability to add and remove capacity on demand
  • VMware platform deployment, upgrade, management plane backup, health/capacity monitoring, alerting, troubleshooting, and remediation.
  • Underlay networking services required to enable VMware, including L2/L3 services and firewall rule management.
  • Edge-type networking services, including VPN, Public IP, and Internet Gateways. These edge services run on Azure and carry the corresponding security and DDoS protection of Azure.
  • Capacity reservation to lower costs.
  • High-speed, low-latency connectivity to Azure and on-premises.
  • Solution architectures for customers to consume Azure services in an integrated fashion, take advantage of this unique “VMware cloud in a public cloud” architecture. These Azure services include Azure AD, storage,
  • application gateways, and others.
  • Infrastructure is fully dedicated to you and is physically isolated from the infrastructure of other customers.
  • Management features such as activity management, usage, billing/metering, and user management.
  • 24×7 customer support.

(Source Microsoft Docs)

This will open a couple of crucial scenarios for our customers.

  • Data Center retirement or migration – If you need to retire your datacenter and you need a fast and straightforward way to move your existing VMware workloads, Azure is a great place to host these workloads without rearchitecting them. This will give you time to modernize your applications in the mid and long term
  • Expansion on demand – If you are running your VMware environment and you need more capacity on demand, you can extend it to Azure.
  • Disaster Recovery – You can use Azure as your recovery site for your on-premises VMware workloads
  • Virtual Desktops – If you are running a VDI solution on top of VMware, you are also able to host the infrastructure in Azure.
  • Hosting High-Performance Applications – The CloudSimple solution provides a hyper-converged architecture designed to run high-performance workloads
  • Hybrid Cloud – It opens up scenarios for companies to run hybrid cloud scenarios, without the need to switch all your tools and to rearchitect your workloads

If you want to know more about VMware Solution on Azure by CloudSimple, you can check out the Microsoft docs.

Integration into Azure

Create VM in the Azure Portal

The VMware solutions on Azure, are not just isolated from the rest of your Azure environment. VMware on Azure by CloudSimple is integrated into Azure, which means it allows you to leverage Azure Express Route and even the Azure Resource Manager to deploy virtual machines on your VMware host running in Azure. This will enable you to create new virtual machines from your VMware administration tools like vCenter, but also within the Azure Portal or using Azure Resource Manager templates.

Pricing

In terms of pricing, you will be paying per VMware node in Azure, and you will get charged by Microsoft for it. You can use your existing Azure Enterprise Agreement precommitments for it.

We have two different instances available depending on the size you need, the CS28 and the larger CS36 nodes. These include CPU cores, RAM, NVME Cache, and useable all-flash storage. The minimum of nodes you will need is three instances per cluster. You can also make use of the Reserved options for 1 or 3 years to save up to 50%. You can also use the Azure Hybrid Benefit to use your existing Windows Server licenses, and you can also make use of the Extended Security Update options for Windows Server 2008 / 2008 R2 and SQL Server 2008 / 2008 R2.

Azure CloudSimple Pricing

The storage pricing is the useable storage in vSAN. If you want to know more about pricing, check out the Azure pricing page for Azure VMware Solution by CloudSimple.

What are your thoughts about these announcements? Let me know in the comments!



CDC-Germany 2019

Speaking at the Cloud and Datacenter Conference Germany 2019

One of the best conferences when it comes to cloud and datacenter topics of IT Pros, is the Cloud and Datacenter Conference Germany 2019 organized by Microsoft MVP Carsten Rachfahl. I had the opportunity to speak at CDC-Germany 2016, 2017 and also in 2018. I am happy that I again was invited to speak at CDC-Germany 2019. The two day, Cloud & Datacenter Conference Germany will be held in Hanau, Germany on May 21-22. The CDC Germany will be focusing on Microsoft Technology and will have 6 tracks full of great Microsoft Cloud and Datacenter content with speakers from all over the world.

Featured Speakers CDC-Germany 2019

My Sessions at the Cloud and Datacenter Conference Germany 2019

I happy to speak in 1 of the main sessions and 2 breakout session about Hybird Cloud topics, like Azure Cloud Shell, Azure Stack, Windows Server 2019, Windows Admin Center, Azure Stack HCI and much much more.

Hybrid is the New Black!

Hybrid Cloud is not just a state during your cloud migration, it is here to stay! Hybrid Cloud goes far beyond Microsoft Azure Stack, and in this session you will see an overview about the different solutions you can use to extend your on-premises environment with Microsoft cloud services.

Windows Server 2019 – The Next Generation of Software-Defined Datacenter

Join this session for the best of Windows Server 2019, about the new innovation and improvements of Windows Server. Learn how Microsoft enhances the SDDC feature like Hyper-V, Storage and Networking and get the most out of the new Azure Hybrid Integration and Container features. You’ll get an overview about the new, exciting improvements that are in Windows Server and how they’ll improve your day-to-day job. In this presentation Thomas Maurer (Microsoft MVP) will guide you through the highly anticipated innovations in Windows Server 2019 and the Semi-Annual Channel including: Windows Server Containers Azure Integration Hyper-V features Storage Networking Security Windows Server Containers And more!

Mastering Azure using Cloud Shell, PowerShell and Bash!

Azure can be managed in many different way. Learn your command line options like Azure PowerShell, Azure CLI and Cloud Shell to be more efficient in managing your Azure infrastructure. Become a hero on the shell to manage the cloud!

My Session at the Hyper-V Community + Hybrid Cloud Community Pre-Day

I will also be speaking at the Hyper-V Community + Hybrid Cloud Community Pre-Day at May 20, 2019.

Extend the Intelligent Cloud to the Edge with Azure Stack and Azure Stack HCI

Azure Stack allows you to extend Azure to your datacenter and run Azure Services under your terms. With Azure Stack HCI, the latest member in the Azure Stack family, we also offer a great hyper-converged infrastructure solution, with optional Azure connected services. Find out more about Azure Stack and Azure Stack HCI, how these solutions can help you to in your Hybrid Cloud strategy. Learn about the features and services you will get by offering Azure Stack to your customers and how you can build a true Hybrid Cloud experience.

I am really looking forward to the Cloud and Datacenter Conference Germany 2019, and I hope to see you there!



Microsoft Ignite The Tour Amsterdam 2019 Thomas Maurer Speaking

Microsoft Ignite The Tour 2019 Azure Hybrid Session Recordings

As you might know, had the chance to present my first sessions as a Microsoft employee at Microsoft Ignite The Tour 2019 in London and Amsterdam. A couple of weeks ago, the session recordings from Amsterdam are now available. My sessions were part of the Azure Hybrid Cloud learning path.

Building and maintaining your Azure hybrid environment
Tailwind Traders has seen exponential growth over the last two years, transitioning from a midsize company to a worldwide corporation. This growth has required extending Tailwind’s existing infrastructure into Microsoft Azure in a hybrid deployment, with some important workloads remaining in the organization’s on-premises datacenter, while increasing numbers of critical workloads running in Azure.

In the five modules for this learning path, you’ll learn how to plan and configure hybrid network connectivity, apply best practice security configuration to Azure resources, learn how to effectively monitor and maintain those resources, ensure that those resources meet organizational compliance requirements, and ensure that workloads in Azure are highly available and protected against catastrophe.

Sessions at Microsoft Ignite The Tour 2019

HYB10 - Planning and implementing hybrid network connectivity

Once your organization has decided to implement a hybrid model, you need to start figuring out how to ensure that communication between your on-premises environment and your hybrid workloads is both secure and reliable. You also need to ensure that those workloads are protected from internal and external network threats. In this module, you’ll learn how to assess your organization’s on-prem network infrastructure, how to plan and then implement an appropriate networking design for Azure. You’ll learn how to implement appropriate Azure virtual network technologies, including securing connectivity between on-premises and Azure using VPNs and ExpressRoute as well as how to strategically deploy firewalls, network security groups and marketplace appliances to protect those resources and workloads.

HYB20 - Securing your Azure environment

With Cloud resources now connected with our datacenter, secure administrative access to critical workloads needs to be configured appropriately. It’s also important from an organizational and compliance perspective to ensure that workloads have a security configuration aligned with industry best practice. In this module, you’ll learn how to improve the security of privileged accounts used to manage Azure resources, manage software updates for both on-premises and cloud hosted virtual machines, and how to get the most out of Azure Security Center for assessing and remediating security configuration issues in a hybrid environment.

You can find more  Microsoft Ignite The Tour recordings on the offical website.



Azure File Sync Windows Admin Center

Sync File Servers with Azure File Sync in Windows Admin Center

One of the biggest challenges a lot of customers are facing, is the capability to provide access to files everywhere and have DR plans in place. This becomes especially true when you are dealing with classic file server infrastructures. Where it is difficult to manage capacity, availability, replication and much more. The Azure Storage team is addressing that need with Azure File Sync. Azure File Sync allows you to sync your file servers with an Azure Files. Azure File is a simple, secure, and fully managed cloud file share solution, using SMB 3.0 and HTTPS.

Azure File Sync

In addtion the service allows customer to use functionality like:

  • Cloud Tiering
  • Cloud Access
  • Multi-site Sync
  • Cloud Backup
  • Rapid File Server DR

In this post I will cover how, Windows Admin Center will help you to deploy Azure File Sync, if you want to know more, check out the Azure File Sync documentation page.



Global Azure Bootcamp 2019

Speaking at the Global Azure Bootcamp 2019

On April 27, 2019, it is again time where all the Azure communites come together for the sixth Global Azure Bootcamp event. And I am happy to be part of it again this year. Last year I was speaking at Azure Global Bootcamp 2018 in Zürich, Switzerland, and I will be back to speak at the Global Azure Bootcamp 2019 in Zürich this year. Besides this in person session, I will also be presenting online at the Global Online Azure Bootcamp (Ireland). This is an Azure Global Bootcamp event for those who don’t have something local or cannot travel, organised by Microsoft MVP and Azure expert Aidan Finn from Ireland. Hosted on GoToWebinar, presenters will share their expert knowledge on Microsoft Azure with an audience that can join in from anywhere around the world.

Around the world, user groups and communities want to learn about Azure and Cloud Computing. On April 27, all communities will come together once again for a great Global Azure Bootcamp event. Each user group will organize their own one day deep dive class on Azure the way they see fit and how it works for their members. The result is that thousands of people get to learn about Azure and join together online under the social hashtag #GlobalAzure.

I will be speaking about two extremly interesting topics inluding Azure Cloud Shell and Azure Stack.

Global Azure Bootcamp 2019 in Zürich

Mastering Azure using Cloud Shell, PowerShell and Bash!

Azure can be managed in many different way. Learn your command line options like Azure PowerShell, Azure CLI and Cloud Shell to be more efficient in managing your Azure infrastructure. Become a hero on the shell to manage the cloud!

Oganized by:

 

Stefan Johner

Stefan Roth

Manuel Meyer

Global Online Azure Bootcamp 2019 (Ireland)

Extend the Intelligent Cloud to the Edge with Azure Stack and Azure Stack HCI

Azure Stack allows you to extend Azure to your datacenter and run Azure Services under your terms. With Azure Stack HCI, the latest member in the Azure Stack family, we also offer a great hyper-converged infrastructure solution, with optional Azure connected services. Find out more about Azure Stack and Azure Stack HCI, how these solutions can help you to in your Hybrid Cloud strategy. Learn about the features and services you will get by offering Azure Stack to your customers and how you can build a true Hybrid Cloud experience.

If you have time and you want to spend a whole day learning about Azure, join one of the events around you, or check out the online streaming events. I am also happy to meet you in Zürich!