• Enter your names with email Ids to login please.
• e-book of official courseware to all attendees
• Need to send summary email and post-mortem email of last sessions.
• Try to join into skype meeting via free Installed client for better connectivity. The web client seems to have
issues. Dial In Numbers have been set up. This is limited due to network crunch, hence use them only if
the data over voice quality is very bad
• The video download mp4 has been generated and will be shared in the via OneNote
• Any request for access/issues you have : http://aka.ms/azurereadyaccess
Time (SGT) Topic Speaker
12.00pm - 12.05pm (5mins) Introductions and Agenda Discussion
Saranya Sriram
12.05pm – 12.20pm (15mins) Recap of Module 3 on Azure Virtual Machines (Asia Azure Partner Technical Lead)
12.20pm – 1.05pm (45mins) Azure Cloud Services
Saranya Sriram
1.05pm-1.20pm (15mins) Cloud Services Roadmap (Asia Azure Partner Technical Lead)
1.20pm – 1.40pm (20mins) Review of links and assign reading materials and
homework Saranya Sriram
(Asia Azure Partner Technical Lead)
1.40pm – 2.00pm (20mins) Q&A and closing
https://www.microsoft.com/learning/en-us/exam-70-533.aspx
Virtual Machines
Cloud Services
Degree of Customizability
Websites
Mobile Services
Speed of Development & Ease of Maintenance
See Cloud Services See Websites, Cloud Service and Virtual Machines Comparison
2 types of roles:
web role: dedicated IIS for hosting front-end web applications.
worker role: Applications can run asynchronous, long-running
or perpetual tasks independent of user interaction or input.
Fault and Update Domains
Role (“Template”)
Keep at least two instances
running for improved fault
Configuration
tolerance and SLA.
OS Family (Server 2008, 2012) Load balanced Endpoints
VM Size are automatically
Role Type (Web, Worker) maintained.
Endpoints
Instance
Settings
Etc…
Code * Running VM, configured,
with code deployed,
endpoints opened, etc.
3
1. service definition file (.csdef)
2. service configuration file (.cscfg)
3. service package (.cspkg)
Read more
Configure OS
• OS Applies to all roles within cloud
service
• Specify
• OS family
• Windows Server 2008 SP2 (1)
• Windows Server 2008 R2 (2)
• Windows Server 2012 (3)
• Windows Server 2012 R2 (4)
• OS Version
• Specific version, or
• * - Automatic
• Get-AzureOSVersion to list
available versions
• Configure with
• Service Configuration (*.cscfg) or
• Management Portal
Configure Role Instance Count
• Must have two or more
instances to qualify for
Azure SLA (99.95)
• Instance count can
differ by role.
• Set initially in Service
Configuration (*.cscfg)
located under <Role>
within <Instances>
• Verify subscription has
core capacity before • Set-AzureRole Powershell
changing (Get-
AzureSubscription – cmdlet to set instance
Current - count
ExtendedDetails)
Configure VM Size
• Refers to role instance’s
underlying VM size
• Can differ by role, but
no instance
• Not every VM size is
available for cloud
services
• Use Get-AzureRoleSize
to list available sizes
• Specify size in Service
Definition (*.csdef).
Configure Reserved IP
• Public VIP is released when
cloud deployment is
deleted, unless using a
Reserved IP
• By default, limit of 5
reserved IPs
• New-AzureReservedIP
• Service Configuration
(*.cscfg) <ReservedIP/>
Configure Custom Domain
• Cloud Services exposed as
*.cloudapp.net
• Two options for Custom Domains
• “CNAME” DNS record
• “A” DNS record (Hint: Reserved IP)
Configure SSL
• For HTTPS endpoints
• Endpoint certificate must contain private key
• Must first upload certificates to cloud service using portal or Add-AzureCertificate
• Service Definition (*.csdef) defines installation
• Service Configuration (*.cscfg) defines how certificate is used
Configure Local Storage
• Can allocate local disk space for use by the
role instances
• Typically use for transient data
• What happens if VM is moved?
• Service Definition (*.csdef) <LocalStorage>
Configure Remote Desktop
• Azure supports RDP’ing into role instances
• Two ways to configure…
• Using Portal, via the Configure tab in the Cloud Service
• *** WARNING – Has changed in recent release ***
• Using Set-AzureServiceRemoteDesktopExtension
Configure Multiple Websites
• By default, one web application is hosted within one role
• May be more efficient to host multiple web sites within the same web roles
• Service Definition (*.csdef), <Site/>
• Use HOST headers to delineate
• Will use the same endpoint, which can have implications when using SSL
Configure In-Role Caching
• In-Role caching allows for cloud service to host cache
• Co-located
• Distributed cache across instances of existing web or worker role
• Dedicated
• Distributed cache across dedicated worker role instances used solely for cache
• *** WARNING ***
• Use Redis Cache
Configure Network Traffic Rules
• In cloud service with multiple roles, each role can communicate with other roles
• Sometimes, need to limit access between roles
• Service Definition (*.csdef), <NetworkTrafficRules/>
• EndPoint types
• Input
• InternalInput (5 per role, 25 per cloud service)
• InstanceInput
Azure Data Center
Fabric Controller New-AzureService
Cloud Service New-AzureDeployment
Deployment Slot
Load Bal.
Firewall
Production or
Staging ServiceConfiguration.csc
fg
Package (*.cspkg zip
file)
csupload cspack
Azure SDK command line
tools
update deployment
Go look
Must add VMs to Availability Set
Must be
Deployment Slots
Cloud Service
Production
Staging Deployment
DeploymentSlot
Slot Production
Staging Deployment
DeploymentSlot
Slot
?
?
?
Load Bal. Load Bal.
Firewall Firewall
CloudServiceName.cloudapp.net and Virtual IP (VIP1) GUID.cloudapp.net and Virtual IP (VIP2)
80
80
VIP SWAP
Worker role Web Role VM
connection strings
verbose 10 days
DefaultEndpointsProtocol=https;AccountName=StorageAccountName;AccountKey=StorageAccountKey
Monitor Cloud Services
Web Role - | Worker -
Service Configuration File (.cscfg) Service Definition File (.csdef) Service Package (.cspkg)
Staging Production VIP Swap
Implementing Microsoft Azure website
Microsoft Azure
Infrastructure Solutions
Exam Reference Book
(Optional)
Microsoft Virtual Academy
Architecting Microsoft
Azure Solutions & Azure
for IT Pros
• Cloud Services details
• Roadmap on CS