First steps
I started out by logging into the Azure dashboard (or Portal) and creating a Linux virtual machine. I used Chrome (25.0.1364.160) on OS/X 10.8.2.Creating an Ubuntu LTS VM |
One issue I had was on the second screen. After selecting the option to upload my own SSH key, the upload dialog did not appear when I clicked on Browse For File.
It worked on Windows 8 using Chrome (25.0.1364.152 m), so definitely a bug there.
I completed the process and the VM was created. I connected to it using the DNS name I provided. The DNS entry was on the domain cloudapp.net and the SSH daemon was configured to run on a port other than 22.
$ ssh -p 12345 azureuser@mytest01.cloupapp.netLogin was successful and the Ubuntu Server was running as expected. I could sudo to root and make changes, install packages and do the many other things expected.
That's all well and good, but I have an affinity for the command line. I deleted the server and downloaded and installed the Windows Azure Command Line Tools. That was no problem at all given that a Mac installer was available. The result is a command, azure, that can be used to manage the account.
$ azure account downloadThat's it! Now I can manage the service from the command line: -
$ azure account import ~/Downloads/3-Month\ Free\ Trial-3-10-2013-credentials.publishsettings
$ rm ~/Downloads/3-Month\ Free\ Trial-3-10-2013-credentials.publishsettings
$ azure vm image list
List of available VM images |
Next up, creating a VM from the command line.
No comments:
Post a Comment