Compare ARM templates and Bicep ARM templates are built in JSON which make them verbose and tough to read. The following 29-line code block with quotes, brackets, and commas presents an ARM template that deploys a storage account. { “$schema”: “https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate. json#”, “contentVersion”: “1.0.0.0”, “parameters”: { “location”: { “type”: “string”, “defaultValue”: “[resourceGroup().location]” }, “storageAccountName”: {…
Author: zeusexam
Export a deployment template
Export a deployment template An existing deployment can be exported as a template that you can use to regenerate the environment or to just gain a better understanding of how the deployment is configured. There are two ways of exporting a template from a deployment. The first way is to export the actual template used…
Deploy resources from a template
Deploy resources from a template You can deploy templates using the Azure portal, the command-line tools, or directly using the REST API. You’ll start with deploying a template that creates a virtual machine using the Azure portal. To deploy a template from the Azure portal, search for Deploy a custom template. On the Custom Deployment…
Modify an existing ARM template
Modify an existing ARM template Often you will need to modify a template that you have previously used to change the configu- ration. As previously mentioned, one of the key benefits of using templates to describe your infrastructure (commonly referred to as Infrastructure as Code) is so you can modify it and deploy it in…
Add a Public IP address – MS AZ-104 Exam Guide
Add a Public IP address To add a public IP address to the virtual machine, you must make several modifications. The first is to define a parameter that the user will use to specify a unique DNS name for the public IP. The following code goes in the parameters block of a template: “VMPublicIPDnsName”: {…
Define a virtual network – MS AZ-104 Exam Guide
Define a virtual network This skill is focused on learning how to deploy Windows and Linux virtual machines. A pre- requisite of deploying a virtual machine is having a virtual network. Listing 3-1 shows how to define the structure of the virtual network using several variables that describe the address space and subnet allocation. LISTING…
Automate deployment of resources
Skill 3.1: Automate deployment of resources The ability to provision virtual machines on demand using the Azure portal is incredibly pow- erful. The true power of the cloud, however, is the ability to automatically deploy one or more resources defined in code, such as a script or a template. Use cases such as defining an…
Chapter summary – MS AZ-104 Exam Guide
Chapter summary This chapter covered several key services related to implementing storage in Microsoft Azure. Topics included how to create and manage Azure storage accounts, Blob Storage, Azure Files, importing and exporting data, Storage Explorer, AzCopy, lifecycle management, and object replication. Here are some of the key takeaways from this chapter: Thought experiment In this…
AWS Support Options – CLF-C02 Study Guide
AWS Support Options Amazon provides a rich set of AWS resources as well as human resources to assist you in AWS. There are different plans you can invest in to try to match your needs and your budget with a plan that makes sense for your organization. Figure 21-5 shows the AWS Support home page….
Other AWS Technical Resources
Other AWS Technical Resources While the preceding resources are nothing short of amazing, there are plenty of other technical resources that you might want to avail yourself of. Here are some of the biggest that you should know: AWS Prescriptive Guidance: This AWS website provides best practice strategies, guides, and patterns to help with your…