- Lab
- A Cloud Guru
Create and Save a Reusable ARM Template from an Existing Azure SQL Database
Imagine you are a database administrator supporting a software development team that builds and supports an internal inventory system. When features are under development, you and the engineering manager agree to a standard Azure SQL Database configuration that will support each developer’s need for a robust testing environment, while still providing some guardrails to keep costs under control and defined standards in place. You also want to contribute to a more streamlined workflow for developers. In this lab, you already have an Azure SQL Database that fits the agreed-upon standard, so you just need to create and save a reusable ARM template based on that deployed database, so that developers can quickly get up and running on feature development. **This is a beginner-level lab designed to introduce you to Azure's capability to generate ARM templates from existing resources. No coding experience is required. Editing and troubleshooting ARM templates is beyond the scope of this lab, but check out our other labs and lessons to learn that skill.**
Path Info
Table of Contents
-
Challenge
Generate and Save an ARM Template
- In the Azure portal, navigate to either the database or the database server.
- It doesn't matter which — there is only 1 database on the server and the database depends on the server, so an identical template will be produced from both.
- Export the template.
- Un-select "Include parameters" to see the template regenerate.
- Download the template to your local drive.
- Add the template to the shared library.
- In the search bar at the top of the portal, search for and select Template Specsto view the template.
- In the Azure portal, navigate to either the database or the database server.
-
Challenge
Optional: Deploy Template
You can try deploying the template, but due to restrictions in our lab environment, several steps will fail.
Nonetheless, you are free to try it and see what a failure looks like and drill into the troubleshooting details offered.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.