Introduction To Amazon Web Services

5,389 views

Published on

These are the slides for my presentation at Flash on the Beach 2011.

Published in: Technology, Business
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,389
On SlideShare
0
From Embeds
0
Number of Embeds
1,872
Actions
Shares
0
Downloads
136
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Introduction To Amazon Web Services

  1. 1. AWSomeness @stefanrichterThursday, 15 September 2011
  2. 2. Thursday, 15 September 2011
  3. 3. @stefanrichterThursday, 15 September 2011
  4. 4. Thursday, 15 September 2011
  5. 5. @stefanrichterThursday, 15 September 2011
  6. 6. @stefanrichterThursday, 15 September 2011
  7. 7. @stefanrichterThursday, 15 September 2011
  8. 8. @stefanrichterThursday, 15 September 2011
  9. 9. Storage Computing Data @stefanrichterThursday, 15 September 2011
  10. 10. EC2 “Elastic Compute Cloud” Resizable compute capacity in the cloud. Designed to make web-scale computing easier for developers. @stefanrichterThursday, 15 September 2011
  11. 11. Regions & Zones @stefanrichterThursday, 15 September 2011
  12. 12. Regions US-East - N.Virginia US-West - N. California EU - Ireland APAC - Singapore APAC - Tokyo @stefanrichterThursday, 15 September 2011
  13. 13. Zones physically and logically separate infrastructure high speed, low latency network easy data replication consistent set of APIs example: EBS snapshot > restore to different zone @stefanrichterThursday, 15 September 2011
  14. 14. £ cost $ Elastic computing predicted demand time @stefanrichterThursday, 15 September 2011
  15. 15. £ cost $ Elastic computing predicted demand traditional hardware time @stefanrichterThursday, 15 September 2011
  16. 16. £ cost $ Elastic computing predicted demand actual demand traditional hardware time @stefanrichterThursday, 15 September 2011
  17. 17. £ cost $ Elastic computing predicted demand actual demand automated scaling traditional hardware time @stefanrichterThursday, 15 September 2011
  18. 18. £ cost $ Elastic computing predicted demand actual demand automated scaling time @stefanrichterThursday, 15 September 2011
  19. 19. Let’s launch one! @stefanrichterThursday, 15 September 2011
  20. 20. • launch Amazon AMI • then: sudo yum install mysql-server • service mysqld start • mysql_secure_installation • mysql -uroot -p • if necessary: update user set host=’%’ where user=’root’ and host=... flush privileges; • try and connect from remote host @stefanrichterThursday, 15 September 2011
  21. 21. @stefanrichterThursday, 15 September 2011
  22. 22. Storage S3 EBS Instance Store @stefanrichterThursday, 15 September 2011
  23. 23. S3 “Simple Storage Service” durability redundancy availability Storage, versioning, archiving, recovery. Perfect for assets, static websites 99.999999999% durability 99.99% availability Import/Export service @stefanrichterThursday, 15 September 2011
  24. 24. muchosmedia.com assets media.muchosmedia.com.s3.amazonaws.com CNAME media.muchosmedia.com @stefanrichterThursday, 15 September 2011
  25. 25. media.muchosmedia.com.s3.amazonaws.com/muchosmedia/mm_logo.gif media.muchosmedia.com/muchosmedia/mm_logo.gif @stefanrichterThursday, 15 September 2011
  26. 26. EBS “Elastic Block Storage” Distributed, replicated block data store optimised for consistency and low latency read and write access from EC2 instances Like a HDD @stefanrichterThursday, 15 September 2011
  27. 27. http://s3.amazonaws.com/bucketname/objectid http://bucketname.s3.amazonaws.com/objectid @stefanrichterThursday, 15 September 2011
  28. 28. https://s3.amazonaws.com/bucketname/objectid https://bucketname.s3.amazonaws.com/objectid @stefanrichterThursday, 15 September 2011
  29. 29. Storage Summary Durable, off-instance, fast I/O = EBS Highly-durable, scalable, slower I/O = S3 Temporary, non-critical assets = EC2 Instance www.slideshare.net/AmazonWebServices/aws-storage-options @stefanrichterThursday, 15 September 2011
  30. 30. Hosting a static site on S3 Website Endpoints Permissions Root and Index Documents Error Document S3 / Cloudfront Locally ‘dynamic’ via Disqus etc. Storage: first TB = $0.14/GB @stefanrichterThursday, 15 September 2011
  31. 31. Demo @stefanrichterThursday, 15 September 2011
  32. 32. @stefanrichterThursday, 15 September 2011
  33. 33. Hosting a static site on S3 @stefanrichterThursday, 15 September 2011
  34. 34. @stefanrichterThursday, 15 September 2011
  35. 35. Transfer in: free S3 Transfer out: 1GB free then $0.12/GB $1,228.80 @stefanrichterThursday, 15 September 2011
  36. 36. My figures $25.20 $331.77 :-/ @stefanrichterThursday, 15 September 2011
  37. 37. CloudFront Origin/Edge distributions Low latency, high speed S3 or custom origin Static or streaming (HTTP/S, RTMP) @stefanrichterThursday, 15 September 2011
  38. 38. Database Options MySQL/SQL Server/etc on EC2 RDS (MySQL/Oracle) SimpleDB (non-relational) @stefanrichterThursday, 15 September 2011
  39. 39. RDS Relational database service Create your own snapshots “database in the cloud” Multi-AZ deployment Hot standby (synchronous replication) Pre-configured, up and running in minutes Auto-failover (1-2 mins) DB instance type scaling CloudWatch integration Price: Automatic patching small instance $0.11/hour (x2 for multi-AZ) Backups = $79.20/month + storage + IO + data transfer Replication Automated backups: nightly snapshots + transaction backups point-in-time restore option @stefanrichterThursday, 15 September 2011
  40. 40. Let’s launch one! @stefanrichterThursday, 15 September 2011
  41. 41. Pricing AWS Pricing appears complex at first consider: Elasticity, reliability, flexibility Usage patterns Optimisations Scale by policy @stefanrichterThursday, 15 September 2011
  42. 42. Stuff I havent covered AMIs CloudWatch CloudFormation Auto Scaling Elastic IPs Security Groups Snapshots Spot instances Cluster/GPU @stefanrichter ...Thursday, 15 September 2011
  43. 43. @stefanrichterThursday, 15 September 2011
  44. 44. peecho.com/blog/minimizing-downtime-on-amazon-aws.html http://bit.ly/peEIyg highscalability.com/blog/2011/8/1/peecho-architecture-scalability-on-a- shoestring.html http://bit.ly/mZufLw @stefanrichterThursday, 15 September 2011
  45. 45. Tools CloudBerry Explorer cloudberrylab.com S3Fox Firefox Extension @stefanrichterThursday, 15 September 2011
  46. 46. Elasticfox Firefox Extension http://aws.amazon.com/developertools/609 @stefanrichterThursday, 15 September 2011
  47. 47. @stefanrichterThursday, 15 September 2011
  48. 48. Resources AWS Blog aws.typepad.com www.shlomoswidler.com @ShlomoSwidler ylastic.com @ylastic @stefanrichterThursday, 15 September 2011
  49. 49. Resources Matt Wood @mza Eric Hammond (just Google him) @stefanrichterThursday, 15 September 2011
  50. 50. bit.ly/awsevent @stefanrichterThursday, 15 September 2011
  51. 51. @stefanrichterThursday, 15 September 2011

×