Professional Documents
Culture Documents
Instructions
You are in Lecture M ode If you want to ask Q uestion, ask it through webex. S end it in chat message to all participants. D o not send as private message. We will try to answer a few at the end of section. If some questions are un-answered we will publish answers soon on our KM site. We will share this P P T in couple of days. We have limited US bridge numbers and we do not have any UK local number. In case you are not able to connect to US A number, request to connect to India number.
TCS Internal
-2
O bjectives Iaas O verview AWS O verview Key AWS P roducts for IaaS Amazon E conomic C enter Amazon S ecurity AWS P ractical Use D emo
April 18, 2011
O bjective
Understand AWS as IaaS Learn Key D ifferent P roducts of AWS Learn S ecurity Features Know where AWS can be useful AWS E conomics
TCS Internal
April 18, 2011 -4
IaaS O verview
-5
TCS Internal
-6
Virtual Machines
(OS, Software, Tools)
Physical Resources
(Servers, Storage, Networking)
TCS Internal
-7 -
IaaS
Infrastructure as a Service (IaaS) Management
Self-Service & Orchestration Infrastructure Provisioning Monitoring & Reporting Resource Management Utilization Metering Charge-Back Network Security
Security
Physical Security
Servers
Physical Servers Server Virtualization Virtual Machines Operating Systems
Storage
Shared Storage Virtual Storage Physical Storage Storage Replication Backup Recovery ILM/HSM
Networking
Firewalls Switches & Routers WAN/LAN/VLAN Load Balancers
TCS Internal
-8 -
Advantages
C ost E ffective & O ptimal R esource Utilization Ubiquitously available on D emand C an be configured to make High Available & High reliable S ystem Useful as D R S ystem E lasticity & S calability Lowe Total C ost of O wnership M inimal Administration
TCS Internal
April 18, 2011 -9
AWS O verview
10
P ayment
Amazon Flexible P ayments S ervice Amazon D evP ay
Notifications
Amazon S imple Q ueue S ervice Amazon S imple E mail S ervice
TCS Internal
14
AWS D efinitions
AM I S torage
S napshot
Instance
Volume
TCS Internal
April 18, 2011 15
E U W es t R eg io n (I R E )
U S W es t R eg io n (N .C A )
A P A C R eg io n T ok yo
TCS Internal
16
17
Amazon E C 2
Key product for Amazon as it provides controlled elastic Infrastructure on demand. P rovides scalability on demand S ecure acces s with key-pair & groups. P ay as you us e. S upports many O S & software certified by vendors. C reate your own AM I with pre configured software. C omes with pre built AM I to save your install & deployment time. E asy to use and maintain. http://aws.amazon.com/ec2/
TCS Internal
April 18, 2011 18
Hig h C PU
E xtra Larg e 64 7 GB 1690 G B 20 (8 virtual cores with 2.5 E C 2 C ompute Units each) High c1.xlarge
M edium m1.small
High m1.large
High m1.xlarg e
http://aws.amazon.com/ec2#instance
TCS Internal
April 18, 2011 19
Instance
(Pending)
Attach EBS Storage once running Assign Elastic IP Address
AMI
Instance
(Running)
Instance
(Stopped)
Resources automatically detached (IP, storage) Can also be initiated as normal operating system shutdown
Instance
(Terminated)
Instance
(Shutting Down)
TCS Internal
20
Amazon E BS
Amazon Elastic Block Store (EBS) provides block level storage volumes for use with Amazon EC2 instances. EBS provides highly available, highly reliable storage volumes EBS volumes are off-instance storage that persists independently from the life of an instance. EBS is suited for applications that require a database, file system, or access to raw block level storage. EBS volumes are created in a particular Availability Zone and can be from 1 GB to 1 TB in size. EBS provides the ability to back up point-in-time snapshots of your data to Amazon S3 for durable recovery. http://aws.amazon.com/ebs/
TCS Internal
April 18, 2011 21
E BS with E C 2 & S 3
How EBS Interacts With EC2 and S3
AWS Cloud
EC2 Availability Zone Create Snapshot
EB S EB S
S3 Storage
EB S
EB S
EB S
EB S
EBS Snapshot
Internet
TCS Internal
April 18, 2011 22
E BS P ricing
Volume storage is charged by the amount you allocate until you release it, and is priced at a rate of $0.10 per allocated G B per month Amazon E BS also charges $0.10 per 1 million I/ requests you make O to your volume As an example, a medium sized website database might be 100 G B in size and expect to average 100 I/ s per second over the course of a O month. This would translate to $10 per month in storage costs (100 G B x $0.10/ month), and approximately $26 per month in request costs (~2.6 million seconds/ month x 100 I/ per second * $0.10 per O million I/ ). O
TCS Internal
23
Amazon S 3
Amazon S 3 is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon S 3 has a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure of Amazon. S imple to get going, simple to use P rogrammatic access via web services AP I For large data migration Amazon Import /E xport.
http://aws.amazon.com/s3/
TCS Internal
April 18, 2011 24
S 3 Vs E B S
Amazon S 3 P aradigm P erformance R edundancy S ecurity Access from the Net? Typical use case O bject store Very fas t Across data centers P ublic Key / P rivate Key Yes(1) Write once, read many
EB S File system Very very fast Within data center Visible only to your E C 2 No(2) Its a disk drive
http://aws.amazon.com/documentation/s3/
TCS Internal
April 18, 2011 25
S 3 P ricing
1 TB / Month US S torage (D esigned for 99.999999999% D urability) R educed R edundancy S torage (D esigned for 99.99% D urability) $0.14/ GB Next 49 TB per Month $0.125/ GB Next 450 TB per Month $0.110/ B G Next 500 TB per Month $0.095/ B G
0.093 / G B
0.083 / GB
0.073 / G B
0.063 / G B
+
< 1 G B per Month Up to 10 TB / Month Next 40 TB / Month Next 100 TB /Month $0.10 / GB 0 $0.15/ B G $0.11/ B G Free $0.09/ B G
R eques ts P UT, C O P Y, P O S T, or LIS T G E T and all other requests (No charge for delete) $0.01 / 1000 R equests $0.01 / 1000 R equests
TCS Internal
26
AM I Types
An Amazon E C 2 instance can be launched either from an AM I backed by Amazon S 3 or an AM I backed by Amazon E B S .
E B S -backed Instances
E B S volume attached automatically as root device. Any changes to the local storage are then pers isted and will survive instance failures and restarts Not all software and architectures are s upported out-of-the-box as E BS -backed AM Is. The E B S volume is mounted as the root device
S 3 (Instance)-backed Instances
S 3-backed E C 2 instance gives direct control over files pers istence You have to manually attach and mount an E B S volume for persisting your data. O nce your S 3-backed instance is terminated, any local ins tance s torage (ins tance) will be lost, but your original data and configuration will persis t in your E B S volume.
TCS Internal
27
AM I Types
C os ts E C 2 ($ /
Launch
Hour) R unning C os ts E C 2 ($ /
Launch
Pending
Terminated
S hutting Down
S3 (Instance)-backed Instances
Terminated
Terminate
Hour) R unning
Pending
rm Te
a in
te
S top
S tart
S hutting Down
S topped
Terminate
C os ts E B S ($ / Hour)
EBS-backed Instances
https://knowmax.ultimatix.net/Innovation%20Corner/Cloudcomp/Cloud%20Docs/Forms/AllItems.aspx?RootFolder=%2fInnovation%20Corner%2fCloudComp%2fCloud%20D
28
TCS Internal
29
A uto S c a ling - through command line (AP I tools ) -s etting up an E LB - s etting up s caling Triggers
A M I C rea tio n
TCS Internal
30
31
R es erved
R eserved Ins tances give you the option to make a low, one-time payment for each ins tance you want to res erve and in turn receive a s ignificant discount on the hourly us age charge for that ins tance
S po t
S pot Ins tances enable you to bid for unused Amazon E C 2 capacity. Ins tances are charged the S pot P rice, which is s et by Amazon E C 2 and fluctuates periodically depending on the supply of and demand for S pot Ins tance capacity Auto S caling, Amazon Virtual P rivate C loud, Amazon E las tic M apR educe, and Amazon DevP ay S elf learning, temporary hosting / tes ting
P rice
D efined Free Q uota of E C 2 Linux micro ins tance, E LB , E B S and other services
Allow only M icro Instance. Features Not Limited hours for S upported E LB , E B S ,S Q S and other products B es t S uited for D emo of s mall webs ite, S elf Learning
None
None
TCS Internal
33
TCS Internal
34
E stimation
http:/calculator.s3.amazonaws.com/ / calc5.html
http://aws.amazon.com/economics/
TCS Internal
35
Amazon S ecurity
36
Amazon S ecurity
Amazon S ecurity
Amazon S ecurity
Access to applications and services within the AWS cloud is secure and protected in multiple ways
W eb S ervic es , A P I s , S O A P : X .509 R E S T , Q uery, S O A P , R E S T & Q uery : A c c es s K eys C om m a nd L ine
AWS C redentia ls
A c c es s K eys
S ig n I n C redentia ls
A W S M a na g em ent C o ns ole
http://a w s .a m a zon.c om /c ons ole
S ig n I n C redentia ls
A m a zo n E C 2 I ns ta nc es
TCS Internal
K ey-P a irs
April 18, 2011 39
40
TCS Internal
41
R e-engineering choices
How to build a highly-available application C hoose multiple geos O S M igration M aking it horizontally scalable M aking software multi-tenant and configurable (S aaS )
TCS Internal
42
All IS Us
The top 10 coder contest is enabled by running the emulation software on AWS . For S QL coder contest, D B P rodem was hosted on E C 2 Host VoIP and video s treaming app on E C 2 so that TC S associates can join the virtual conference. Work in progress . Knome is available on C loud, and all their demos to customers happen on E C 2 instance, by default Tool demo available on AWS
L&D
Knome on C loud
C ytoC ommix - visualizing relations hips between biological entities E C View carbon calculator Ins tantApps on C loud TC S P rivate C loud
Available on AWS Available to external customers and internal groups as a B E TA B uild a TC S P rivate C loud hos ted from a April cus tomer partner data center for specific18, 2011
43
TCS Internal
44
Summary
C ustomers have started asking for C loud-enabled solutions Amazon IaaS is easy to use and cheap option for your infrastructure need. The different combined products will give you edge for automated deployment, cost optimization and optimal resource utilization. It will be very bes t suited for your P O C , D ev & Test, C omputing purposes. If you application has elastic demand, some pick usage time and some non productive hours AWS cloud can help manage res ources optimally. If you want to use AWS , think how C loud will fit into your architecture and provide the right qualities for you You could do migration to AWS C loud and application can work as-is but you might require to re-architect a few components to leverage the power of C loud!
TCS Internal
45
Next Step
TC S has capability in architecting, deploying as well managing in cloud. If you customer is interested for AWS C loud, we can help them evaluate whether application is cloud ready or not. If you think you need to use AWS in near future and you want to train your developers, send us their nominations. We can arrange detailed Amazon product training of 2-3 days for architectures / S r. D evelopers. R each us @ venkatachari.raghavan@ tcs.com taral.shah@ tcs.com For more cloud material refer C loud C omputing Home P age in KM .
TCS Internal
46
D emo
O verview AWS E C 2 AM I & Instances R egions & Zones Key-pairs and G roups Infrastructure on demand with tomcat E lastic IP Amazon E B S Volumes & S napshots O verview S 3
TCS Internal
47
Thank You