lecture 12: cloud computing-c amazon web service tutorial

Download Lecture 12: Cloud Computing-C Amazon Web Service Tutorial

If you can't read please download the document

Upload: mariah-hayward

Post on 14-Dec-2015

219 views

Category:

Documents


2 download

TRANSCRIPT

  • Slide 1

Lecture 12: Cloud Computing-C Amazon Web Service Tutorial Slide 2 Linux OS Info This is a step-by-step visual guide to using AWS Use this as a companion guide when you do your lab, BUT MAKE SURE YOU UNDERSTAND WHATS GOING ON Slide 3 Steps 1.Sign up for an AWS account 2.Sign in 3.Go to AWS Maintenance Console 4.Create an instance 5.Login to that instance 6.Do fun things 7.Logout 8.DELETE THAT INSTANCE Slide 4 1. Sign Up For An Account NEED TO DO THIS Slide 5 2. Sign In Return to http://aws.amazon.com/http://aws.amazon.com/ Returning user Slide 6 3. AWS Management Console Heres your home screen Click on AWS Management Console Slide 7 3. AWS Management Console Heres another screen, but its not AWS Management Console yet Sign in Slide 8 4. EC2 Cloud This allows us access to all our services All we care about is the EC2 cloud Slide 9 5. Amazon EC2 Console Dashboard This is our interface to the cloud Lets make an instance of a VM Slide 10 6. Create An Instance The following goes through the wizard Lets choose the classic wizard Slide 11 6. Create An Instance We need to pick an Amazon Machine Instance (AMI) This is the selection of the OS that were choosing to run This is the basic setup We will configure our OS after boot Configure network Make users/groups Install packages Slide 12 6. Create An Instance Slide 13 You get this screen Slide 14 6. Create An Instance Number of VMs to make Slide 15 6. Create An Instance Type of hardware Slide 16 6. Create An Instance Give me my machine(s) now Slide 17 6. Create An Instance Many AWS machines sit idle They make no money when theyre idle AWS allows you to pay a lower price for these idle machines You set a price, and if youre the high bidder at the time, its your machine to use WARNING: Someone else can outbid you at any time and kick your processes off the machine! Slide 18 6. Create An Instance So, lets pick Launch Instance Slide 19 6. Create An Instance Wait for these to be filled out Slide 20 6. Create An Instance then click continue Slide 21 6. Create An Instance We COULD have selected: a particular kernel setup a particular ramdisk For our class, lets leave those alone for now Moving on Slide 22 6. Create An Instance We could change our storage devicesbut lets not Slide 23 6. Create An Instance Tags are like AWSs environmental variables NOT really an EV inside the OS! We can keep track of details about our (multiple) instances/VMs Slide 24 6. Create An Instance Fill out K/V pair based on lab Hit Continue Slide 25 6. Create An Instance Authentication key pairs Work just like our SSH lab Slide 26 6. Create An Instance Security group is just how your machine is configured wrt security Slide 27 6. Create An Instance Review your settings If happy, click launch Slide 28 6. Create An Instance My machine is being set up Note the instance ID! Youll need it if you have multiple instances running Slide 29 6. Creating An Instance In a moment, your instance will be ready As soon as its up, your processing time starts even if youre not logged in! Do NOT let a machine sit idle When youre done, make sure you TERMINATE THE INSTANCE Slide 30 6. Creating An Instance Hit refresh Slide 31 6. Create An Instance Notice hes running now May take a minute depending on config Slide 32 7. View Your Instance Click one to see your instance Slide 33 7. View Your Instance Here it is! Slide 34 7. View Your Instance Click on instance, and then find public DNS in details below Slide 35 8. Connect To Instance Slide 36 Pick how you want to connect Slide 37 8. Connect To Instance Were now connected to our VM Slide 38 9. Do Your Thing Slide 39 10. Terminate Instance Choose an Instance Action of Terminate Slide 40 10. Terminate Instance Confirm the termination Slide 41 11. Verify Termination If you didnt terminate, youre still being billed!!! Slide 42 Wrap Up This was a GUIDE to running AWS Your lab procedure will be slightly different than this If all you do is follow this guide, your lab grade will be quite low and you will have deserved it