artem zhurbila - 1 aws overview
TRANSCRIPT
Agenda1. Cloud computing overview2. AWS basic concepts3. Quick view of all Amazon Web Services4. Pricing model5. IAM service
2
Cloud computing overviewWiki: Cloud computing - computing in which large groups of remote servers are networked to allow centralized data storage and online access to computer services or resources.
3
5 essential characteristics1. On-demand self-service2. Broad network access3. Resource pooling4. Rapid elasticity5. Measured service
4
Business Benefits● Almost zero upfront infrastructure investment● More efficient resource utilization● Usage-based costing● Reduced time to market● Disaster Recovery and Business Continuity
5
Use cases● Image and video processing pipelines● Data mining● Generate daily/weekly/* reports (BI platforms)● Run nightly tests (functional, load, performance)● Promotion websites● Servers that “sleep” at night● Seasonal websites (“Black Friday” or Christmas)
8
Not fearing cloud platform constraints- If the cloud does not provide you with exact or greater
amount of RAM in a server, try using a distributed cache like memcached.
- If your databases need more IOPS you can distribute the read load across a fleet of synchronized slaves. Alternatively, you can use a sharding algorithm that routes the data where it needs to be.
- etc.
9
Design for failure and nothing will failBe a pessimist when designing architectures in the cloud; assume things will fail. In other words, alwaysdesign, implement and deploy for automated recovery from failure.
10
Decouple your componentsIf one component were to die (fail, not respond) for some reason, the other components in the system arebuilt so as to continue to work. In essence, loose coupling isolates the various layers andcomponents of your application so that each component interacts asynchronously
11
Servers as cattle (not pets)
"When one of them gets sick, you shoot 'em in the head and replace 'em with a new one."
12
AWSAmazon Web Services (AWS) is a collection of remote computing services that together make up a cloud computing platform by Amazon.com since 2006.
13
Global Infrastructure11 - regions 27 - available zones
- new region China (Beijing) was launched in early 2014)
http://status.aws.amazon.com/
14
Pricing model● Pay as you go● Pay less when you reserve● Pay less by using more● Pay less as AWS grows :)
- AWS Free Tier - http://aws.amazon.com/free/- Custom pricing is available for high volume projects- Consolidated Billing
27
Services for no additional charge1. VPC2. Elastic Beanstalk3. CloudFormation4. IAM5. Auto Scaling6. OpsWorks
- No charge for Inbound data transfer.
31
Policy structure{ "Version": "2012-10-17", "Id": "S3-Account-Permissions", "Statement": [{ "Sid": "1", "Effect": "Allow", "Action": "s3:*", "Resource": [ "arn:aws:s3:::mybucket", "arn:aws:s3:::mybucket/*" ] }]}
34
AWS Case Study: Obama for America Campaign 2012
http://awsofa.info/
have fun :)
39