Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Virtual machine - made cloud computing possible
Harvard class: http://cm.dce.harvard.edu/2010/01/13450/L07/seg1/index_FlashSingleHighBandwidth.htmlImage Added

VM types:

  • Xen -free
  • VMware - commercial, used by industry, full virtualization
  • Parallels - tailored for Mac users

...

And this is my 1st VM on the claud

Steps to fire VM & ssh to it (after you set up all credentials)

  1. login to AWS page
  2. select: Amazon Elastic Compute Cloud
  3. TOP-UP: 'Your Account' , select 'AWS Management Console'
  4. TOP-UP-Yellow: 'Sign in to AWS console'
  5. 'Lunch Instances'
  6. select type of VM (e.g. Fedora for regular linux), press select
  7. in lunch wizard 'Skip this'
  8. select # of machines & CPU power (star with 1, small)
  9. in 'Key Pair Name' select ssh Keys you have created earlier
  10. if you want output to survive after VM is shut down in options select: Availability Zone & remember it
  11. press 'Lunch' at the bottom
    Now find it (smile), it is beta-version, pressing 'Refresh' screen in the browser may help
  12. to ssh to this machine you need to know:
    • Public DNS, sth like: ec2-75-101-246-229.compute-1.amazonaws.com
    • absolute path to your ssh keys, e.g. janAmazonKey.pem
  13. from the local prompt execute:
    ssh -i janAmazonKey.pem root@ec2-75-101-246-229.compute-1.amazonaws.com

If ssh hangs forever, you need to open fire wall.

  1. On the left, go to 'Security Groups'
  2. select 'default' fire wall (unless you have sth else already)
  3. add & save : SSH tcp 22 22 0.0.0.0
  4. now try ssh again