azure virtual machines - building up your infrastructure in the cloud

27
WINDOWS AZURE IAAS TIPS & TRICKS •Anton Staykov •@astaykov

Upload: anton-staykov

Post on 28-Jan-2015

111 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Azure Virtual Machines - building up your Infrastructure in the cloud

WINDOWS AZURE IAAS TIPS & TRICKS

• Anton Staykov• @astaykov

Page 2: Azure Virtual Machines - building up your Infrastructure in the cloud

ABOUT ME

• Windows Azure MVP (3 times now)

• With Azure from the beginninghttp://blogs.staykov.net/@astaykov

Page 3: Azure Virtual Machines - building up your Infrastructure in the cloud

AGENDA

Azure IaaS Outside-In connection issues Virtual Networks IP Addresses AD/DC – Highway to … Mail Server on Azure

Page 4: Azure Virtual Machines - building up your Infrastructure in the cloud

PaaS SaaSPhysical Virtual IaaS

A CONTINUOUS OFFERING FROM PRIVATE TO

PUBLIC CLOUD

Page 5: Azure Virtual Machines - building up your Infrastructure in the cloud

WINDOWS AZURE VIRTUAL MACHINES

Support for key server applications*

Easy storage manageability

High availability features

Advanced networking

Integration with compute PaaS

* http://bit.ly/azurevmsupport

Page 6: Azure Virtual Machines - building up your Infrastructure in the cloud

COMMON ISSUES

VM Disappears or was deleted (MSND /Free Trial)

Blob storage occupied (VHD not deleted)

Temporary Disk (how temporary is it?) What disk size should I chose?

Page 7: Azure Virtual Machines - building up your Infrastructure in the cloud

DEMO

Page 8: Azure Virtual Machines - building up your Infrastructure in the cloud

INTERNET CONNECTIVITY

Outside-In

Page 9: Azure Virtual Machines - building up your Infrastructure in the cloud

Virtual Machine (IaaS)

Local IP (DIP)

LBVIP

Windows Azure Cloud Service (foo.cloudapp.net)

INTERNET

NETWORKING PICTURE

Page 10: Azure Virtual Machines - building up your Infrastructure in the cloud

OUTSIDE-IN CONNECTIVITY

Endpoint Definition Windows Firewall Rules Corporate Firewalls PING times out

Page 11: Azure Virtual Machines - building up your Infrastructure in the cloud

VIRTUAL NETWORK

Page 12: Azure Virtual Machines - building up your Infrastructure in the cloud

VNET SCENARIOS

Define IP Address space for VMs IaaS Interconnectivity Site-to-Site Point-to-Site IaaS-to-PaaS and vice-versa

Page 13: Azure Virtual Machines - building up your Infrastructure in the cloud

VNET

Address Spaces 10.0.0.0 172.16.0.0 192.168.0.0

Sub Nets Gateway Sub-Net

Page 14: Azure Virtual Machines - building up your Infrastructure in the cloud

ADDRESS ALLOCATION SECRETS

Always and only by DHCP The first host gets the 4th IP Address i.e. 192.168.0.4

Automatic cross-sub-net connectivity

Internal IP Address Reservation!

Page 15: Azure Virtual Machines - building up your Infrastructure in the cloud

VNET CROSS-PREMISES

Site-to-Site Point-to-Site Express Route

Page 16: Azure Virtual Machines - building up your Infrastructure in the cloud

VNET LIMITATIONS

No Cross-Data-Center Connections

No site-to-multiple-sites Connections

Page 17: Azure Virtual Machines - building up your Infrastructure in the cloud

NAME RESOLUTION

Page 18: Azure Virtual Machines - building up your Infrastructure in the cloud

NAME RESOLUTION SCENARIOS

When not in VNetPaaS only (Web/Worker Roles)

IaaS only (Virtual Machines)

When in VnetCloud onlyCloud + Site-to-Site VPN

Page 19: Azure Virtual Machines - building up your Infrastructure in the cloud

DNS SERVER ON IAAS

Page 20: Azure Virtual Machines - building up your Infrastructure in the cloud

DNS SERVER SECRETS

Just for the DNS server machine, set DNS to 127.0.0.1 when deploying!

Place the DNS Server on its own subnet Remember the full format of FQDN http://bit.ly/fqdn

Reserve “Static IP Address” for the VM

http://bit.ly/azurestaticip

Page 21: Azure Virtual Machines - building up your Infrastructure in the cloud

IP ADDRESS ASSIGNMENT SECRETS

IP Address predictability and reservations

Sub-net isolation Address Space Isolation

Page 22: Azure Virtual Machines - building up your Infrastructure in the cloud

AD/DC ON IAAS

Highway to Clouds

Page 23: Azure Virtual Machines - building up your Infrastructure in the cloud

AC/DC NETWORK LAYOUT

VNET-WE-IAASTIPS-PROD

DNS/ 192.168.30.4

Address Space 192.168.30.0/29

Sub-ADDC: 192.168.30.0/29

Address Space 172.16.0.0/22Sub-Clients: 172.16.0.0/22

http://bit.ly/azuread

Page 24: Azure Virtual Machines - building up your Infrastructure in the cloud

MAIL SERVER ON IAAS

Page 25: Azure Virtual Machines - building up your Infrastructure in the cloud

HOSTING OWN MAIL SERVER ISSUES

Public (dynamic) IP Address Reverse DNS records (PTR Records) http://bit.ly/azureptr

Page 26: Azure Virtual Machines - building up your Infrastructure in the cloud

KEY TAKEAWAYS

Never forget Firewall Know your IP Addresses Don’t host Email Server (yet) Password Expiration

Page 27: Azure Virtual Machines - building up your Infrastructure in the cloud

Q&A

• Anton Staykov

• @astaykov

• http://blogs.staykov.net/