1 / 19

Building Apps with IaaS and PaaS

Building Apps with IaaS and PaaS. Name Title Organization. Agenda. IaaS and PaaS Application Patterns Mixed Apps as a Migration Path. Why Mix Models?. What Value does this Provide?

topper
Download Presentation

Building Apps with IaaS and PaaS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building Apps with IaaS and PaaS Name Title Organization

  2. Agenda IaaS and PaaS Application Patterns Mixed Apps as a Migration Path

  3. Why Mix Models? What Value does this Provide? Unblocks Development or Migration of new applications that have dependencies on resources that require virtual machines such as Active Directory, MongoDB, MySQL, SharePoint, SQL Server, COM+, MSMQ etc… Migration On-Ramp for Existing Applications Administrators can quickly take advantage of Windows Azure by migrating an existing application as-is using virtual machines. If desired, connecting different application models such as websites or web and worker roles provides the capability to take advantage of PaaS roles alongside IaaS roles.

  4. Windows Azure Service Model Example cloud service configuration with a single web role and a single worker role Cloud Service Web Role Worker Role VM3 VM1 • VM2 • VM4 VM1 • VM2 VM3 • VM4 • VM5 • VM7 • VM8 • VM6 • VM5 • VMn • … • VM9 • VMn • …

  5. Mixing Virtual Machines and Stateless RolesMultiple cloud services with stateless and virtual machines Cloud Service 1 Cloud Service 2 Web Role Worker Role Virtual Machine Virtual Machine VM1 VM1 • VM2 • VM2 • VM5 • VM5 • VM6 • VM6 VM1 VM1 • VMn • VMn • …

  6. Application Patterns

  7. Connecting Cloud Services via VIPs Strengths Simplicity Tenant Autonomy VIP Swap (stateless roles) Easy Local Dev/Test Persistent Service is Easily Accessible (even from other services!) Cloud Service 1 Load Balancer SQL Data Access Traffic Through Public Endpoint 80 WA Web Role Weaknesses Higher LatencyLess Secure Management/Deployment Overhead Cloud Service 2 2001-1433 SQL Server Secure Endpoints with Windows Server Firewall Load Balancer

  8. Deployment Steps (VIP Connectivity) • Deploy VM’s • Deploy Virtual Machine(s) Customize • Use RDP to customize the new virtual machine(s) by installing software, configuring roles etc. Configure Endpoints • Configure public endpoints to virtual machine services. ACL with firewall as appropriate. Local Dev/Test • Build and test locally using the emulator. Testing live can be achieved by using public endpoints. DeployService • Specify instance count and other configuration details. Deploy to a separate hosted service.

  9. Connecting Cloud Services with VNET Strengths More Secure Low Latency Cloud App Autonomy VIP Swap (stateless roles) Advanced Connectivity Requirements ContosoVNet (10.0.0.0/8) Cloud Service1 FrontEndSubnet (10.0.0.0/16) 80 WA Web Role Load Balancer Weaknesses VNET Complexity No iDNS – use BYOD Direct Access via VNET Cloud Service 2 SQLSubnet (10.1.0.0/16) AD AD Subnet (10.2.0.0/16) SQL Mirror

  10. VNET Connected – Local Testing ContosoVNet (10.0.0.0/8) MyAffinityGroup Manage Multiple Connection Strings via Multiple Configurations Cloud Service1 FrontEndSubnet (10.0.0.0/16) 80 WA Web Role Load Balancer Direct Access via VNET Developer Fabric Cloud Service 2 SQLSubnet (10.1.0.0/16) AD Subnet (10.2.0.0/16) 1433 AD SQL Mirror Developer WA Developer Fabric

  11. VNET Connected with VPNContosoVNet (10.0.0.0/8) MyAffinityGroup On Premises Cloud Service 1 FrontEndSubnet (10.0.0.0/16) 80 Developer WA Web Role WA Developer Fabric Load Balancer VPN Tunnel Direct Access via VNET AD / DNS Cloud Service 2 SQLSubnet (10.1.0.0/16) • Access on premises resources • Local Testing - allows direct connection to Virtual Machines in the cloud SQL Mirror AD

  12. VNET Connected Deployment Steps • Design VNET • Define virtual networks and subnets for hosted services to reside in. • Deploy VM’s • Deploy Virtual Machine(s). If AD is desired deploy at this stage so remaining VMs can start domain joined. Customize • Use RDP to customize the new persistent VM(s) by installing software, configuring roles etc… Local Dev/Test • Build and test locally using the emulator. Testing live can be achieved by using public endpoints or VPN connectivity. DeployService • Specify instance count, virtual network settings and other configuration details. Deploy to a separate hosted service. Make Production Ready • If previously opened, close public endpoints to lock down service.

  13. Mixed Mode – Shared Cloud Service Strengths Simplicity Connectivity iDNS Weaknesses Lack of VIP Swap Cloud App Available in Fall Release Virtual Machine 80 WA Web Role Load Balancer

  14. VM to VM Performance

  15. Tiered Migrations

  16. Taking Advantage of PaaS Take Advantage Where You Can Many Applications could benefit from migrating to a mixed deployment. Migrating to web/worker roles or taking advantage of other Windows Azure services (storage, cache etc..) Benefits of Web and Worker Roles Simplified Deployment and Configuration Health Model Easy High Availability Instance Scalability OS Patching Automatic Firewall Configuration Simple Certificate Deployment Many others

  17. Horizontal Migration Use Virtual Machines and VNET for Forklift Migration Convert Web Apps to Web Roles (optional) Convert App Logic to Worker Roles (optional) Web Tier Web Role AD App Tier Worker Roles Convert Data Tier to Azure SQL DB(optional) Data Tier SQL Azure

  18. Wrap Up Connecting IaaS and PaaS Connecting an application hosted in Windows Azure such as Web Sites or Web/Worker Roles with a Virtual Machine. Unblocks Building Applications with Dependencies Dependencies such as Active Directory, SharePoint, SQL Server, Linux, Mongo DB, COM+, MSMQ etc… Migration On-Ramp for Existing Applications Migrate application from on-premises take advantage of PaaS efficiencies without blockers on dependencies.

More Related