<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Azure Linux Team Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/azurelinux/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/azurelinux/feed.xml</link>
    <description>Information and musings from the Azure Linux team</description>
    <lastBuildDate>Tue, 16 Apr 2019 04:45:02 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Deploying a NixOS VM on Microsoft Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/azurelinux/deploying-a-nixos-vm-on-microsoft-azure</link>
      <pubDate>Fri, 22 Jul 2016 21:46:08 GMT</pubDate>
      <dc:creator><![CDATA[saudas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azurelinux/?p=385</guid>
      <description><![CDATA[Today we are excited to announce the ability to provision a NixOS VM on Azure. NixOS is a Linux...]]></description>
      <content:encoded><![CDATA[<span style="color: #000000;font-family: Calibri">Today we are excited to announce the ability to provision a NixOS VM on Azure. NixOS is a Linux distribution that uses a declarative approach to configure your system. You can read more about NixOS on </span><a href="https://nixos.org/"><span style="color: #0000ff;font-family: Calibri">https://nixos.org/</span></a><span style="color: #000000;font-family: Calibri"> . </span>

<span style="color: #000000;font-family: Calibri">We will use the Azure CLI to provision a NixOS VM. <span style="color: #000000;font-family: Times New Roman"> </span></span>

<span style="color: #333333;font-family: 'Segoe UI',sans-serif;font-size: 10.5pt">You can install the latest Azure CLI </span><a href="https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-install/"><span style="font-family: 'Segoe UI',sans-serif;font-size: 10.5pt"><span style="color: #0000ff">here</span></span></a><span style="color: #333333;font-family: 'Segoe UI',sans-serif;font-size: 10.5pt"> </span>

<span style="color: #000000;font-family: Calibri"><span style="color: #000000;font-family: Times New Roman"> </span>To get started follow the steps outlined in </span><a href="https://github.com/sauryadas/NixOS_Azure"><span style="color: #0000ff;font-family: Calibri">this github repository</span></a><span style="color: #000000;font-family: Calibri">.</span>

<span style="color: #000000;font-family: Calibri">The first step is to create a storage account in Azure and upload the NixOS vhd which can be downloaded </span><a href="https://nixos.blob.core.windows.net/images/nixos-unstable-nixops.vhd"><span style="color: #0000ff;font-family: Calibri">here</span></a><span style="color: #000000;font-family: Calibri">. The VHD is about 2GB in size and if you are on a slow network as I was when I was uploading it at home, it could take up to 10 mins for the upload to complete.</span>

<span style="color: #000000;font-family: Times New Roman"> </span>

<a href="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-21-at-10.38.23-PM.png" rel="attachment wp-att-395"><img width="1024" height="205" class="alignnone size-large wp-image-395" alt="Screen Shot 2016-07-21 at 10.38.23 PM" src="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-21-at-10.38.23-PM-1024x205.png" /></a> The URI of the uploaded vhd is of the format https://&lt;storage -account-name&gt;.blob.core.windows.net/&lt;storage-container-name&gt;/&lt;vhd-file-name&gt;.vhd which on my case is https://bg09p.blob.core.windows.net/vm-images/nixos-unstable-standalone.vhd

Once the upload is complete, you can use the <strong>$azure vm create</strong> command to provision a VM.

<a href="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-21-at-10.39.21-PM.png" rel="attachment wp-att-396"><img width="1024" height="423" class="alignnone size-large wp-image-396" alt="Screen Shot 2016-07-21 at 10.39.21 PM" src="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-21-at-10.39.21-PM-1024x423.png" /></a>Once the VM is created, you can view FQDN of the created VM by using the <strong>$azure vm show</strong> command as shown below.

<a href="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-22-at-8.55.18-PM.png" rel="attachment wp-att-405"><img width="1024" height="946" class="alignnone size-large wp-image-405" alt="Screen Shot 2016-07-22 at 8.55.18 PM" src="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-22-at-8.55.18-PM-1024x946.png" /></a>

You can the SSH into the machine using the command <strong>$ ssh username@FQDN</strong> as shown below. Once you are logged in, you can view the status of the agent by typing in <strong>$ status waagent</strong> as shown below.

<a href="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-22-at-8.55.43-PM.png" rel="attachment wp-att-415"><img width="1024" height="227" class="alignnone size-large wp-image-415" alt="Screen Shot 2016-07-22 at 8.55.43 PM" src="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-22-at-8.55.43-PM-1024x227.png" /></a>

<span style="color: #000000;font-family: Calibri">This is our first step towards enabling NixOS on Azure and we hope that you will find it useful. Given that this is still in beta, please file any issues </span><a href="https://github.com/NixOS/nixpkgs/issues"><span style="color: #0000ff;font-family: Calibri">here</span></a>

<span style="color: #000000;font-family: Times New Roman"> </span>]]></content:encoded>
    </item>
    <item>
      <title>Azure CLI 0.10.2 release update (5th July 2016)</title>
      <link>https://docs.microsoft.com/archive/blogs/azurelinux/azure-cli-0-10-2-release-update-5th-july-2016</link>
      <pubDate>Wed, 20 Jul 2016 11:50:36 GMT</pubDate>
      <dc:creator><![CDATA[saudas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azurelinux/?p=315</guid>
      <description><![CDATA[Greetings! We are excited to announce updates to the Azure CLI in the July release.

In the...]]></description>
      <content:encoded><![CDATA[Greetings! We are excited to announce updates to the Azure CLI in the July release.

In the upcoming release of the Azure CLI (0.10.2) we have the following updates:
<ol>
 	<li>Scaling out the Azure Container Service (ACS) cluster</li>
 	<li>Merging the list and list-all VM Scale Sets (VMSS) commands</li>
 	<li>Listing ip-addresses of virtual machines in resource groups or subscriptions</li>
</ol>
You can install the latest Azure CLI <a href="https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-install/">here</a>
<h3>Scaling out the Azure Container Service (ACS) cluster</h3>
Since we made Azure Container Service generally available at the end of April, we received considerable feedback for the need of a simple scale command. As of the 0.10.2 release of the CLI, we have added a scale out command that allows you to scale out an ACS cluster. Type the below in the Azure CLI to get started.

$ azure acs scale -h

<a href="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-19-at-10.27.13-PM.png"><img width="1024" height="377" class="alignnone size-large wp-image-335" alt="Screen Shot 2016-07-19 at 10.27.13 PM" src="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-19-at-10.27.13-PM-1024x377.png" /></a>

The support for scaling allows horizontal scaling out, i.e., is increasing the number of agents/virtual machine’s (VM) in an ACS cluster. The new-agent-count represents a target value for the number of agents/VMs, and the scale command will create agents/VMs to match the new number.
<h3>Merging the list and list-all VM Scale Sets (VMSS) commands</h3>
We have also merged the list and list-all VMSS commands to be one list command to be on par with the VM commands. The existing list command displayed the list of VMSS in a resource group specified while the list-all command displayed the list of VMSS in a subscription. The new VMSS list command will have the resource group as the optional parameter. The VMSS list command without a resource group input parameter would list all VMSS’s in a subscription while the VMSS list command with a resource group input parameter would list all VMSS’s in the resource group specified.
<h3> <a href="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-20-at-6.03.37-AM.png"><img width="1024" height="343" class="alignnone size-large wp-image-345" alt="Screen Shot 2016-07-20 at 6.03.37 AM" src="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-20-at-6.03.37-AM-1024x343.png" /></a></h3>
<h3>Listing ip-addresses of virtual machines in resource groups or subscriptions</h3>
Finally, a lot of folks asked us how they could view the ip-addresses of all virtual machines under a subscription or a resource group. After all, it is key to be able to quickly find the ip-address of a virtual machine to be able to SSH in and get down to business. Consequently, we added a simple list-ip-address command in the CLI. Please see usage below.

<a href="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-20-at-6.18.25-AM.png"><img width="1024" height="391" class="alignnone size-large wp-image-355" alt="Screen Shot 2016-07-20 at 6.18.25 AM" src="https://msdnshared.blob.core.windows.net/media/2016/07/Screen-Shot-2016-07-20-at-6.18.25-AM-1024x391.png" /></a>]]></content:encoded>
    </item>
    <item>
      <title>VM Scale set scale command is now available in the 0.10.1 Azure CLI release</title>
      <link>https://docs.microsoft.com/archive/blogs/azurelinux/vm-scale-set-scale-command-is-now-available-in-the-0-10-1-azure-cli-release</link>
      <pubDate>Mon, 06 Jun 2016 09:53:17 GMT</pubDate>
      <dc:creator><![CDATA[saudas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azurelinux/?p=285</guid>
      <description><![CDATA[Since we released the Azure VM Scale Set (VMSS) CLI set of commands at the end of Mar’ 2016, we...]]></description>
      <content:encoded><![CDATA[Since we released the Azure VM Scale Set (VMSS) CLI set of commands at the end of Mar’ 2016, we received a lot of feedback for the need of a simple command for scaling in and scaling out a VMSS. We are thrilled to announce that with the 0.10.1 CLI release, we have the scaling command available.

Install the latest Azure CLI <a href="https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-install/">here</a> and simply type the below to get started

$ azure vmss scale -h

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/Screen-Shot-2016-06-03-at-1.53.32-PM.png"><img class="alignleft wp-image-295 size-large" src="https://msdnshared.blob.core.windows.net/media/2016/06/Screen-Shot-2016-06-03-at-1.53.32-PM-1024x387.png" alt="Screen Shot 2016-06-03 at 1.53.32 PM" width="1024" height="387" /></a>

The support for scaling allows horizontal scaling (out or in), i.e., is increasing or decreasing virtual machine’s (VM) in a VMSS. The new-capacity represents a target value for the number of VMs, and the scale set will create or delete VMs to match the new number.

Please note that when you scale in, VM’s with the highest ID’s are deleted first. If you have workloads running on specific VM’s which need to be left alone, consider manually deleting the VM’s by id ($ azure vmssvm delete …) rather than using the scaling command.

We hope that you will find this simple scaling command useful. Feedback is always welcome.]]></content:encoded>
    </item>
    <item>
      <title>Azure CLI Compute release updates (2nd May 2016)</title>
      <link>https://docs.microsoft.com/archive/blogs/azurelinux/azure-cli-compute-release-updates-2nd-may-2016</link>
      <pubDate>Wed, 04 May 2016 21:48:49 GMT</pubDate>
      <dc:creator><![CDATA[saudas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azurelinux/?p=215</guid>
      <description><![CDATA[I am excited to share with you a few updates to the Azure CLI given feedback and recommendations. We...]]></description>
      <content:encoded><![CDATA[I am excited to share with you a few updates to the Azure CLI given feedback and recommendations. We are constantly looking to improve this command-line experience and would love any additional recommendations or in the comments section below.

In this release of the Azure CLI (0.10.0) we have the following updates:
<ol>
	<li>Fast Image alias, a single word identifier for popular VM images, in Quick-Create for VM’s and VM Scale Sets (VMSS)</li>
	<li>We now default premium storage in the Quick-Create for VM’s and VM Scale Sets (VMSS)</li>
	<li>Top level node name change for Azure Container Service (ACS) from $Azure container.. to $Azure acs..</li>
	<li>Updated to bring VMSS commands to be in parity with VM commands</li>
</ol>
<h3>Fast Image aliases for popular VM images in Quick-Create for VM’s and VM Scale Sets (VMSS)</h3>
When creating a VM on Azure, we want to make it as easy as possible! We have received a lot of feedback about how hard it is to search for a full URN image name. We now support aliases for the latest version of popular images that you could provide in quick-create instead of searching or remembering the URN for an image, which we do understand is not a simple thing to accomplish. The list of aliases is shown in the table below:

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/16.jpg"><img class="alignleft wp-image-235 size-large" src="https://msdnshared.blob.core.windows.net/media/2016/05/16-1024x380.jpg" alt="1" width="1024" height="380" /></a>

Simply type the following command to get started.

$ azure vm quick-create &lt;resource-group&gt; &lt;vm-name&gt;&lt;location&gt;&lt;os-type&gt;&lt;alias&gt;

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/Screen-Shot-2016-05-06-at-11.36.37-AM.png"><img class="alignnone wp-image-265 " src="https://msdnshared.blob.core.windows.net/media/2016/05/Screen-Shot-2016-05-06-at-11.36.37-AM-1024x192.png" alt="Screen Shot 2016-05-06 at 11.36.37 AM" width="853" height="160" /></a>

For VMSS, simple type:

$ azure vmss quick-create &lt;resource-group&gt; &lt;vm-name&gt;&lt;location&gt;&lt;capacity&gt;&lt;alias&gt;

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/Screen-Shot-2016-05-06-at-11.40.51-AM.png"><img class="  wp-image-275 alignleft" src="https://msdnshared.blob.core.windows.net/media/2016/05/Screen-Shot-2016-05-06-at-11.40.51-AM-1024x141.png" alt="Screen Shot 2016-05-06 at 11.40.51 AM" width="856" height="118" /></a>
<h3>Default premium storage in the Quick-Create for VM’s and VM Scale Sets (VMSS)</h3>
For all Virtual Machines and Virtual Machine Scale Sets, we now use Premium Storage as the default storage option for the OS disk. This offers improved performance and faster boot times when creating VMs or Virtual Machine Scale Sets. While premium storage is not available in all regions, in cases where you choose a location where premium storage is not yet available, we will default the storage to standard.

An exhaustive list of premium storage region availability can be found <a href="https://azure.microsoft.com/en-us/regions/#services">here</a>.

In the snapshot below, you can see a ‘Standard_DS1’ premium storage account is created when we run the vm quick-create command.

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/37.jpg"><img class="alignnone wp-image-237 size-large" src="https://msdnshared.blob.core.windows.net/media/2016/05/37-1024x627.jpg" alt="3" width="1024" height="627" /></a>
<h3>Top level node name change for Azure Container Service (ACS) from $Azure container.. to $Azure acs..</h3>
We did a survey for the top level node for Azure Container Service and found that the existing top level node ‘container’ was confusing and long. Customers provided feedback that the container node confused them into thinking that they were creating Docker containers or Windows Container. As a result of the feedback, we have changed the top level command to ‘acs’ which is an abbreviation of Azure Container Service. To see the list of command type $ azure acs –h
<h3>Update VMSS commands to be in parity with VM commands</h3>
The following commands have been changed to make them uniform with other VM commands.

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/55.png"><img class="alignnone wp-image-255 size-full" src="https://msdnshared.blob.core.windows.net/media/2016/05/55.png" alt="5" width="679" height="154" /></a>

With these improvements, I hope you will give is a try! Tell us what you think and how we can make it even better. Please leave a comment here or file an issue on <a href="https://github.com/Azure/azure-xplat-cli/issues">GitHub</a>.

&nbsp;

Saurya]]></content:encoded>
    </item>
    <item>
      <title>Guidance for community vm images not migrating from VM Depot to Azure Marketplace</title>
      <link>https://docs.microsoft.com/archive/blogs/azurelinux/guidance-for-community-vm-images-not-migrating-from-vm-depot-to-azure-marketplace</link>
      <pubDate>Tue, 03 May 2016 15:48:47 GMT</pubDate>
      <dc:creator><![CDATA[saudas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azurelinux/?p=126</guid>
      <description><![CDATA[Since we announced the effort to migrate all Bitnami images to Azure Marketplace a few weeks ago...]]></description>
      <content:encoded><![CDATA[Since we announced the effort to migrate all Bitnami images to Azure Marketplace a few weeks ago we’ve received fantastic input from customers and the community as we renew efforts to provide trusted technology stacks from the open source ecosystem in Azure Marketplace.

However, we also recognize some publishers might want to continue working with images available in VM Depot today, regardless of whether they are on boarded into Marketplace. For those cases, we have a 3 step solution as outlined below.
<h2>Step 1: Download your image from VM Depot account</h2>
1. Login to your VM Depot publisher’s account.

2. Click on ‘My Account’ icon (Upper Right Corner)

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/114.png"><img class="alignnone wp-image-145 size-full" src="https://msdnshared.blob.core.windows.net/media/2016/05/114.png" alt="1" width="81" height="57" /></a>

3. Click on ‘Publish Status’ tab.

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/210.png"><img class=" wp-image-155 size-full alignleft" src="https://msdnshared.blob.core.windows.net/media/2016/05/210.png" alt="2" width="971" height="96" /></a>

&nbsp;

This page will display successful or failed publish status of images for all the locations selected at the time of publishing

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/35.png"><img class=" wp-image-165 size-full alignleft" src="https://msdnshared.blob.core.windows.net/media/2016/05/35.png" alt="3" width="943" height="693" /></a>

4. To download the VHD of image from a particular location, click on the name of location. Upon clicking, the VHD starts downloading and is saved on your local machine. Example-To download VHD from ‘East US’ for image ‘Trial Image One’, click on ‘East US’.

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/45.png"><img class="alignleft wp-image-175 size-full" src="https://msdnshared.blob.core.windows.net/media/2016/05/45.png" alt="4" width="941" height="70" /></a>

If Image is deleted from VM Depot then on click of location you will get the following error.

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/54.png"><img class="alignleft wp-image-185 size-full" src="https://msdnshared.blob.core.windows.net/media/2016/05/54.png" alt="5" width="930" height="184" /></a>

&nbsp;
<h2></h2>
<h2> Step 2: Preparing a new storage location on Azure for your VHD’s</h2>
<h3>Option 1:</h3>
Login to the <a href="https://portal.azure.com/">Azure portal</a> using your subscription credentials and create a new storage account by going to +New -&gt; Data+Storage -&gt; Storage Account and entering the required parameters.

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/64.png"><img class="alignleft wp-image-195 size-large" src="https://msdnshared.blob.core.windows.net/media/2016/05/64-1024x523.png" alt="6" width="1024" height="523" /></a>

After you create the storage account, copy the URL and primary key and click TBD to create a new blob container. Then use a tool such as <a href="https://storageexplorer.com/">Storage Explorer</a> to upload/copy the VHD.
<h3>Option 2:</h3>
Follow the steps below with the Azure CLI to create a storage account, set primary key, create a container and upload the blob:

$ azure config mode arm

$ azure storage account create &lt;storage-account-name&gt; --resource-group &lt;resource-group-name&gt; --location &lt;location&gt; --type &lt;storage-type&gt;

$ azure storage account keys list &lt;storage-account-name&gt;

$ export KEY={Primary Key from previous step}

$ echo $KEY

$ azure storage container create -a &lt;storage-account-name&gt; -k $KEY &lt;container-name&gt;

$ azure storage blob upload -t page -a &lt;storage-account-name&gt; -k $KEY --container &lt;container-name&gt; &lt;vhd-name.vhd&gt;

vhd-name.vhd –&gt; This is the VHD you downloaded from VM Depot to your local machine in step 1

Once you have gone through the above step, you will have the URI to the vhd that you just uploaded in the following format:

<span style="text-decoration: underline">https:// &lt;storage-account-name&gt;.blob.core.windows.net/&lt;container-name&gt; /&lt;vhd-name.vhd&gt;</span>

Save this VHD URL as it will be the URL you can use in the future to continue deploying the particular image you’ve just copied over from VM Depot.
<blockquote>As a reminder, before copying this image over to your subscription, you should thoroughly review the licensing terms of the original image in VM Depot. As a community repository, the images are not provided by Microsoft and no guarantees are provided, explicit or implicit.</blockquote>
<h2>Step 3: Using an Azure Resource Manager (ARM) template to deploy to Azure</h2>
Once you have a VHD URL in your own subscription, it’s very easy to provision this image using Azure Resource Manager.

In the <a href="https://azure.microsoft.com/en-us/documentation/templates/">Azure Quick Start Galley</a> navigate to <a href="https://azure.microsoft.com/en-us/documentation/templates/101-vm-from-user-image/">the “create VM from user image” template</a><span style="text-decoration: underline">, then </span>click on the ‘Deploy to Azure’ button. You will be directed to the Azure Portal where you might need to login if you haven’t already.

Once in the portal, you’ll see a screen similar to the below where you will need to fill out parameters such as resource group, location and, of course, agree to the legal terms. Click on the ‘create’ button to create the VM.

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/74.png"><img class="alignleft wp-image-205 size-large" src="https://msdnshared.blob.core.windows.net/media/2016/05/74-1024x651.png" alt="7" width="1024" height="651" /></a>

Once the VM has started, you can SSH into your VM using the public IP address assigned by the template and start working.

With this transition, we renew our commitment to a first-class customer experience through the Azure Marketplace for open-source solutions.]]></content:encoded>
    </item>
    <item>
      <title>Hello world!</title>
      <link>https://docs.microsoft.com/archive/blogs/azurelinux/hello-world</link>
      <pubDate>Sun, 03 Apr 2016 04:05:12 GMT</pubDate>
      <dc:creator><![CDATA[Poorna Sekhar Sainu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azurelinux/?p=1</guid>
      <description><![CDATA[Welcome to Developer Network. This is your first post. Edit or delete it, then start blogging!]]></description>
      <content:encoded><![CDATA[Welcome to <a href="https://blogs.msdn.microsoft.com/">Developer Network</a>. This is your first post. Edit or delete it, then start blogging!]]></content:encoded>
    </item>
  </channel>
</rss>