running your dev/test in microsoft azure
Post on 11-Jan-2017
237 Views
Preview:
TRANSCRIPT
Development and Test in Microsoft AzureDrew McDaniel MicrosoftMichael Washam OpsgilityRick Rainey Opsgility
DEV-B328
Economics of using Microsoft Azure for Dev/TestIntroduction to Dev/Test WorkloadsDev/Test with Virtual MachinesDev/Test with Web Sites
Agenda
Why Use Azure for Dev & Test
hybridautomatedusage based
economics ease of use
scalability
Pay for what you use!
Pay by the minuteMSDN Usage
PowerShell/DSC Puppet/ChefVisual Studio
Connect to local data
Multiple environments
Simple to scale test
Access to the tools and services needed by developers, testers, IT professionals, database engineers and others.Benefits include
• Windows Azure• Visual Studio Online (formerly TFS)• Priority access to new and past products• Technical Support Incidents• Priority support in MSDN Forums• Microsoft E-Learning• Cost effective software licensing for development and
testing
MSDN Subscriptions Overview
Lowest Price, Highest Value OptionsMSDN Offer for Dev and TestWindows (Client and Server)SQL Server and BizTalkSpecial Images
BASIC VM Sizes for Dev, Test and ProdBest value VMsBYOLB and BYOAutoScaleBASIC.A1$152.92 / year (8x5 work)$91.52 / year (8x5 and MSDN)
MSDN Dev/Test RatesStandard/
hour MSDN/hour SavingsWindows Server $0.09 $0.06 33%
SQL Standard $0.64 $0.06 90%
BizTalk Standard $.75 $0.06 92%
SQL Enterprise $2.19 $0.06 97%
BizTalk Enterprise $2.11 $0 .06 97%
MSDN Credits
$50PER MONTH
professional
$100
PER MONTH
premium
$150
PER MONTH
ultimate
3 Virtual Machines for 16 hours a day
80 Virtual Machines for 20 hours load test
+Up to 500 web sites and a database
24
100
With Basic Sizes
Two Perspectives
Application Owner
Challenges / Needs Rapidly self-provision
development and test environments
Experiment and innovate
Scalability and load testing
Datacenter Admin
Challenges / Needs Maintain production
SLA Hardware budget Licensing constraints Resource contention
with Virtual Machines
Consume Manage
Dev & Test on Microsoft Azure
Application Owner
Agility Use existing tools
and languages Provision virtual
machines from pre-configured images
Leverage tools and services to perform scalability and load testing
Datacenter Admin
Control Centralized visibility
and governance Secure connectivity
to datacenter and cloud
Optimized price performance
Self-provision VM’s and scale asneeded
Setup and manage environments
Manage
Supporting Application Owners
Developer
Enable experimentation and innovation
Use pre-configured images from the gallery
Use own custom images Build, your Test, Learn
On Premise + Microsoft Azure
PowerShell
Sandbox Environments
DEV/TEST
QA
DEVVPN
Setting up a Dev/Test Environment
Using Existing EnvironmentsConnectivity to your Azure Environment Upload existing virtual machines using PowerShell
Building New EnvironmentsTaking advantage of the platform. Using OS and VM Images, load balancing and automation.
Cloud Services and Virtual MachinesCloud ServiceA container for VMs that acts as a network and security boundary. External Traffic through endpoints Load Balancing Availability Sets
Cloud Service IP AddressCloud service URL is mapped to a public IP http://mywebapp.cloudapp.net = 137.135.67.36All external traffic to virtual machines uses this IP.IP can be lost if all VMs are de-allocated (unless using a reserved IP).
WEB1
mywebapp.cloudapp.net
Local 80 Local 3389
Virtual NetworksDeclare your own address space in the cloudPrivate Predictable and Persistent IP AddressesSupport for Static Internal IP addressesSupport for specifying DNS Servers
Advanced ConnectivityConnect multiple cloud services (VMs or Web/Worker Roles)Connect multiple virtual networks even across regions (NEW)Support for Internal Load Balancing (NEW)Hybrid Connectivity (Optional) Site to Site Point to Site ExpressRoute
IP Allocation with Virtual NetworksIPs are allocated based on order of provisioning. (1st 4 IPs are reserved)Subnet: 10.0.0.0/241. VM1 = 10.0.0.4 2. VM2 = 10.0.0.5
If VMs are re-allocated in a different order they get different IP addresses 1. VM2 = 10.0.0.4 2. VM1 = 10.0.0.5
Use Static IP addresses to retain IP regardless of orderSet-AzureStaticVNetIP
Hybrid Connectivity for Remote DevelopmentOn-premises
Your datacenter
Individual computers behind corporate firewall
Point-to-Site
Microsoft Azure
Virtual NetworkVPN Gateway
WFE App
VPN Gateway
Dev & TestRemote from Starbucks
SQL DC/DNS
Microsoft Azure Load BalancerVirtual Network Address Space: 10.0.0.0/16
WEB1Subnet WEB
10.0.1.4
Cloud Service
WEB2Subnet WEB
10.0.1.5
AV Set: WEB
APP1Subnet APPS
10.0.2.4
APP2Subnet APPS
10.0.2.5
AV Set: APP
WEB3Subnet WEB
10.0.1.5
APP3Subnet APPS
10.0.2.5
168.62.213.228
http://appservers10.0.2.50
Load BalancerMicrosoft Azure Supports Round Robin Load Balancing for VMs in the same Cloud Service.
External and Internal SupportConfigure load balanced endpoints on the external IP or create a new internal IP for n-tier or intranet scenarios
Health ProbesSupport for TCP and HTTP based health probes to automatically remove a VM from load balancing if it is unhealthy.
NEWInternal Load
Balancer Support
Creating Images for Multiple InstancesSave-AzureVMImage -OSState GeneralizedCreates a clone of the virtual machine and saves it to the image gallery. Assumes that the virtual machine is sysprepped.
Retains OS Disk and Data Disks.
Use when multiple instances of the same image will be created in the same cloud service or virtual network.
Testing Changes to Your EnvironmentSave-AzureVMImage–OSState Specialized to make an image of your virtual machine in its current state prior to making changes.
Delete Virtual Machine and Recreate for RollbackRemove-AzureVM –ServiceName $service –Name $vmNameNew-AzureVMConfig –ImageName $image …
Dev & Test with Azure Web Sites Quick and Easy Access to LogsIIS, HTTP, Failed Request, HTTP Logs
Debug in AzureAttach to and debug your site while it is running in Azure
Load TestingDefine and Run Load Tests in Azure using Visual Studio Online
Staging Stage a Web Site before swapping it into a Production Environment
Dev/Test on Microsoft Azurehttp://azure.microsoft.com/en-us/solutions/dev-test/Dev/Test Scripts on GitHub
https://github.com/Azure/azure-sdk-tools-samples/tree/master/solutions/dev-test
Resources
DCIM-B305 What’s New in Microsoft Azure Networking DCIM-B383 What's New in Microsoft Azure IaaS DEV-B381 What’s New with Microsoft Azure Web Sites DEV-B211 Getting Started with Visual Studio Online
TechEd Sessions
Summary• Economics of using Microsoft
Azure for Dev/Test• Introduction to Dev/Test
Workloads• Dev/Test with Virtual Machines• Dev/Test with Web Sites
Visit the Developer Platform & Tools BoothHaving a friend buy your coffee?Yea, it’s kind of like that.
MSDN Subscribers get up to $150/mo in Azure credits.
Stop by the Developer Platform and Tools booth and visit the MSDN Subscriptions station to activate your benefits and receive a gift!http://aka.ms/msdn_teched
3 Steps to New Gear! With Application Insights
1. Create a Visual Studio Online account http://visualstudio.com
2. Install
Application Insights Tools for Visual Studio Online http://aka.ms/aivsix
3. Come to our booth for a t-shirt and a chance to win!
VSIP QR Tag Contests Visit our booth to join the hunt for cool prizes!
ResourcesMicrosoft Engineering Stories
How Microsoft Builds Softwarehttp://aka.ms/EngineeringStories
Visual Studio Industry Partner Program
Meet Our New Visual Studio Online Partners or Join Now.http://vsipprogram.com
Visual Studio | Integrate
Create Your Own Dev Environmenthttp://integrate.visualstudio.com
Development tools & services for teams of all sizeshttp://www.visualstudio.com
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
top related