Audience: IT Professionals, Architects and Developers

Download Report

Transcript Audience: IT Professionals, Architects and Developers

Partner Practice Enablement - Overview
Module 1 – Introduction to Microsoft Azure
Module 2 – Microsoft Azure Virtual Machines
Module 3 – Microsoft Azure Networking
Module 4 – Microsoft Azure Active Directory
Module 5 - Cloud Services and Websites
Module 6 - SQL Server and SharePoint
Module 7 - Management and Monitoring
This session will focus on integration strategies for applications deployed using Microsoft Azure Websites and Microsoft Azure Cloud
Services. Learn how to securely consume services in a virtual machine from your applications.
Audience: IT Professionals, Architects and Developers
Cloud Services, Websites and
Infrastructure Services
Agenda
Microsoft Azure Compute
Virtual Machines and Cloud Services
Virtual Machines and Websites
Azure Websites for IT Professionals
Microsoft Azure Compute
Why Integrate?
Allows development of new applications or migration of existing applications that have dependencies
on resources that require virtual machines such as SQL Server, Mongo DB, Oracle etc...
Using Microsoft Azure Virtual Networks to connect to on-premises resources allows for line of
business applications hosted in Microsoft Azure.
Cloud Services
Workloads for Cloud Services
Workloads that are designed to be stateless and can be
easily scaled to multiple instances
N-Tier Applications are well suited because Cloud Service
has superb support for cross role communication and
discovery.
Your choice of language and frameworks as long as it runs
on Windows.
Workloads that can be deployed in an automated fashion
Microsoft Azure Service Model
VIP Swap
Mixing Virtual Machines & Stateless Roles
Virtual Machines and Cloud Services Side by Side
Connecting Cloud Services via VIPs
Simplicity
Tenant Autonomy
Easy Local Dev/Test
DEMO
Cloud Services VIP Connectivity
Connecting Cloud Services with VNET
Lower Latency
Protect VMs from the open Internet
Advanced Connectivity Requirements
DEMO
Cloud Services Virtual Network Connectivity
Websites
Creating a Web Site
Using the Azure Management Portal
QUICK CREATE
CUSTOM CREATE
FROM GALLERY
Publishing Web Sites
FTP
FTP Client (ie: FileZilla)
Visual Studio
Web Deploy
Visual Studio
Git
Usually Automated via Service Hooks
Automating Web Site Deployment
Publishing with Command Line Tools
MSBuild
FTP Scripts
PowerShell
Cross-Platform Command Line Interface (CLI)
Web Deploy Command Line
Publishing from Source Control
Generally to a staged deployment slot…
Deployment Slots
A separate web site linked to your primary web site.
Each deployment slot has it’s own URL and runtime
environment.
Staged Publishing
Publish updates to your web site into the staging
deployment slot.
Run and Test in the Staging slot.
Instantly Swap the Staging and Production Slots
• “Go Live”
• “Oops!”
Publishing From Source Control
Git or Mercurial repositories
are supported.
Connecting Websites via VIPs
Access any backend that can be
hosted on a virtual machine.
Access on-premises resources
using virtual machine hosted in
virtual network.
LAB
Websites with VIP Connectivity
Custom Domains and SSL for
Azure Websites
Custom Domains
<sitename>.azurewebsites.net
Custom
RECORD TYPE
NAME
VALUE
A
contoso.com
138.91.225.40
CNAME
www.contoso.com
contosoweb.azurewebsites.net
CNAME
support.contoso.com
contosoweb.azurewebsites.net
CNAME
awverify.contoso.com
awverify.contosoweb.azurewebsites.net
Configuring Custom Domains
DNS Registrar
Add A or CNAME Record(s).
Azure Management Portal
In domain names section of the
configure page for the web site.
Click the manage domains button.
• Add domain name(s)
SSL with Azure Web Sites
SSL Provided by Default
https://contosoweb.azurewebsites.net.
SSL with Custom Domain
Requires Standard Mode
SSL Bindings
Server Name Indication (SNI) SSL
• Modern Applications and OS’s capable of using SNI SSL
• Multiple domains can share the same IP Address
IP Based SSL
• Traditional SSL that supports older applications and OS’s
• One domain per IP Address
Configuring SSL in Azure Web Sites
Obtain certificate(s) from a Certificate Authority.
Upload Certificate(s) to Azure.
• .pfx with password
Configure SSL Bindings.
IP Based SSL Considerations
Dedicated IP Address (inbound)
Assigned to the Web Site.
Can be retrieved in the quick glance section of the
DASHBOARD page of the web site.
Not the same as the Load Balancer IP Address used when
configuring the A Record for a custom domain.
• A Record must be updated to use this Virtual IP Address.
Scaling Websites
Scaling Options
Scale Up
Scale Out
LARGE
SMALL
MEDIUM
CORES
14CORES
CORE
2
7 GB
MEMORY
1.75
GB
MEMORY
3.5
GB
MEMORY
GB
STORAGE
150
GB
STORAGE
10
GB
STORAGE
For more information on websites options
http://azure.microsoft.com/en-us/pricing/details/websites/
Websites Scalability
Free
Shared
Basic
Standard
10
100
Unlimited
Unlimited
1 GB
1 GB
10 GB
50 GB
Shared
Shared
Dedicated
Dedicated
Scale Out
1
6
3
10
AutoScale
No
No
No
Yes
Web Sites
Storage
Compute Instance
Size
CPU Cores
Memory
Small
1
1.75 GB
Medium
2
3.5 GB
Large
4
7 GB
Backup and Restore Websites
Backup and Restore Feature
Provides back and restore services for your web site
and linked resources (databases).
Requirements
Standard Mode
An Azure Storage Account (same subscription the web
site is deployed in)
• Backups are stored in Blob storage.
Website Backup
How Backups are Initiated
Manual or Automated
Content Included in the Backup
Website configuration
Website files (content)
Linked Resources (SQL Database, MySQL)
How Backups are Stored
Azure Storage Account (blob)
• Container name: “websitebackups”
A backup consists of a .ZIP file (the backup) and a .XML file (the manifest for the .ZIP).
Website Restore
Website Restore Targets
Current Website
• Existing Website is overwritten
New Website
• Creates a new Website in the same region as the original.
• Website name is “restored-originalWebsiteName”
Database Restore Targets
None
Restore to a different database server
Restore to the original database
Site Control Management
(“Kudu”)
What is “Kudu”?
A Separate Companion/Administrative Web Site to
your Web Site
Your Web Site: http://contoso.azurewebsites.net
Kudu Web Site: https://contoso.scm.azurewebsites.net
Authentication
Only the owner of a Web Site can Access the Kudu Site
Use Credentials Associated with your Microsoft Azure
Subscription
Every Web Site gets a Kudu Site by Default
Including Staging and Production slots
Security Context
• APP SETTINGS
contoso
• CONNECTION
STRINGS
• ENVIRONMENT
VARIABLES
• SERVER
VARIABLES
Cloud Drive
• SYSTEM
INFORMATION
kudu
More About Kudu
Developed as an Open Source Project
https://github.com/projectkudu/kudu
Contribute to it or host your own
Kudu is a “Site Extension”
An Extension to your Web Site
It has access to the file system and runtime
environment of your Web Site
Web Site Extension Gallery
Summary
Microsoft Azure Compute
Virtual Machines and Cloud Services
Virtual Machines and Websites
Azure Websites for IT Professionals
Suggested Learning Exercises
Assignment
Estimated Time
Hands-on Labs and Tutorials
Connecting a PaaS application to an IaaS Application
https://github.com/WindowsAzure-TrainingKit/HOL-ConnectingApplications
• 45 minutes
Connecting a PaaS application to an IaaS Application with a Virtual Network
https://github.com/WindowsAzure-TrainingKit/HOL-ConnectingApplicationsVNet
Deploying a .NET Website with a MongoDB Backend on a Virtual Machine
http://www.windowsazure.com/en-us/documentation/articles/web-sites-dotnetstore-data-mongodb-vm/
Video
IaaS + PaaS = <3
http://channel9.msdn.com/Events/TechEd/NorthAmerica/2013/WAD-B325
Microsoft Azure Websites
http://channel9.msdn.com/Events/windowsazure/Learn-2012TechEd-EU/WebSites
• 45 minutes
• 45 minutes
• 1 hour
• 1 hour
Session Resources
Microsoft Azure Virtual Network Overview
http://msdn.microsoft.com/en-us/library/windowsazure/jj156007.aspx
Instructor Led Training – Microsoft Azure for IT Professionals and Developers
http://www.opsgility.com/courses/itpro-five-day
http://www.opsgility.com/courses/dev-four-day
Network ACL Capability in Microsoft Azure PowerShell
http://michaelwasham.com/windows-azure-powershell-reference-guide/network-access-control-listcapability-in-windows-azure-powershell/
Microsoft Azure Resources
Microsoft Partner Learning Path
https://mspartnerlp.mspartner.microsoft.com/LearningPath
Microsoft Azure Friday
http://www.windowsazure.com/en-us/documentation/videos/windows-azure-friday/
Microsoft Virtual Academy
http://www.microsoftvirtualacademy.com
Channel 9 Microsoft Azure
http://channel9.msdn.com/WindowsAzure
Questions
http://stackoverflow.com/questions/tagged/azure
http://social.msdn.microsoft.com/Forums/windowsazure
Coming Up Next . . .
SQL Server and SharePoint
Thank You