Difference between revisions of "EBC azure"

From eLinux.org
Jump to: navigation, search
m (Selecting and Starting a New Instance: Login)
(Selecting and Starting a New Instance: Added figures)
Line 10: Line 10:
 
== Selecting and Starting a New Instance ==
 
== Selecting and Starting a New Instance ==
 
* Go to [https://manage.windowsazure.com/ azure Management] page and login.
 
* Go to [https://manage.windowsazure.com/ azure Management] page and login.
 +
[[File:AzureManager.png|thumbnail]
 +
* Click on '''NEW''' on the bottom left of the page.
 +
[[File:AzureVM.png|thumbnail]
 +
* Select '''VIRTUAL MACHINE''', '''QUICK CREATE''' and fill in the fields.  The best machine you can get is 2 cores.
 +
* Click '''CREATE A VIRTUAL MACHINE'''
 +
* Once you machine is running (it will take a few minutes), click on it.
 +
[[File:AzureCreated.png|thumbnail]
 +
* Click on '''DASHBOARD''' on the upper left above the cloud.
 +
[[File:AzureIP.png|thumbnail]
 +
* Scroll to the bottom until you see '''DNS NAME'''.  Remember this name.
  
 
== Connecting to Your Instance ==
 
== Connecting to Your Instance ==

Revision as of 15:40, 6 October 2014

thumb‎ Embedded Linux Class by Mark A. Yoder


Here's how to set a virtual machine in Microsoft's azure cloud to compile a kernel.

Selecting and Starting a New Instance

[[File:AzureManager.png|thumbnail]

  • Click on NEW on the bottom left of the page.

[[File:AzureVM.png|thumbnail]

  • Select VIRTUAL MACHINE, QUICK CREATE and fill in the fields. The best machine you can get is 2 cores.
  • Click CREATE A VIRTUAL MACHINE
  • Once you machine is running (it will take a few minutes), click on it.

[[File:AzureCreated.png|thumbnail]

  • Click on DASHBOARD on the upper left above the cloud.

[[File:AzureIP.png|thumbnail]

  • Scroll to the bottom until you see DNS NAME. Remember this name.

Connecting to Your Instance

Connecting More Easily

You have to type a lot to do a simple ssh. Here's how to save some typing.

$ sudo vi /etc/hosts

Add a line like:

54.165.3.13   ec2

where the number is your ec2 machine's IP address.

$ vi ~/.ssh/config

and add

Host ec2
  User ubuntu
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  IdentityFile ~/.ssh/KeyPair.pem

Now you can login with

$ ssh ec2

You can even copy to and from with

$ scp local_file ec2:remote_file


thumb‎ Embedded Linux Class by Mark A. Yoder