Date post: | 12-Apr-2017 |
Category: |
Software |
Upload: | uri-rosenhaus |
View: | 63 times |
Download: | 0 times |
Introduction to cloud computing
It is all about money
Clouds and clouds
What is the cloud?
NIST defines 5 characteristics
●on demand self-service●broad network access●resource pooling / multi-tenancy●rapid elasticity●measured service
http://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf
Deployment models
●Private omay be on or off premise
●Community ono much different from private
●Public opublic does not mean free
●HybridoCloud Bursting
Most popular cloud applications
●Cloud storageoBackupoShareoTransform (images, music, video, documents)
●Web-applications for broad audienceoSome build their own cloudoSome use existing ones
●Data mining / data warehouseoLog processing
●Scientific computations
Perspectives
Amazon Web Services
Core services
●Amazon Simple Storage ServiceS x S x S = S3
●Amazon Elastic Computing CloudE C C = EC2
Key components of the AWS ecosystem
Amazon S3 storage
●Unlimited (store as much data as you need)●Durable (99.999999999% durability)●Inexpensive (from $10/month for 100GB -
same as DropBox, to $1/month with Glacier)
Drawback:●Need to learn the concepts
o regions and bucketso3 storage modelsopricing model
Regions and availability zones
Amazon S3 storage
Bucket name appears as a domain name prefix
my-super-bucket http://my-super-bucket.s3.amazonaws.com/
●Name is limited to alphanum, dot and dash●It must be globally unique●Dash is better than dot
Amazon S3 storage
Storage models●Normal●Reduced redundancy (99.99%)●Glacier (3-5 hours before retrieve)
Pricing model●Storage (10¢ / 7.6¢ / 1¢ per GB)●Outbound traffic (12¢ per 1GB, first GB is
free)●Requests (1¢ per 10,000 GETs)
Amazon S3 storage
Very basic static website hosting●index.html support●error page support●redirects
CloudFront - content delivery network●SSL termination●RTMP support for video
Amazon EC2
Your virtual machine in a cloudSupported OS:
●Linux (all flavours)●Windows Server (2003, 2008, 2012)
Unsupported, but known to work:●FreeBSD●OpenSolaris
Amazon EC2One EC2 Compute Unit (ECU) provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Xeon processor.
Hardware configurations● starting from "micro": 613MB RAM, 1 cores of 2 ECU
(tamed!)● to "High-Memory Quadruple Extra Large": 68GB RAM,
8 cores x 3.25 ECU each● and even more... (cluster / GPU / High I/O)
Amazon EC2
Concepts●Amazon Machine Image - AMI●Local (temporary) storage●Elastic Block Storage - EBS●Security groups●ssh keys / Administrator password●Elastic IP Address
Amazon EC2
Clustering●Elastic Load Balancer (ELB)
oMulti-zoneoSSL termination supportoTCP port limitation
●Autoscale optionoCloudWatch metricsoScale up and down
●Route53 DNS ServiceoLatency based routing
Amazon EC2
Pricing model● Running time (from 2¢/hour for "micro" to $2 - $3 /
hour for super-duper box)● EBS● Licenses (AWS Marketplace)● Reserved instances - pay ahead
oUtilization (light/medium/heavy)oEconomy is about 40%
● Spot instances (and Spot market)
Stop your instances when you don't need them!
Instance-based services
●Amazon RDS - RDBMS managed instancesoMySQLoOracle (Standard Edition)oMicrosoft SQL Server (Express / Web / Standard)
●ElasticCache (memcached)●Elastic MapReduce (Hadoop)●CloudSearch (Solr-based??)
Cost is "per instance". The added value is for free.
Cloud-application services
●Simple Queue Service●Simple Notification Service●Simple Email Service●DynamoDB / SimpleDB
Benefits:●Automatical provisioning●Scaling●Reliability
Elastic BeansTalk
An attempt to provide PaaS
●MultiplatformoJava - Tomcato .NET - IIS 7.5oPHP/Python/Ruby - Apache HTTP plugin
●Automatically provisioned and managedoBalanceroAuto-scale
Amazon cloud for your network
Virtual Private Cloud● VPN to your network
o Multipath if BGP is used● Your IP network subnets● Several connectivity
options:o Public subnetso Private subnetso Private subnets with NATo 2 network interfaces
Amazon cloud for your network
Storage Gateway - seamless data replication
Tools
Provided and supported by Amazon:● AWS Console● Command-line tools (for scripting)● API Libraries
Third-party:● Browser plugins (ElasticFox, S3Fox, SDBTool, ...)● API and command-line tools (s3cmd, boto, ...)● Third-party web-applications (Ylastic)● S3 is supported by some FTP software
Amazon cloud Use Cases
http://aws.amazon.com/solutions/case-studies/
Questions?