Difference between revisions of "EBC EC2"
m |
m |
||
Line 29: | Line 29: | ||
You should now be logged in! | You should now be logged in! | ||
− | + | Don't forget, the instance will keep running until you terminate it. You get a year of free service, after that you will be charged. Be sure to turn it off what you are done. | |
− | |||
− | |||
− | |||
{{YoderFoot}} | {{YoderFoot}} |
Revision as of 12:40, 13 September 2014
Embedded Linux Class by Mark A. Yoder
Here's how to compile a kernel on Amazon Elastic Compute Cloud (Amazon EC2). EC2 is a web service that provides resizable compute capacity in the cloud.
- Go to Amazon Web Services (AWS) and create an account. You get tier 1 services for free for one year
- Go to AWS Management page and click EC2
- Click Launch Instance
- Check Free tier only
- Click Select on the first Ubuntu image
- The free tier eligible instance will be selected. Click Review and Launch
- Click Edit security groups
- Under Source select My IP
- Click Add Rule
- Select Type: SSH, Source: Custom IP and enter 137.112.0.0/16, which will allow you to connect from campus.
- Click Review and Launch
- Click Launch
- Select Create a new key pair and enter a name.
- Click Download Key Pair. Move it to and hand place and run:
$ chmod 400 KeyPair.pem
- Click Launch Instances
It will take a few minutes for your new instance to launch.
- Click View Instances
- Click on your new instance, details about it will appear below
- Note the Public IP address.
To connect to your EC2 machine run
$ ssh -i KeyPair.pem ubuntu@Public IP
You should now be logged in!
Don't forget, the instance will keep running until you terminate it. You get a year of free service, after that you will be charged. Be sure to turn it off what you are done.
Embedded Linux Class by Mark A. Yoder