Skip to content

Code samples and extended documentation to support the guidance provided in the Microsoft Cloud Adoption Framework

License

Notifications You must be signed in to change notification settings

akitson-degreed/CloudAdoptionFramework

 
 

Repository files navigation

Overview | Installation | Updating | Using the API | Version History | FAQ | Contributors

Azure Naming Tool v2 - Overview

Stay up to date on new features and announcements here:

2021 Twitter logo - blue AzureNamingTool

Image representing the Azure Naming Tool

Overview

Azure Academy Video

Project Structure

Installation

Important Notes

Pages

Overview

The Naming Tool was developed using a naming pattern based on Microsoft's best practices. Once an administrator has defined the organizational components, users can use the tool to generate a name for the desired Azure resource.

Want a deep dive into the tool?

Check out Bryan Soltis's blog here: Deep Diving into the Azure Naming Tool

Azure Academy Video

Dean Cefola with Azure Academy made a great overview video. Click the image below to view the video on installing and configuring the tool as a container.

Azure Academy Overview Video

Project Structure

The Azure Naming Tool is a .NET 6 Blazor application with a RESTful API. The UI consists of several pages to allow the configuration and generation of Azure Resource names. The API provides a programmatic interface for the functionality. Additionally, the application contains Docker support, allowing the site to be run as a stand-alone application or a container.

Project Components

  • UI/Admin
  • API
  • JSON configuration files
  • Dockerfile

Installation

Important Notes

The following are important notes/aspects of the Azure Naming Tool:

  • The application is designed to run as a stand-alone solution, with no internet/Azure connection.

  • The application can be run as a .NET 6 site, or as a Docker container.

  • The site can be hosted in any environment, including internal or in a public/private cloud.

  • The application uses local JSON files to store the configuration of the components.

  • The application requires persistent storage. A volume is required to store configuration files, if running as a container.

  • The application contains a repository folder, which contains the default component configuration JSON files. When deployed, these files are then copied to the settings folder.

  • The Admin interface allows configurations to be "reset", if needed. This process copies the configuration from the repository folder to the settings folder.

  • The API requires an API Key for all executions. A default API Key (guid) will be generated on first launch. This value can be updated in the Admin section.

  • On the first launch, the application will prompt for the Admin password to be set.

    Admin Password Prompt

Pages

Home Page

The Home Page provides an overview of the tool and the components.

Home Page

Configuration

The Configuration Page shows the current Name Generation configuration. This page also provides an Admin section for updating the configuration.

Configuration Page

Reference

The Reference Page provides examples for each type of Azure resource. The example values do not include any excluded naming components. Optional components are always displayed and are identified below the example. Since unique names are only required at specific scopes, the examples provided are only generated for the scopes above the resource scope: resource group, resource group & region, region, global, subscription, and tenant.

Reference Page

Generate

The Generate Page provides a dropdown menu to select an Azure resource. Once a resource is selected, naming component options are provided. Read-only components, like the value for a resource type or organization, cannot be changed. Optional components, if left blank, will be null and not shown in the output. Required components do not allow a null value, and the first value in the array is set as the default.

Generate Page

About

Code samples and extended documentation to support the guidance provided in the Microsoft Cloud Adoption Framework

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 60.7%
  • C# 37.1%
  • Bicep 1.2%
  • Other 1.0%