Amazon Web Services Tutorial Advanced Systems Lab – Fall 2015 | 2015-09-22

Amazon Web Services Tutorial Advanced Systems Lab – Fall 2015 | 2015-09-22
Amazon Web Services Tutorial
Advanced Systems Lab – Fall 2015
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
1
General
§  Amazon Web Services (AWS) provides elastic VMs
§  You can start one or more virtual machines and pay for them per hour
§  You can get a voucher with some AWS credit for running experiments
§  Once you have a distributed version working in the local cluster
§  Your TA will give you the voucher
§  You still need to register with a credit card
(which will be used if you spend more than credit issued – so be careful)
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
2
Go to aws.amazon.com and go to your account settings
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
3
Go to Credits, and redeem the voucher.
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
4
Go to AWS Management Console
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
5
Go to AWS Management Console – Compute & Networking
…and choose EC2 (Elastic Compute Cloud)
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
6
Here you can:
§  Start new instances of virtual machines
§  Create new Amazon Machine Instance (AMI) from an existing instance
§  Create instances from your own AMI
Be prepared:
§  SSH-Key is required in order to be able to access the machine
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
7
Launch a new instance
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
8
Launch an existing AMI
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
9
Live Demo…
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
10
Instance Types
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
11
Instance Types - pricing
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
12
AWS pros and cons
§  You can start and stop as many VMs as you need
§  BUT: You have no control where your instances physically live
(you can only chose the data center)
§  Network latencies are not predictable
§  You don’t know how other instances utilize the network
§  Keep in mind when interpreting benchmarks
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
13
What instance type should I use?
§  This is up to you:
§  Maybe micro-instances is good for development / testing / debugging
§  Use small / medium / large for actual experiments
§  Machine size may depend on what you want to use it for (DB / Middleware / Clients)
§  PostgreSQL does not run well on small instances
§  The credit that you will get should be enough for benchmarking
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
14
I forgot to turn off a machine!
This is in general YOUR PROBLEM!
If you use more than the credit given to you, YOUR credit card will be charged!
BE CAREFUL! We will NOT reimburse you!
Whenever you start a VM you get charged for one hour
(even if the machine only runs for a few minutes)
§  To make effective use, you should set up your experiments and run as many
benchmarks as you can
§  Turn off the machines and analyze/optimize your system
§  Reiterate
§ 
§ 
§ 
§ 
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
15
Further information
§  AWS has very good online documentation
§  For using Amazon EC2 on Linux please visit:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html
Platzhalter Logo/Schriftzug
(Anpassung im Folienmaster: Menü «Ansicht» à «Folienmaster»)
|
2015-09-22
|
16
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising