I need to get the architecture of all the resources connected in a subscription. Is there any feature where I can get the architecture of how all the resource are connected under a subscription.
In the Azure Portal, go to the Subscriptions and Select your Subscription.
Click on Resource Groups or Resources based on your need.
Resource Groups option shows you the resource groups using these filters like Location, Type, Kind, Resource Group, etc.
Resources Option shows you all the resources based on its recent activity.
But you can get the resources which are linked with that resource group or specific Azure Services using the filters option.
For example,
In Resource Groups Page, if you select No grouping option - it shows all the resource groups alphabetically/randomly.
If you select the filter as type, then it shows the resource groups according to services like:
Related
Is it possible to create VMs in a different location but in the same resource group?
Eg One VM will in West Europe and the other in East US
Of course, yes.
A resource group is a container that holds related resources for an Azure solution. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group. You decide how you want to allocate resources to resource groups based on what makes the most sense for your organization. Generally, add resources that share the same lifecycle to the same resource group so you can easily deploy, update, and delete them as a group.
The resource group stores metadata about the resources. Therefore, when you specify a location for the resource group, you are specifying where that metadata is stored. For compliance reasons, you may need to ensure that your data is stored in a particular region.
The resources in a resource group can be located in different regions than the resource group. And you can even move a resource from one resource group to another.
The other factors that can help in defining your resource group are explained here in detail.
In our organization, we have a common Azure subscription with a separate resource group for each solution. I have Owner rights for my solution's resource group, but when we create Databricks workspaces, a separate managed resource group databricks-rg-*** is created which I don't have access to. To be able to manage our Azure costs, I need to have access to the Cost analysis section of this managed resource group. What role do I need in this resource group to be able to see the costs?
To be able to manage our Azure costs, I need to have access to the Cost analysis section of this managed resource group. What role do I need in this resource group to be able to see the costs?
To see the cost, the Reader role is enough. If you want to do other operations except reading, you need the role e.g. Contributor, Owner.
I have two resource groups in our azure account, one(A) is having all the database(SQL) resources and other one(B) having other resources like app service, key vault, service bus etc.
Now we have decided to make a single resource group and we are trying to move SQL resources from resource group A resource group B. but it gives duplicate resources error as saying the resources we are trying to move is already there. But I have checked properly and those resources are not in resource group B.I have checked hidden types as well.
(A)
(B)
I have two SQL managed instance in two different region(One in Australia East another one in Australia Southeast. They are in a Pay-As-You-Go subscription. Now I want to move those resources to a CSP subscription. Is it possible to move SQL managed instance across subscription?
Azure SQL managed instance supports the move operation: move to another resource group or another subscription. You can get this from this document: Move operation support for resources.
If you want to move the managed instance subscription, you need to operate on the resource group overview. Choose all the resource about managed instance.
For more details, please see this Azure tutorial: Move resources to new resource group or subscription:
Summary:
This article shows you how to move Azure resources to either another Azure subscription or another resource group under the same subscription. You can use the Azure portal, Azure PowerShell, Azure CLI, or the REST API to move resources.
Both the source group and the target group are locked during the move operation. Write and delete operations are blocked on the resource groups until the move completes. This lock means you can't add, update, or delete resources in the resource groups, but it doesn't mean the resources are frozen. For example, if you move a SQL Server and its database to a new resource group, an application that uses the database experiences no downtime. It can still read and write to the database.
Moving a resource only moves it to a new resource group. The move operation can't change the location of the resource. The new resource group may have a different location, but that doesn't change the location of the resource.
It also gives you many examples about how to move resource group or subscription:
By using Azure portal.
By using Azure PowerShell.
By using Azure CLI.
By using REST API.
Hope this helps.
I have read about affinity group, and it allocates the services close in the datacenter, same rack. On the other hand, the new resource groups give me easy access for managing my services related.
I want to deploy an App with a website + sql + storage, so im going to create a resource group for them, and for better performance, i also want to choose an affinity group (previously created), but i cant.
Using the portal management i can choose a affinity group but not a affinity group. And using the beta portal management i can choose a resource group but not an affinity group (affinity group no appears on Location list).
I tried using the powershell mode for managing resource groups, but the cmdlet for create a website dont have a parameter for affinity group (only have a Location).
I was wondering if in one deployment i can choose an affinity group and resource group. There is no docs for this. Or maybe resource group is a replacement for affinity groups, i dont know.
Edit: I still cant do it
PD: hahah sorry about my gramatical errors, we speak spanish here in Peru.
Here is how you can create a Resource Group that belongs to an affinity group:
From the old portal, create an affinity group (if not already
created)
From the old portal, create a cloud service and associate it with
the affinity group.
From the new portal, the cloud service is now listed under "Resource
Groups"
Now when you add a service to the Resource Group it will also be associated with the cloud service and the affinity group.
It seems like 'Cloud Services' are now called 'Resource Groups' but I can't find any documentation to confirm this.
https://azure.microsoft.com/en-us/documentation/articles/virtual-networks-migrate-to-regional-vnet/
Seems that it's less important now than before to have affinity groups.