Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Azure Resource Group Model: Modern Management for Modern Cloud

Download

Right click “Save as…”

Slides (view online)
+ My Schedule- My Schedule

Do you want to look at your entire application as a unit, create a template for your app and deploy it automatically to your dev-test environment? Make sure dependencies across your resources are managed automatically? How about your group resources the any way you like by tagging them?  If you answered yes to any of these, then let us introduce you to a modern cloud management solution for Azure.

For more information, check out this course on Microsoft Virtual Academy:

Follow the Discussion

  • due some misses in presentation, is not clear how easy to use is this tool

  • @carlospinedag - any questions I can answer for you? 

  • Is there some info about how to use the powershell resource group commands? I have deployed a web/sql resource group, and modified various settings on the portal. Now I want to download the template so I can modify and then deploy a to new resource group. Basically want to make exact copy with a new name.

     

  • There is an article here. The cmdlet reference is here.

    Right now there is no way to export an existing resource group to a template. Agree it's a really important scenario.

  • @guayan: Thanks for the links. A few questions

    I am using the WebSiteSQLDatabase template

    1. Can I link the SQL DB to an existing db server? When I tried I get an error that server already exists (which it does)

    2. Can I specify the db server "allowed ip addresses". I have two ip addresses that i need to set.

     

     

     

  • @DouglasJWoods:

    A SQL Azure DB is a child resource of a SQL Azure Server, and hence its lifecycle is tied to the parent. If you want to use an existing SQL Azure Server, you have two choices:

    • Option 1

      • Apply the WebSiteSQLDatabase template to the Resource Group (RG) that already houses the existing SQL Azure Server.

        • You will have to use the same values in the Template that the SQL Azure Server is already deployed with. (You can GET the details of the said Server).

        • This will deploy the net new SQL Azure DB into the existing SQL Azure Server.

        • This will also deploy the Website and the related resources in the same RG. 

    • Option 2

      • Author Template number 1 with just a SQL Azure Server and a SQL Azure DB and apply to the existing RG with the said server.

      • Author Template number 2 with the Website and related resources, and apply to a net new RG.

        • Pass the SQL Azure DB connection string from template number 1 as a Parameter input into the template number 2.

    Wrt your question about the "allowed ip addresses". These is set on "Firewall Rules" object which is a child on the SQL Azure Server. So which ever approach you go with from above, you can add the IP's under the "Firewall Rules" of that server in the template.

    Hope that helps.

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.