- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Data

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.**

Lab 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.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.