Forum Discussion
rohit_saini
Dec 13, 2021Copper Contributor
Cost analysis per project basis
We want to know the cost per-project basis. For example, we created 2 projects in the organization now we want to get cost analysis of each project. Is there any way to achieve this, thanks?
- Chandrasekhar_AryaSteel ContributorEither use tags or best way is to use subscriptions so that way cost differential will be easy . If you have already created in same subscription then use tags and generate reports based on tags or else use Azure resource mover to create a new subscription and move the resources
- rohit_sainiCopper ContributorThank you so much Chandrasekhar. One more query i am able to tagged project during creation but that tag does not appear in cost analysis service. Also could you please help me in pipeline tagging, i didn't find way to tag pipeline while we can tag build but not pipeline.
- Chandrasekhar_AryaSteel ContributorNot sure how to tag a pipeline I usually tag the resources groups or enforce tags via policy you can find a build in policy
also found below article that might give some pointer hope that helps
https://dev.to/rupeshtiwari/adding-tag-to-git-branch-in-azure-ci-pipelines-3gcp
https://dina-muscanell.com/blog/set-git-tags-with-azure-devops/