Krishna
Krishna

Reputation: 2481

Automating Azure deploy

I have created a configurable mvc5 application, lets say a kind of template (web UI with sql server and entity framework) with configuration values in a database table

Our Customers will fill in a form that includes configuration parameters like Application Name, Logo file, Footer statement (the same parameters as the template mvc5)

upon completion of the form, I want to automate the following

  1. create new database for this customer
  2. Create new blob service (there is an element of file storage in the app)
  3. Deploy an instance of the template MVC
  4. Update database with configuration parameters
  5. provide the link of working Azure app to the customer

Is this possible? Most of SO and google results seem to be pointing towards to automating build and deploy to an existing Azure instance, which is not what I am after

Upvotes: 0

Views: 202

Answers (1)

Tom Sun
Tom Sun

Reputation: 24569

It seems that we can do that via Azure Resource Template. We could link WebApp source code to GitHub repository, more info please refer to document. We also could create our arm template easily with VS tools. We could add/remove resources as we need. More detail steps please refer to Creating and deploying Azure resource groups through Visual Studio. About how to set template parameters, we could edit the parameter value in the xxx.parameters.json.

Upvotes: 1

Related Questions