EBC azure
Embedded Linux Class by Mark A. Yoder
Here's how to set a virtual machine in Microsoft's azure cloud to compile a kernel.
- Go to the course homework page a find your PromoCode.
- Go to the azure pass site and follow the instructions.
Selecting and Starting a New Instance
- Go to azure Management page and login.
- Click on NEW on the bottom left of the page.
- Select VIRTUAL MACHINE, QUICK CREATE and fill in the fields. The best machine you can get is 2 cores.
- Click CREATE A VIRTUAL MACHINE on the bottom right.
- Once you machine is running (it will take a few minutes), click on it.
- Click on DASHBOARD on the upper left above the cloud.
- 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
Embedded Linux Class by Mark A. Yoder