7. • Download and install WAPP CmdLets
• Download a .publishsettings file
• Use Import-AzurePublishSettingsFile CmdLet
• Use Set-AzureSubscription or Select-AzureSubscription to set the correct
subscription
• To see a list of gallery and saved images Get-AzureVMImage
• You need to specify an image name, a cloud service name, a machine name, a VM
size, a Windows password and a location
• Use New-AzureVMConfig to provide the config, Add-AzureProvisioningConfig to
add the Windows provisioning, Add-AzureDataDisk to add an additional disk,
Add-AzureEndpoint to setup an Azure endpoint on 1433
• Use Get-AzureDisk | Select DiskName and Remove-AzureDisk –DiskName –
DeleteVHD to remove
8. • Remote desktop on to the machine
• Update the SQL Server to use Mixed Mode authentication
• Create and login and user with a password
• Add the user to the dbowner role
• Open an incoming port on the firewall to allow access to port 1433
• Open up SSMS
• Enter the credentials to the DNS endpoint
• Login and manipulate the database
• Take all of the above and script into a powershell script!
9.
10.
11.
12.
13. POST
https://management.core.windows.net/<subscription- • Deployment
• RoleList
id>/services/hostedservices/<service- • Role
name>/deployments/ • ConfigurationSet
• Windows
• Domain Join
• Certificates
• Linux
• SSH
Requests are • Network
• Endpoints
asynchronous so you • Endpoint
• Loadbalancer
• Subnet
need to poll for success • Availability Set
• DataDisks
with the “x-ms-request-id” • DataDisk
• OS Disk
• Role Size
• Virtual Network
• DNS Servers
18. Cloud Service Acts as a Networking Boundary
All VMs in the same service can communicate directly
Name resolution between VMs is automatic with Windows Azure
provided DNS
Cloud Service Load Balancer
Public IP
Name: myapp1.cloudapp.net
Virtual Machine Virtual Machine
VM Name: appsrv1 DIP VM Name: appsrv2
10.1.5.6 10.1.5.7
Virtual Machine
VM Name: SQLServer1
10.1.5.8
19. Hardware Load Balancer on client side for load
balancing across internal only VPN tunnel.
Cloud Service
Web/App Mirrored DBs
Load Balancer VPN Gateway
Site to Site VPN Tunnel
Web/App
20. Software Load Balancer for Internal LB
Use an SLB such as the ARR extension of IIS7.5 when site-to-site only
connectivity is a requirement.
Cloud Service
Web/App Mirrored DBs
SLB
VPN Gateway
Site to Site VPN Tunnel
Web/App
21. Contoso.com Active Directory
Contoso.com Active Directory
Site to Site VPN Tunnel
AD Authentication
+
On-Premises Resources
Load Balancer
Public IP
22. Contoso.com Active Directory
Contoso.com Active Directory
Site to Site VPN Tunnel
AD Replication
+
On Premises Resources AD Auth
Load Balancer
Public IP
23. Contoso.com Active Directory
Extranet Active Directory
Site to Site VPN Tunnel
On Premises Resources
AD Auth
Load Balancer
Public IP
This use case is when you already have a “golden image(s)” your company uses for server provisioning or you have a VM running on premises that you would just like to run in our data center. You take the vhd – use CSUpload to upload as a page blob to a storage account. From there use the portal to add as an image (sysprepped) or disk (configured VM) and there you can create a VM based off of the vhd.