Maintain the proper naming convention and tagging for resources throughout development

We need to adhere to proper naming conventions and tagging throughout our entire environment setup, including infrastructure, application, and network resources. This practice enhances the quality attributes of our software architecture, such as mainta…


This content originally appeared on DEV Community and was authored by Binoy

We need to adhere to proper naming conventions and tagging throughout our entire environment setup, including infrastructure, application, and network resources. This practice enhances the quality attributes of our software architecture, such as maintainability, readability, and supportability.

Each project is assigned a unique name from the start of the software development life cycle. We must maintain or provide an abbreviation for the project, which will be used whenever creating or adding resources and configurations in the software. Most companies have multiple projects, requiring resources to be created in different environments.

For example, we manage two AWS accounts: a 'Non-Production Account' that includes environments like dev, QA, and staging, and a 'Production Account' that includes environments such as prod and test. The specific environments can vary based on client requirements and cost considerations.

For example, If the project name is “My E-commerce Site” and short name called “mes”.

  • {project short name}-{environment}-{resource-name}
  • {mes}-{local/dev/prod}-{devops-working-env}

We should also provide tagging when grouping resources, associating different sets of tags based on factors such as the project, resource type, and business domain.

Tag is key value pair. For example

Key Value
Project MES
Env Dev / QA / UAT / Prod
Resource Layer Database / Web / Backend / Infrastructure / Network / Security
Resource Type Database / Frontend Service / Micorservice / Messaging etc.

We need to maintain consistency throughout the entire software development life cycle to ensure the maintainability of the software.

References


This content originally appeared on DEV Community and was authored by Binoy


Print Share Comment Cite Upload Translate Updates
APA

Binoy | Sciencx (2024-07-28T18:25:52+00:00) Maintain the proper naming convention and tagging for resources throughout development. Retrieved from https://www.scien.cx/2024/07/28/maintain-the-proper-naming-convention-and-tagging-for-resources-throughout-development/

MLA
" » Maintain the proper naming convention and tagging for resources throughout development." Binoy | Sciencx - Sunday July 28, 2024, https://www.scien.cx/2024/07/28/maintain-the-proper-naming-convention-and-tagging-for-resources-throughout-development/
HARVARD
Binoy | Sciencx Sunday July 28, 2024 » Maintain the proper naming convention and tagging for resources throughout development., viewed ,<https://www.scien.cx/2024/07/28/maintain-the-proper-naming-convention-and-tagging-for-resources-throughout-development/>
VANCOUVER
Binoy | Sciencx - » Maintain the proper naming convention and tagging for resources throughout development. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/07/28/maintain-the-proper-naming-convention-and-tagging-for-resources-throughout-development/
CHICAGO
" » Maintain the proper naming convention and tagging for resources throughout development." Binoy | Sciencx - Accessed . https://www.scien.cx/2024/07/28/maintain-the-proper-naming-convention-and-tagging-for-resources-throughout-development/
IEEE
" » Maintain the proper naming convention and tagging for resources throughout development." Binoy | Sciencx [Online]. Available: https://www.scien.cx/2024/07/28/maintain-the-proper-naming-convention-and-tagging-for-resources-throughout-development/. [Accessed: ]
rf:citation
» Maintain the proper naming convention and tagging for resources throughout development | Binoy | Sciencx | https://www.scien.cx/2024/07/28/maintain-the-proper-naming-convention-and-tagging-for-resources-throughout-development/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.