34
Amazon AWS Tutorial I: Setting up AWS Shuang Luan Department of Computer Science Department of Radiology University of New Mexico

Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Amazon AWS Tutorial I:

Setting up AWS

Shuang Luan

Department of Computer Science

Department of Radiology

University of New Mexico

Page 2: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

What is the Cloud?

•  Cloud computing refers to a set of technologies offered as services over the Internet.

•  Cloud service providers offer online computing resources (i.e. CPU time, storage, software, etc.), which are scalable to the user’s need based on a pay-as-you-go pricing model

•  Cloud computing offer users on-demand computing infrastructure, sized to fit the user’s momentary needs.

Page 3: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Pricing

Page 4: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Cloud Computing for the Clinics

•  Cloud resources can be scaled to meet patient and physics QA demand as it fluctuates on a daily basis.

•  Typical computing clusters often face “bursty” usage: left under-utilized much of the day (and night) and over-queued at peak periods.

•  The cloud paradigm is particularly well suited for one-off calculations, such as machine commissioning and vault shielding calculations, for which a very large cluster might be desirable, but expanding to even a small cluster would be prohibitively expensive for a single run.

•  Additionally, hardware upgrade and maintenance is taken care of by the provider, rather than by the user.

Page 5: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Medical Physics in the Cloud

•  Monte Carlo calculations are well suited to

cloud style distributed computation by their

fundamental nature, as the primary particle

histories are completely independent of one

another, requiring no communication between

processes. This means that calculations, while

parallel, need not maintain data or timing

synchronization during execution.

Page 6: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

The Concept

!"

#$%&'"()*+,-./+"

()*+,)+*"

0%123*.$"()*+,-./+"

Page 7: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Key Concepts

•  AWS = Amazon Web Service

•  EC2 = Elastic Compute Cloud

•  AMI = Amazon Machine Image

•  ECU (EC2 Compute Unit) = The equivalent CPU

capacity of a 1.0-1.2 GHz 2007 Opteron or 2007

Intel Xeon processor

•  S3 = Simple Storage Service

•  Zone = Amazon EC2 locations are composed of

Regions and Availability Zones, which are distinct

physical locations.

•  Credential: Enabling automatic to access to AWS

Page 8: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Amazon EC2 Roadmap

•  Create an Amazon AWS account

•  Redeem AWS voucher/code

•  Sign up for S3 storage (credit card information

required)

•  Sign up for EC2

Page 9: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Amazon AWS:

http://aws.amazon.com/

Page 10: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Creating an Account

Page 11: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Creating an Account (cont.)

Page 12: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Login

Page 13: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Amazon AWS Roadmap

•  Create an Amazon AWS account

•  Redeem AWS voucher/code

•  Sign up for S3 storage (credit card information

required)

•  Sign up for EC2

Page 14: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Redeeming AWS Credit

http://aws.amazon.com/awscredits

Page 15: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Redeeming Credits (cont.)

Page 16: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Redeeming Credits (cont.)

Page 17: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Redeeming Credits

Page 18: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Redeeming Credits

Page 19: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Amazon EC2 Roadmap

•  Create an Amazon AWS account

•  Redeem AWS voucher/code

•  Sign up for S3 storage (credit card information

required)

•  Sign up for EC2

Page 20: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Signing up for S3

Page 21: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Signing up for S3 (cont.)

Page 22: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Signing up for S3 (cont.)

Page 23: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Signing up for S3 (cont.)

Page 24: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Signing up for S3 (cont.)

Page 25: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Amazon EC2 Roadmap

•  Create an Amazon AWS account

•  Redeem AWS voucher/code

•  Sign up for S3 storage (credit card information

required)

•  Sign up for EC2

Page 26: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Sign up for EC2

Page 27: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Sign up for EC2 (cont.)

Page 28: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Sign up for EC2 (cont.)

Page 29: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Sign up for EC2 (cont.)

Page 30: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Sign up for EC2 (cont.)

Page 31: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Sign up for EC2 (cont.)

Page 32: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Sign up for EC2 (cont.)

Page 33: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Note

•  You can always click on “AWS Management

Console” return to the console.

•  You will received several emails from Amazon

informing you that you have signed up for S3,

EC2, Virtual Private Cloud, Simple

Notification Service, and etc. Depending on

how many services you have signed up for.

•  You are good to go …

Page 34: Amazon AWS Tutorial I: Setting up AWS - cs.unm.educompmed/workshop2011/talks/17a.pdf · Cloud Computing for the Clinics • Cloud resources can be scaled to meet patient and physics

Thank You.