Review Azure Resource Manager benefits Flashcards

1
Q

Azure Resource Manage Benifits

A

You can deploy, manage, and monitor all the resources for your solution as a group, rather than handling these resources individually.
You can repeatedly deploy your solution throughout the development lifecycle and have confidence your resources are deployed in a consistent state.
You can manage your infrastructure through declarative templates rather than scripts.
You can define the dependencies between resources so they’re deployed in the correct order.
You can apply access control to all services in your resource group because Role-Based Access Control (RBAC) is natively integrated into the management platform.
You can apply tags to resources to logically organize all the resources in your subscription.
You can clarify your organization’s billing by viewing costs for a group of resources sharing the same tag.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Guidance

A

Define and deploy your infrastructure through the declarative syntax in Azure Resource Manager templates, rather than through imperative commands.
Define all deployment and configuration steps in the template. You should have no manual steps for setting up your solution.
Run imperative commands to manage your resources, such as to start or stop an app or machine.
Arrange resources with the same lifecycle in a resource group. Use tags for all other organizing of resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Azure Resource Manager: resource

A

A manageable item that is available through Azure. Some common resources are a virtual machine, storage account, web app, database, and virtual network, but there are many more.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Azure Resource Manager: resource group

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Azure Resource Manager: resource provider

A

A service that supplies the resources you can deploy and manage through Resource Manager. Each resource provider offers operations for working with the resources that are deployed. Some common resource providers are Microsoft.Compute, which supplies the virtual machine resource, Microsoft.Storage, which supplies the storage account resource, and Microsoft.Web, which supplies resources related to web apps.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Azure Resource Manager: template

A

A JavaScript Object Notation (JSON) file that defines one or more resources to deploy to a resource group. It also defines the dependencies between the deployed resources. The template can be used to deploy the resources consistently and repeatedly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Azure Resource Manager: declarative syntax

A

Syntax that lets you state “Here is what I intend to create” without having to write the sequence of programming commands to create it. The Resource Manager template is an example of declarative syntax. In the file, you define the properties for the infrastructure to deploy to Azure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Create resource groups

A

Resources can be deployed to any new or existing resource group. Deployment of resources to a resource group becomes a job where you can track the template execution. If deployment fails, the output of the job can describe why the deployment failed. Whether the deployment is a single resource to a group or a template to a group, you can use the information to fix any errors and redeploy. Deployments are incremental; if a resource group contains two web apps and you decide to deploy a third, the existing web apps will not be removed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Resource Group Considerations

A

Resource Groups are at their simplest a logical collection of resources. There are a few rules for resource groups.

Resources can only exist in one resource group.
Resource Groups cannot be renamed.
Resource Groups can have resources of many different types (services).
Resource Groups can have resources from many different regions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Creating resource groups

A

There are some important factors to consider when defining your resource group:

All the resources in your group should share the same lifecycle. You deploy, update, and delete them together. If one resource, such as a database server, needs to exist on a different deployment cycle it should be in another resource group.
Each resource can only exist in one resource group.
You can add or remove a resource to a resource group at any time.
You can move a resource from one resource group to another group. Limitations do apply to moving resources.
A resource group can contain resources that reside in different regions.
A resource group can be used to scope access control for administrative actions.
A resource can interact with resources in other resource groups. This interaction is common when the two resources are related but don’t share the same lifecycle (for example, web apps connecting to a database).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Scoping Permissions

A

By scoping permissions to a resource group, you can add/remove and modify resources easily without having to recreate assignments and scopes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Reorganize Azure resources

A

Sometimes you may need to move resources to either a new subscription or a new resource group in the same subscription.
When moving resources, both the source group and the target group are locked during the 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. Locks don’t mean the resources aren’t available. For example, if you move a virtual machine to a new resource group, an application can still access the virtual machine.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Implementation

A

To move resources, select the resource group containing those resources, and then select the Move button. Select the resources to move and the destination resource group. Acknowledge that you need to update scripts.
Just because a service can be moved doesn’t mean there aren’t restrictions. For example, you can move a virtual network, but you must also move its dependent resources, like gateways.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Remove resources and resource groups

A

Use caution when deleting a resource group. Deleting a resource group deletes all the resources contained within it. That resource group might contain resources that resources in other resource groups depend on.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Determine resource limits

A

Azure lets you view resource usage against limits. This is helpful to track current usage, and plan for future use.
The limits shown are the limits for your subscription.
When you need to increase a default limit, there is a Request Increase link.
All resources have a maximum limit listed in Azure limits.
If you are at the maximum limit, the limit can’t be increased.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly