More Related Content Similar to High Performance Cloud Computing (20) More from Amazon Web Services (20) High Performance Cloud Computing8. AGENDA
SC11 - Monday 14th November, 2011
Cloud Concepts
Building Blocks
Technica l & Scientific Computing
L oosely Coupled Systems
Hands-on Session #1
Parallel Computation
Hands-on Session #2
Wrap up
26. Compute Storage
Placeholder
Services
Databases
& Support
28. Idea Results
Heavy lifting
29. Scale
Redundancy Orchestrati
on
70%
Idea Results
Heavy lifting
Capacity
Management Procurement
42. 750 hours of compute
10Gb network attached storage
5Gb object storage
750 hours of compute
Key/value store, notifications,
messaging
64. mza$ ssh -i web/us-east/aws-web.pem
root@ec2-204-236-247-169.compute-1.amazonaws.com
Last login: Wed Jun 22 11:15:20 2011 from 82.26.6.99
__| __|_ ) CentOS
_| ( / v5.4
___|___|___| HVMx64
Welcome to an EC2 Public Image
:-)
[root@ip-10-17-135-244 ~]#
73. Included
with
compute
Ephemeral
storage
Lost at
Not backed
terminatio
up
n
78. Network Mount as
attached volume
Elastic Block Store
Snapshot Persistent
81. Highly Highly
durable available
S3
Tolerant to
two
simultaneo
140. High memory
(m2)
Up to 26 ECU. 8 cores. 68.4 Gb
memory.
1.69 Tb ephemeral storage.
142. High CPU (c1)
Up to 20 ECU. 8 cores. 7 Gb memory.
1.69 Tb ephemeral storage.
152. 2 x Intel Xeon
5570
23 Gb memory
1.7 Tb disk
33.5 ECUs
167. WIEN2K Parallel
Performance
H size 56,000 (25GB)
Runtime (16x8 processors)
Local (Infiniband) 3h:48
Cloud (10Gbps) 1h:30 ($40)
1200 atom unit cell; SCALAPACK+MPI
diagonalization, matrix size 50k-100k
Credit: K. Jorissen, F. D. Villa, and J. J. Rehr (U. Washington)
173. 2 x Intel Xeon 5570
23 Gb memory
1.7 Tb disk
2 x NVIDIA
M2050
242. Simple
Notification
Service
Hands-
on
248. Capacity
Predicted capacity
Estimated
demand
Time
249. Capacity
Infrastructure
Infrastructure
Investment Estimated
demand
Barrier to
entry
Time
250. Capacity
Infrastructure
Real
demand
Time
251. Capacity
Elastic
capacity
Real
demand
Time
262. Unconstrained
by time
Upcoming conference, grant
submissions, impatience,
exploratory “spike”
270. 1&year&term&
Usage Fee One-time Fee Total Savings
Option 1 $1493 - $1493 -
On-Demand only
Option 2 $1008 $227 $1234 ~20%
On-Demand +
Reserved
Option 3 $528 $455 $983 ~35%
All reserved
Total&Cost&for&1&Year.term&of&2&applica4on&servers,&steady&state&usage&
271. 3&years&term&
Usage Fee One-time Fee Total Savings
Option 1 $4479 - $4479 -
On-Demand only
Option 2 $3024 $350 $3374 ~30%
On-Demand +
Reserved
Option 3 $1584 $700 $2284 ~50%
All reserved
Total&Cost&for&3&Year.term&of&2&applica4on&servers,&steady&state&usage&
272. 450"
On#Demand# 1*year#RI# 3*year#RI#
400"
350"
300"
250"
200"
2
150"
100"
50" 1
0"
1" 2" 3" 4" 5" 6" 7" 8" 9" 10" 11" 12" 13" 14" 15" 16" 17" 18" 19" 20" 21" 22" 23" 24"
on-demand vs. reserved instances
292. Application tier
Code Configuration
Service tier
Integration
Operating system
settings
Services +
Launch configuration
configuration
293. Application tier
Code Configuration
Service tier
Integration
Operating system
settings
Services +
Launch configuration
configuration
294. Application tier
Code Configuration
Service tier
Integration
Operating system
settings
Services +
Launch configuration
configuration
Infrastructure tier
AMIs Architecture Multi-AZ
Scaling rules Security groups Middleware
302. Auto-scaling
RDS
EC2 SNS
SimpleDB
EBS SQS
Resources
Elastic Beanstalk CloudWatch
Security groups Tags
303. Template CloudFormation
Provisioned
resources
304. Complete
definition
Atomic, idempotent provisioning.
306. {
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "Create an EC2 instances",
"Parameters" : {
"KeyName" : {
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instance",
"Type" : "String"
}
},
"Mappings" : {
"RegionMap" : {
"us-east-1" : {
"AMI" : "ami-76f0061f"
},
"us-west-1" : {
"AMI" : "ami-655a0a20"
},
"eu-west-1" : {
"AMI" : "ami-7fd4e10b"
},
"ap-southeast-1" : {
"AMI" : "ami-72621c20"
},
"ap-northeast-1" : {
"AMI" : "ami-8e08a38f"
}
}
},
"Resources" : {
"Ec2Instance" : {
"Type" : "AWS::EC2::Instance",
"Properties" : {
"KeyName" : { "Ref" : "KeyName" },
"ImageId" : { "Fn::FindInMap" : [ "RegionMap", { "Ref" : "AWS::Region" }, "AMI" ]},
"UserData" : { "Fn::Base64" : "80" }
}
}
},
"Outputs" : {
"InstanceId" : {
"Description" : "InstanceId of the newly created EC2 instance",
"Value" : { "Ref" : "Ec2Instance" }
},
"AZ" : {
"Description" : "Availability Zone of the newly created EC2 instance",
"Value" : { "Fn::GetAtt" : [ "Ec2Instance", "AvailabilityZone" ] }
},
"PublicIP" : {
"Description" : "Public IP address of the newly created EC2 instance",
"Value" : { "Fn::GetAtt" : [ "Ec2Instance", "PublicIp" ] }
}
}
}
307. {
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "Create an EC2 instances", Headers
Parameters
"Parameters" : {
"KeyName" : {
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instance",
"Type" : "String"
}
},
"Mappings" : {
"RegionMap" : {
"us-east-1" : {
"AMI" : "ami-76f0061f"
},
"us-west-1" : {
Mappings
"AMI" : "ami-655a0a20"
},
"eu-west-1" : {
"AMI" : "ami-7fd4e10b"
},
"ap-southeast-1" : {
"AMI" : "ami-72621c20"
},
"ap-northeast-1" : {
"AMI" : "ami-8e08a38f"
}
}
},
"Resources" : {
"Ec2Instance" : {
"Type" : "AWS::EC2::Instance",
Resources
"Properties" : {
"KeyName" : { "Ref" : "KeyName" },
"ImageId" : { "Fn::FindInMap" : [ "RegionMap", { "Ref" : "AWS::Region" }, "AMI" ]},
"UserData" : { "Fn::Base64" : "80" }
}
}
},
"Outputs" : {
"InstanceId" : {
"Description" : "InstanceId of the newly created EC2 instance",
"Value" : { "Ref" : "Ec2Instance" }
},
Outputs
"AZ" : {
"Description" : "Availability Zone of the newly created EC2 instance",
"Value" : { "Fn::GetAtt" : [ "Ec2Instance", "AvailabilityZone" ] }
},
"PublicIP" : {
"Description" : "Public IP address of the newly created EC2 instance",
"Value" : { "Fn::GetAtt" : [ "Ec2Instance", "PublicIp" ] }
}
}
}
317. S3
Input data
Code Elastic
MapReduce
318. S3
Input data
Code Elastic Name
MapReduce node
319. S3
Input data
Code Elastic Name
MapReduce node
Elastic
cluster
320. S3
Input data
Code Elastic Name
MapReduce node
HDFS
Elastic
cluster
321. S3
Input data
Code Elastic Name
MapReduce node
Queries
HDFS
+ BI
Via JDBC, Pig, Hive
Elastic
cluster
322. S3
Input data
Code Elastic Name Output
MapReduce node S3 + SimpleDB
Queries
HDFS
+ BI
Via JDBC, Pig, Hive
Elastic
cluster
332. Lots of data,
lots of uses,
lots of users,
lots of locations
356. Account
DBA Developer Sys admin Finance
Roles
Sally
Robert
Users
Chris
358. Account
DBA Developer Sys admin Finance
Roles
Sally
Robert
Users
Chris
366. Public subnet
Network ACLs + security groups
Private subnet
Multi-tier applications
367. Public subnet
Private subnet
IPsec VPN
On-premise
Extend your data centre
381. Tasks
Queue
Instances
Increase
instance
size
382. Tasks
Queue
Instances
Increase
instance
size
383. Tasks
Queue
Instances
Increase
instance
count
388. Batch
processing
Monitoring. Auto-scaling. Queuing.
Spot. Automation.
406. Autoscaling.
Automation.
Don’t forget to shut down your instances!
407. Hadoop with
Elastic
MapReduce
Native. Streaming interface. Hive.
Spot with EMR.
408. Advanced EMR
with Myrna
Bioinformatics tools and large
datasets.
Thanks to Ben Langmead.
416. 64 core parallel
cluster
CC1. Custom AMI. EBS. Monitoring.
MIT StarCluster. CloudFormation.
426. AGENDA
SC11 - Monday 14th November, 2011
Cloud Concepts
Building Blocks
Technica l & Scientific Computing
L oosely coupled systems
Hands-on Session #1
Parallel computation
Hands-on Session #2
Wrap up, drinks
428. YOU ARE CORDIALLY INVITED TO THE
Amazon Web Services
S C 11 B A S H
NETWORKING, DRINKS and GOODIES
BOOTH #6202