2. 07/26/13 2
Table of Content
• Basic of AEC2
• How to use Amazon EC2
• Amazon Concept
– Instances
– Region and Availability
– Storage
• Instance Type
• Compute Resource Management
3. 07/26/13 3
What is Amazon EC2?
• A Web Service Interface
• Provides resizable computing capacity in cloud.
• Web service Interface used
– To launch virtual servers
– Configure security and networking
– Manage storage.
4. 07/26/13 4
How to use Amazon EC2
• Select a pre-configured template, AMI
• Choose Instance Type
• Configure security and network access on Amazon EC2
instance.
• Determine how you want to run
– in multiple instance,
– utilize static IP end points
– Attach persistent block storage
5. 07/26/13 5
Amazon EC2 Concepts
• Amazon Machine Images and Instances
– Is a template that contains software configurations
(OS, application server, and applications)
6. 07/26/13 6
Instances
• Is a copy of AMI
• determines the hardware of the host computer used for your
instance.
• offers different compute and memory capabilities
7. 07/26/13 7
Concepts contd….
• Region and Availability zones
– EC2 is available to use in different regions
– Each region contains multiple distinct location called
Availability zones
– Each availability zone is isolated from the failures of
other availability zones
8. 07/26/13 8
Concepts contd.
• Storage
– Amazon EBS volumes are essentially hard disk attach to a
running instance, and provide block level storage.
– Instance Store provides temporary block level storage, the data
in the instance store doesn’t persist when your instance stops.
– Amazon S3 is storage for Internet, web service interface that
enables you to store any amount of data from anywhere.
9. 07/26/13 9
Instances Types
• Cluster Instance
• Cluster Compute Instance
• Cluster Graphics processing unit Instance
• Cluster GPU instances have the same networking and
placement group properties as cluster compute instances,
but also include NVIDIA Tesla M2050 GPUs
– is an Amazon EC2 instance type
10. 07/26/13 10
Cluster Instance
• The functionality of cluster instances is similar to the
functionality of other Amazon EC2 instance types, but
with the important differences as
• Cluster Placement Groups
– Cluster instances grouped together
– Logical grouping within a single availability zone
– Should be recognized by unique name.
• HVM based virtualization
– Cluster instance run as hardware virtual machine based
instance.
• Amazon EBS backed, HVM-based AMI
11. 07/26/13 11
Instances Type contd.
• General Purpose
– Fit for following need
• Small and midsized Db
• Data processing Task which takes additional memory
• Backend server for SAP
• Microsoft SharePoint
• Compute optimized
– Have high ratio of CPU to Memory
– Examples of application suitable for this
• On demand batch processing
• Distributed analytics
• Web servers
• High performance science and engineering applications.
12. 07/26/13 12
Instance Type contd
• Storage Optimized
– Optimized for application with specific I/O and storage capacity
requirement
– HI1
• Very fast SSD based instance
• Capable of supporting 120,000 random read IOPS
• Optimized for very High Storage density.
– HS1
• Optimized for very high storage density
• High sequential I/O performance
• Excellent for transactional system that can manage their own
resiliency.
13. 07/26/13 13
Instance Type Contd..
• Memory-optimized
– Optimized for memory intensive applications
• SAP
• SRS
• Micro instance
– May opportunistically increase CPU capacity in short burst
– Suitable for lower throughput application
– Website that require additional compute cycle periodically
• GPU instances
– Support cluster networking
– Computational chemistry, Rendering, Financial Modelling and
Engineering design
14. 07/26/13 14
Instance Type contd..
• Cluster GPU
– Provide general purpose graphic processing unit
• High CPU
– Have proportionally more cpu resources than memory (RAM)
– Well suited for compute intensive application
• High I/O
– Provide ten of thousands of low –latency random I/O operation
per sec to an application
– Suited for NOSQL Database, Clustered Database, and OLTP
system.
15. 07/26/13 15
Instance Type contd.
• EBS-Optimized Instances
– Uses an optimized configuration stack
– Provides additional, dedicated capacity for EBS I/O
– The following instances type can be launched as EBS-optimized
instances
• High CPU Extra large
• M1 extra large
• M1 large
• High memory Double extra large
• High memory quadruple extra large
• M3 extra large
• M3 Double extra large
16. 07/26/13 16
Instance Type contd.
• Windows Instance Type
– Instance can run Microsoft windows server
2003,2008,2008 R2,2012
– Windows AMI provide you with all standard windows
server functionality
– Differences between instances running on windows
and linuxunix is
• The way RDC is used
• The way admin pwd is set
• And the way Windows based AMI is bundled
17. 07/26/13 17
Compute resource measurement
• Amazon EC2 uses variety of measure to provide each
instance with consistent and predictable amount of CPU
capacity
• Amazon EC2 compute unit
– Provides equivalent cpu capacity of a 1.0-1.2 Ghz
2007 opteron or 2007 xenon processor.