Terraform for the Azure ARM Developers

HashiCorp has launched 1.10 of the Terraform launching many more azure services than they used to for the Azure Provider. More details can be read here on their github page. Up until now, Azure ARM has been the choice of Azure Automation for DevOps practitioners. Since terraform can be used to automatically provision resources across major cloud providers, it is better to learn terraform sooner rather than later. In this blog post, we’ll see how the Terraform translates with respect to Azure ARM and understand its way of doing things.

Providers

Terraform allows to create, configure and manage almost all types of resources from on-premise physical machines to cloud based resources. Continue reading “Terraform for the Azure ARM Developers”

Selectively enable features in the VSTS Project

Visual Studio Team Services or VSTS is a end to end DevOps offering from Microsoft. Microsoft is slowly rolling out the new UI for VSTS which has brought many new features.  One of these exciting features is the option to selectively enable or disable all features related to Work Management, Build and Release Management, Source Code Management etc. at project level.

So it allows you to turn off the features you do not need. Building on our previous blog post, where we made use of VSTS for hosting open source code software development, we can decide to turn off features like work management completely. Not only this, we can choose to re-enable the functionality at later point in time without losing any data. Continue reading “Selectively enable features in the VSTS Project”

Host Open Source Software Repositories in VSTS using Public Projects

Visual Studio Team Services or VSTS has launched the concept of Public Projects to help with Open Source code hosting. A Public Project is just like any other project in the VSTS. However, it allows non members of a project and users who aren’t signed in to the project, read-only, limited access to the project’s artifacts and services. This allows anonymous users to be able to view the contents of that project in a read-only state enabling collaboration with anonymous (un-authenticated) users that wasn’t possible before.

Public projects can be added to an existing organization or VSTS account or any existing project can also be made public by changing project’s visibility settings.  Continue reading “Host Open Source Software Repositories in VSTS using Public Projects”

Recover the deleted VSTS Git Repository

This might be not as uncommon as deleting the VSTS account, but this is critically important to the end users. Up until now, there was no way to recover the deleted VSTS git repository. However, with the launch of new version of API,  there is now a way to recover them and keep our jobs for another day.

However, this functionality is not yet available for GUI lovers and for now, available at API level only.  In this blog post, we’ll learn how to restore a deleted git repository by using REST APIs inside postman tool. However, you can use any REST client for this purpose.  Continue reading “Recover the deleted VSTS Git Repository”

Recover the deleted VSTS account

This is one of the rare occurrence but one may come across this scenario. Once a VSTS account is deleted, Microsoft keeps it for 30 days (although in a deactivated state). So it is possible to recover the deleted account during those 30 days.

In this blog post, we’ll learn the steps required to restore a deleted VSTS account.  For this post’s purpose, I’ll delete my personal VSTS account i.e. mohitgoyal.visualstudio.com. Only a VSTS admin can delete the VSTS account. Since I am the owner of the account, so I have this privilege.

In the handsight, we’ll also know how to delete the VSTS account 😉

Delete the VSTS account

To delete the account, we need to go to account settings -> settings Continue reading “Recover the deleted VSTS account”