Note: This article was originally published in 2013. Some steps, commands, or software versions may have changed. Check the current Ubuntu documentation for the latest information.
Recommendations when Deploying (http://www.ubuntu.com “Ubuntu (operating system)”) VMs in (http://www.microsoft.com/WINDOWS “Windows”) Azure
Below are a few recommendations to keep in mind when deploying Ubuntu VMs in Windows Azure. From networking to deploying applications and collecting metrics. With no further due here they are:
Networking
- When using your own DNS servers make sure Azure’s DHCP doesn’t interfere: (http://kx.cloudingenium.com/microsoft/microsoft-online/windows-azure-cloud/enable-proper-domain-dns-search-ubuntu-using-windows-azure/ “How to: Enable proper domain DNS search in Ubuntu when using Windows Azure”)
- When using a different FQDN or your own DNS servers make sure the name resolution you might experience a slow response from any authentication (think initial login or sudo rights): (http://kx.cloudingenium.com/microsoft/microsoft-online/windows-azure-cloud/resolve-slow-logging-issues-sudo-rights-use-using-dns-windows-azure/ “How to: Resolve slow Logging in issues and Sudo rights use when using your own DNS in Windows Azure”)
Performance
- Add a (http://en.wikipedia.org/wiki/Paging “Paging”) on your temporary storage. Keep in mind if you poweroff the computer this storage is lost and you will need to re-provision: (http://kx.cloudingenium.com/microsoft/microsoft-online/windows-azure-cloud/install-swap-file-windows-azure-ubuntu-vm/ “How to: Install a swap file in a Windows Azure Ubuntu VM”)
(http://img.zemanta.com/zemified_h.png?x-id=1b6ece10-e471-46b5-912c-0f566296a4c8)](http://www.zemanta.com/?px “Enhanced by Zemanta”)