<?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>Under an Azure sky</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/adl-under-azure-sky/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/adl-under-azure-sky/feed.xml</link>
    <description>Head in the clouds</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:42:59 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Sudoers adventures and how VM Extensions can save the day</title>
      <link>https://docs.microsoft.com/archive/blogs/adl-under-azure-sky/sudoers-adventures-and-how-vm-extensions-can-save-the-day</link>
      <pubDate>Fri, 06 Oct 2017 12:00:57 GMT</pubDate>
      <dc:creator><![CDATA[Antonio Di Lorenzo]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/adl-under-azure-sky/?p=95</guid>
      <description><![CDATA[Using a Linux based Azure VM you may need to access the console to do special operations and VM...]]></description>
      <content:encoded><![CDATA[Using a Linux based Azure VM you may need to access the console to do special operations and VM Azure Extensions are the right tool to do it.

This is expecially true when you do something really weird like, such as putting file in /etc/sudoers.d folder without checking it beforehand with visudo. If the file is not 100% perfect you can loose the entire VM and there isn't much you can do to recover it since all the privileged action are locked down by the error in the file that is included in the sudoers file.

One possible solution is to use a VM Extensions called "Custom Script for Linux"

<img width="1024" height="496" class="aligncenter wp-image-116 size-large" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/10/capture20171006102738067-1024x496.png" />

&nbsp;

In my case, it was super-useful to run a script with elevated rights that deleted the faulty file from /etc/sudoers.d to solve a mess.

Remember that, since it can download very complicated scripts from your computer (or many other sources) ) to your VM, we can easily say that "the sky is the limit" :-)

You can read <a href="https://github.com/Azure/azure-linux-extensions/tree/master/CustomScript">here </a> all the details on how to use this extension.

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Using OMS free tier as a sandbox for testing and cost control</title>
      <link>https://docs.microsoft.com/archive/blogs/adl-under-azure-sky/using-oms-free-tier-as-a-sandbox-for-testing-and-cost-control</link>
      <pubDate>Wed, 05 Apr 2017 19:00:43 GMT</pubDate>
      <dc:creator><![CDATA[Antonio Di Lorenzo]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/adl-under-azure-sky/?p=55</guid>
      <description><![CDATA[NOTE: OMS licensing is changed, please look Security &amp; Compliance pricing  .

OMS licensing is...]]></description>
      <content:encoded><![CDATA[<strong>NOTE</strong>: OMS licensing is changed, please look <a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclick.email.microsoftemail.com%2F%3Fqs%3De6fdc99fb19f4dcff3a06af41a8886136d340a4c0a73816ba21b3174d6dbdfe2bfb053cc185a3d66bcce35547be35fcde2622440c34684c6eb5aa88e0334f4ca&amp;data=02%7C01%7Cantoniod%40microsoft.com%7Cdc8250a9ded84ce05b8d08d4b827ee69%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636335929020594793&amp;sdata=c38Ete%2FhcWUObgFIPrA1FNTc3Lm6qfXDs%2BUch1%2FWmO0%3D&amp;reserved=0">Security &amp; Compliance pricing </a> .

<a href="https://www.microsoft.com/en-us/cloud-platform/operations-management-suite-pricing">OMS licensing</a> is very flexible but sometime you can feel lost guessing how much will cost adding a new server or a new solutions.

As always, having a testing environment can help.

A good way to understand the amount of data you are about to put into an OMS Workspace and how much is going to cost is to create a secondary Workspace on the Free tier. Here you can test  new machine/solution/data collection rule you would like to estimate in size with real-world data.

This Workspace works as a sandbox where you will discover how much data is going to be added with real data from target environment without incurring in any charge. All you have to do is to add (or multi-home) yours target server to the testing Workspace and then add Solution/Data collection on it.

You have to remember that Free tier is limited to 500MB/day (<strong>UPDATE</strong>: not for Security &amp; Compliance). <del>Even if  this limit that can be easily reached, especially with Security and Audit solution on Domain Controllers, you can leverage the obtained data to understand and better estimate the amount of data and, based on your license tier, the impact on your costs.</del>

The Usage page is a very powerful way to understand where data is coming from; there are views that quickly highlight Data Volume over time, by Solution, by Computer and not associated with computers.

<img width="300" height="256" class="alignnone size-medium wp-image-65" alt="oms-usage-computer" src="https://msdnshared.blob.core.windows.net/media/2017/04/oms-usage-computer-300x256.png" /> <img width="300" height="183" class="alignnone size-medium wp-image-75" alt="oms-usage-datavolume" src="https://msdnshared.blob.core.windows.net/media/2017/04/oms-usage-datavolume-300x183.png" /> <img width="300" height="176" class="alignnone size-medium wp-image-76" alt="oms-usage-offering" src="https://msdnshared.blob.core.windows.net/media/2017/04/oms-usage-offering-300x176.png" />

Even more, like almost everything in Operations Management Suite, you can use Log Search capabilities to dig into your data to collect all the information you need.

<img width="300" height="271" class="alignnone size-medium wp-image-86" alt="oms-usage-logsearch" src="https://msdnshared.blob.core.windows.net/media/2017/04/oms-usage-logsearch-300x271.png" />

Last but not least, you can leverage what you learned on the testing environment to correctly set Alerts when the amount of data is over a certain threshold to being informed or, through Automation, trigger action to analyze a strange behavior in data generation on server/solution/data collection rule.

As already said, having a testing environment should be a golden rule to be always used in your way of working. The Cloud make it easier, cheapest and faster to build, use without worries about maintenance.

&nbsp;

&nbsp;]]></content:encoded>
    </item>
  </channel>
</rss>