Module Deployment - Your Cloud Buddy

Download Report

Transcript Module Deployment - Your Cloud Buddy

Email me: [email protected]

From Visual Studio:
 Developers can create new applications that are
hosted in AppFabric
 Developers can publish and debug applications

From IIS Manager:
 Can refine application configurations and export
packages
 Can import packages to set up new machines
 MSDeploy features

Can automate with Command Line



Web Deploy is free, 5 MB Download
Download from http://www.iis.net/
Simple Install – Just use Complete option

Remote Agent
Service

https://myserver.com:8172/MSDeploy.axd

Relies on Web Management
Service

Management
Service Delegation

IIS 7 Deployment
Handler
IIS Manager UI Module (shown later)


Ensure firewall has port 8172 open for TCP traffic.
Must enable Remote Connections (otherwise get 403
Forbidden error) using Management Service Feature
at Server Level
NOTE: This will enable remote access only for administrators. To enable for other
users, you must configure Management Service Delegation.

Inside IIS Manager
 Export at various levels:
▪ Server
▪ Web Site
▪ Application

appHostConfig
 All of a website’s content, config and certificates.
 Useful if you need to include bindings (e.g., net.pipe)

iisApp
 All directory content and marks as application

dbFullSql
 Deploys initial database from source script or
connection string

package
 Exports archive to a zip file.

Installs to: %Program Files%\IIS\Microsoft Web
Deploy (both 32 bit and 64 bit paths)

Command line:

msdeploy.exe -verb:sync -source:contentPath="Default
Web Site" -dest:package=c:\DWS.zip

PowerShell:

Unfortunately, RTW version removed PS Support! You can use
.NET API’s, see:
http://blogs.iis.net/jamescoo/archive/2009/09/09/coolmsdeploy-powershell-scripts.aspx
Creating, Importing & Exporting
Packages
Packaging a Workflow Service
with VS
 One-Click Publish in VS
 Deploying Database Data &
Schema
 Importing/Exporting with IIS
Manager

E-mail me with questions: [email protected]