<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>#ResourceGroups Archives - anteelo</title>
	<atom:link href="https://anteelo.com/tag/resourcegroups/feed/" rel="self" type="application/rss+xml" />
	<link>https://anteelo.com/tag/resourcegroups/</link>
	<description>Leading Digital Solution Firm</description>
	<lastBuildDate>Fri, 18 Jun 2021 09:57:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://anteelo.com/wp-content/uploads/2020/01/cantlogo.png</url>
	<title>#ResourceGroups Archives - anteelo</title>
	<link>https://anteelo.com/tag/resourcegroups/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Knowing how to use Azure Databricks and resource groupings</title>
		<link>https://anteelo.com/knowing-how-to-use-azure-databricks-and-resource-groupings/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=knowing-how-to-use-azure-databricks-and-resource-groupings</link>
		
		<dc:creator><![CDATA[Tushar]]></dc:creator>
		<pubDate>Sat, 12 Jan 2019 09:57:02 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[#anteelo]]></category>
		<category><![CDATA[#Azure]]></category>
		<category><![CDATA[#CloudAnalytics]]></category>
		<category><![CDATA[#ResourceGroups]]></category>
		<guid isPermaLink="false">https://anteelo.com/?p=7486</guid>

					<description><![CDATA[<p>Azure Databricks, an Apache Spark-based analytics platform optimized for the Microsoft Azure cloud, is a highly effective open-source tool, but it automatically creates resource groups and workspaces and protects them with a system-level lock, all of which can be confusing and frustrating unless you understand how and why. The Databricks platform provides an interactive workspace [&#8230;]</p>
<p>The post <a href="https://anteelo.com/knowing-how-to-use-azure-databricks-and-resource-groupings/">Knowing how to use Azure Databricks and resource groupings</a> appeared first on <a href="https://anteelo.com">anteelo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div align="justify">
<p><img fetchpriority="high" decoding="async" class="aligncenter" src="https://global.hitachi-solutions.com/-/media/Images/Blogs/Blog-Supporting-Graphics/six-azure-2.jpg" alt="6 Reasons to Use Azure Databricks Today" width="661" height="360" /></p>
<p>Azure Databricks, an Apache Spark-based <a href="https://anteelo.com/an-introduction-to-big-data-analytics/">analytics</a> platform optimized for the Microsoft Azure <a href="https://anteelo.com/cloud-computing-for-beginners-a-complete-guide/">cloud</a>, is a highly effective open-source tool, but it automatically creates resource groups and workspaces and protects them with a system-level lock, all of which can be confusing and frustrating unless you understand how and why.</p>
<p>The Databricks platform provides an interactive workspace that streamlines collaboration between data scientists, data engineers and <a href="https://www.instagram.com/anteelodesign/">business</a> <a href="https://anteelo.com/how-to-make-your-enterprise-analytics-platforms-more-data-democratized/">analysts</a>. The Spark <a href="https://anteelo.com/all-about-operationalized-analytics/">analytics</a> engine supports machine learning and large-scale distributed data processing, combining many aspects of big data analysis all in one process.</p>
<p>Spark works on large volumes of data either in batch (rest) or streaming processing (live) mode. The live processing capability is how Databricks/Spark differs from Hadoop (which uses MapReduce algorithms to process only batch data).</p>
<p>Resource groups are key to managing the resources bound to Databricks. Typically, you specify which groups in which your resources are created. This changes slightly when you create an <a href="https://anteelo.com/working-with-sql-server-azure-read-and-know/">Azure</a> Databricks service instance and specify a new or existing resource group. Say, for example, we are creating a new resource group, Azure will create the group and place a workspace within it. That workspace is an instance of the Azure Databricks service.</p>
<p>Along with the directly specified resource group, it will also create a second resource group. This is called a “Managed resource group” and it starts with the word “databricks.” This Azure-managed group of resources allows Azure to provide Databricks as a managed service. Initially this managed resource group will contain only a few workspace resources (a virtual network, a security group and a storage account). Later, when you create a cluster, the associated resources for that cluster will be linked to this managed resource group.</p>
<p>The “databricks-xxx” resource group is locked when it is created since the resources in this group provide the Databricks service to the user. You are not able to directly delete the locked group nor directly delete the system-owned lock for that group. The only option is to delete the service, which in turn deletes the infrastructure lock.</p>
<p><img decoding="async" class="aligncenter" src="https://s33046.pcdn.co/wp-content/uploads/2020/03/azure-databricks-integration-with-other-services-.png" alt="A beginner&amp;#39;s guide to Azure Databricks" width="674" height="405" /></p>
<p>With respect to <a href="https://anteelo.com/developing-for-azure-autoscaling/">Azure</a> tagging, the lock placed upon that Databricks managed resource group prevents you from adding any custom tags, from deleting any of the resources or doing any write operations on a managed resource group resource.</p>
<h2>Example Deployment</h2>
<p>Let’s talk a look at what happens when you create an instance of the Azure Databricks service with respect to resources and resource groups:</p>
<h3>Steps</h3>
<ol>
<li>Create an instance of the Azure Databricks service</li>
<li>Specify the name of the workspace (here we used <strong><em>nwoekcmdbworkspace</em></strong>)</li>
<li>Specify to create a new resource group (here we used <strong><em>nwoekcmdbrg</em></strong>) or choose an existing one</li>
<li>Hit Create</li>
</ol>
<h3>Results</h3>
<ol>
<li>Creates <strong><em>nwoekcmdbrg</em></strong> resource group</li>
<li>Automatically creates <strong><em>nwoekcmdbworkspace</em></strong>, which is the Azure Databricks Service. This is contained within the <strong><em>nwoekcmdbrg</em></strong> resource group.</li>
<li>Automatically creates <strong><em>databricks-rg-nwoekcmdbworkspace-c3krtklkhw7km </em></strong>resource group. This contains a single storage account, a network security group and a virtual network.</li>
</ol>
<p>&nbsp;</p>
<p>Click on the workspace (Azure Databricks service), and it brings up the workspace with a “Launch Workspace” button.</p>
<p><img decoding="async" class="aligncenter" src="https://docs.microsoft.com/en-us/azure/databricks/_static/images/workspace/resource-per-workspace-url.png" alt="Per-workspace URLs - Azure Databricks - Workspace | Microsoft Docs" width="458" height="313" /></p>
<p>Launching the workspace uses AAD to sign you into the Azure Databricks service. This is where you can create a Databrick cluster or run queries, import data, create a table, or create a notebook to start querying, visualizing and modifying your data. I decided to create a new cluster to demonstrate where the resources are stored for the appliance. Here, we create a cluster to see where the resources land.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="https://sqlplayer.net/wp-content/uploads/2019/07/azure-databricks-service-page-in-azure-portal.png" alt="Azure Databricks - create new workspace and cluster | SQL Player" width="701" height="335" /></p>
<p>After the cluster is created, a number of resources were created in the Azure Databrick managed resource group <strong><em>databricks-rg-nwoekcmdbworkspace-c3krtklkhw7km</em></strong>. Instead of merely containing a single VNet, NSG and storage account as it did initially, it now contains multiple VMs, disks, network interfaces, and public IP addresses.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="https://docs.microsoft.com/en-us/azure/databricks/scenarios/media/quickstart-create-databricks-workspace-portal/create-databricks-spark-cluster.png" alt="Quickstart - Run a Spark job on Azure Databricks Workspace using Azure portal | Microsoft Docs" width="424" height="366" /></p>
<p>The workspace <strong><em>nwoekcmdbworkspace</em></strong> and the original resource group <strong><em>nwoekcmdbrg </em></strong>both remain unchanged as all changes are made in the managed resource group <strong><em>databricks-rg-nwoekcmdbworkspace-c3krtklkhw7km</em></strong>. If you click on “Locks,” you can see there is a read-only lock placed on it to prevent deletion. Clicking on the “Delete” button yields an error saying the lock was not able to be deleted. If you make changes to the original resource group in the tags, they will be reflected in the “databricks-xxx” resource group.  But you cannot change tag values in the databricks-xxx resource group directly.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="https://rajanieshkaushikk.files.wordpress.com/2019/09/resource-manager-loks.jpg?w=640" alt="Quick Tip:How to prevent your Azure Resources from accidental deletion? – Beyond the Horizon…" width="494" height="219" /></p>
<h2>Summary</h2>
<p>When using Azure Databricks, it can be confusing when a new workspace and managed resource group just appear. Azure automatically creates a Databricks workspace, as well as a managed resource group containing all the resources needed to run the cluster. This is protected by a system-level lock to prevent deletions and modifications. The only way to directly remove the lock is to delete the service. This can be a tremendous limitation if changes need to be made to tags in the managed resource group.  However, by making changes to the parent resource group, those changes will be correspondingly updated in the managed resource group.</p>
</div>
<p>The post <a href="https://anteelo.com/knowing-how-to-use-azure-databricks-and-resource-groupings/">Knowing how to use Azure Databricks and resource groupings</a> appeared first on <a href="https://anteelo.com">anteelo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
