Code Monkey home page Code Monkey logo

azureautomation / ultimate-create-web-site--sql-db-and-storage-with-build-in-diagnostics Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 14 KB

This sample is a modified version of New-AzureWebsitewithDB.ps1 with built in testing. Pass in -testScript "TEST", and the script creates a random string, and uses that string to create all the resources (SQL DB, Web site, Storage) then deletes them at the end. You can use

License: Other

PowerShell 100.00%
azureautomationrunbookgallery

ultimate-create-web-site--sql-db-and-storage-with-build-in-diagnostics's Introduction

Ultimate Create Web site, SQL DB and storage with build in diagnostics

 

  This sample is a modified version of New-AzureWebsitewithDB.ps1 with built in testing. Pass in -testScript 'TEST', and the script creates a random string, and uses that string to create all the resources (SQL DB, Web site, Storage) then deletes them at the end. You can use PowerShell ISE, set a breakpoint at the end of the script where we delete the test resources. You can either deploy an ap to Azure to test the created resources or just naviage to the portal to inspect them.

 

An additional advantage this script has over the orignial version, you can pass in the name of the DB sever and a new DB server will not be created. DB Servers are very expensive resources, and you typically don't create a new DB server for test and dev.

 

TechNet gallery is retiring! This script was migrated from TechNet script center to GitHub by Microsoft Azure Automation product group. All the Script Center fields like Rating, RatingCount and DownloadCount have been carried over to Github as-is for the migrated scripts only. Note : The Script Center fields will not be applicable for the new repositories created in Github & hence those fields will not show up for new Github repositories.

ultimate-create-web-site--sql-db-and-storage-with-build-in-diagnostics's People

Watchers

James Cloos avatar Azure Automation Product Team  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.