Amazon Cloud Services

4,387 views

Published on

This presentation from Clogeny described Amazon\'s cloud offerings covering all of their services. This can act as a primer for understanding basics of cloud computing.

0 Comments
10 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,387
On SlideShare
0
From Embeds
0
Number of Embeds
1,178
Actions
Shares
0
Downloads
0
Comments
0
Likes
10
Embeds 0
No embeds

No notes for slide

Amazon Cloud Services

  1. 1. Amazon Cloud Services Kalpak Shah Clogeny Technologies Pvt. Ltd. [email_address] The forecast is ..... cloudy Clogeny Technologies Pvt. Ltd.
  2. 2. What is cloud computing? <ul><li>Next generation of computing after Mainframe, Personal computers, Client-Server and the Web </li></ul><ul><li>New platform and delivery model providing dynamically scalable and often virtualized resources </li></ul><ul><li>1000 servers for 1 hour = 1 server for 1000 hours! </li></ul><ul><li>Accessibility – Connectivity – Viability </li></ul><ul><li>Beware of cloud imposters! </li></ul><ul><ul><li>Online != Cloud </li></ul></ul>Clogeny Technologies Pvt. Ltd.
  3. 3. Cloud Stack <ul><li>Infrastructure as a Service (IaaS) </li></ul><ul><ul><li>Amazon EC2, Rackspace CloudServers </li></ul></ul><ul><li>Platform as a Service (PaaS) </li></ul><ul><ul><li>Google AppEngine, Heroku </li></ul></ul><ul><li>Software as a Service (SaaS) </li></ul><ul><ul><li>SalesForce.com, ZOHO </li></ul></ul>Clogeny Technologies Pvt. Ltd.
  4. 4. Cloud Economics <ul><li>Economies of scale </li></ul><ul><ul><li>5-7 times decrease in cost as compared to data centers </li></ul></ul><ul><li>Pay as you go </li></ul><ul><ul><li>1 hour of Amazon EC2 can cost as less as 8.5 cents or 4 rupees! </li></ul></ul><ul><li>No CAPEX, only OPEX </li></ul><ul><li>Practically infinite scalability – go from 1 machine to 1000 in an hour! </li></ul><ul><ul><li>That is fast provisioning! </li></ul></ul><ul><li>Start-ups can focus on core proposition than infrastructure. </li></ul><ul><li>Departments in enterprises need not wait for budget approvals </li></ul>Clogeny Technologies Pvt. Ltd.
  5. 5. AWS Services Clogeny Technologies Pvt. Ltd.
  6. 6. About all services - 1 <ul><li>Amazon’s web services scale as and when needed </li></ul><ul><li>Completely pay as you go </li></ul><ul><li>SOAP and REST interfaces will be available </li></ul><ul><ul><li>All features have a comprehensive web services API </li></ul></ul><ul><li>Libraries for popular languages like Java, .Net, Perl, RoR are available </li></ul><ul><li>Pricing is complicated & the pricing calculator more so! </li></ul><ul><ul><li>For example, $0.10 per 1 million IO requests </li></ul></ul><ul><li>Amazon cloud is available at 3 different regions </li></ul><ul><ul><li>2 in US and 1 in Europe </li></ul></ul><ul><ul><li>Regions are priced differently depending on scale, local taxes and other factors </li></ul></ul>Clogeny Technologies Pvt. Ltd.
  7. 7. About all services - 2 <ul><li>Backed by a decently good SLA(Service Level Agreement) of around 99.9% uptime. </li></ul><ul><li>And most importantly: </li></ul><ul><ul><li>All data transfer in and out of Amazon cloud is charged </li></ul></ul><ul><ul><li>Around $0.15/GB, though in-coming data is free until June </li></ul></ul><ul><ul><li>As volume increases price decreases starting from about 50TB </li></ul></ul><ul><ul><li>Data transfer across availability zones is charged </li></ul></ul>Clogeny Technologies Pvt. Ltd.
  8. 8. Elastic Compute Cloud <ul><li>Resizable compute capacity – boot servers in minutes for scaling your applications/portals </li></ul><ul><ul><li>You can choose compute units(cores) and memory as per your needs </li></ul></ul><ul><li>Pricing starts from $0.085 per hour </li></ul><ul><li>Variety of OS’s are available – Linux, Windows, OpenSolaris </li></ul><ul><li>OEMs provide bundled Amazon Machine Instances (AMI) </li></ul><ul><ul><li>Pre-packaged applications like Oracle, SQL, media servers available to choose from </li></ul></ul><ul><ul><li>Licensing becomes pay as you go as well! </li></ul></ul><ul><li>Attached storage is not persistent! </li></ul><ul><ul><li>A running server can be “bundled” and converted into an AMI for later use. </li></ul></ul><ul><li>Thousands of free and paid AMIs available with various softwares and stacks </li></ul>Clogeny Technologies Pvt. Ltd.
  9. 9. Simple Storage Service (S3) <ul><li>Storage for the internet – HTTP scalable storage </li></ul><ul><li>Safe storage – 3 copies, offsite backup as well </li></ul><ul><li>Each file can be accessed as a URL </li></ul><ul><ul><li>http://<bucket>.s3.amazonaws.com/<object> </li></ul></ul><ul><ul><li>Can be easily embedded into web pages for delivery through S3 </li></ul></ul><ul><li>Read, write and delete objects upto 5GB </li></ul><ul><ul><li>Modification not allowed </li></ul></ul><ul><li>Not like your filesystem </li></ul><ul><ul><li>Folder => bucket </li></ul></ul><ul><ul><li>File => Object </li></ul></ul><ul><ul><li>No block based access </li></ul></ul><ul><li>BitTorrent protocol interface available for high-scale distribution </li></ul><ul><li>Transfer between regions is also charged </li></ul><ul><li>AWS Import/Export can be used for large datasets </li></ul>Clogeny Technologies Pvt. Ltd.
  10. 10. Elastic Block Storage(EBS) <ul><li>EBS are the block storage volumes providing persistent storage. </li></ul><ul><ul><li>Format and use like filesystems/drives </li></ul></ul><ul><ul><li>From 1GB upto 1TB </li></ul></ul><ul><li>EBS volume can be “attached” to any running instance in same region </li></ul><ul><ul><li>Move disks between instances as needed </li></ul></ul><ul><li>Snapshots of EBS volumes can be taken for incremental backups </li></ul><ul><ul><li>New volumes can be created from snapshots </li></ul></ul><ul><ul><li>Snapshots can be shared with other users! </li></ul></ul><ul><li>Volumes can fail! </li></ul><ul><ul><li>Annual failure rate of 0.1%-0.5% (still lesser than drives we use) </li></ul></ul><ul><ul><li>Snapshot/backup to avoid data loss </li></ul></ul>Clogeny Technologies Pvt. Ltd.
  11. 11. Cloud Databases - SimpleDB <ul><li>Database as a cloud web service </li></ul><ul><ul><li>Data indexing and querying </li></ul></ul><ul><ul><li>No need to configure normal relational databases and scale it </li></ul></ul><ul><ul><li>Not your traditional relational database </li></ul></ul><ul><li>Pricing </li></ul><ul><ul><li>SimpleDB measures the machine utilization and charges $0.14 per Machine Hour used by the requests(SELECT, GET, PUT, etc.) </li></ul></ul><ul><li>Alexa stores about 12 million objects in SimpleDB and performs 5 million queries daily </li></ul>Clogeny Technologies Pvt. Ltd.
  12. 12. Cloud Databases - RDS <ul><li>Relational Database Service (RDS) </li></ul><ul><ul><li>Easily setup, scale and operate a relational database with familiar MySQL capabilities </li></ul></ul><ul><ul><li>Whatever code is used today with MySQL will work with RDS </li></ul></ul><ul><li>Automatic database backups </li></ul><ul><ul><li>Its charged though. </li></ul></ul><ul><li>Pricing is per database instance hour depending on how large the instance is. </li></ul><ul><li>Utilities like “mysqldump” and “mysqlimport” help easy porting of existing MySQL databases into RDS </li></ul>Clogeny Technologies Pvt. Ltd.
  13. 13. Content Distribution (CloudFront) <ul><li>Delivers your static and streaming content from global network of edge locations. </li></ul><ul><li>Improves performance and reduces load on web servers </li></ul><ul><li>Integrated with S3 </li></ul><ul><ul><li>Distribute files from S3 as and when needed </li></ul></ul><ul><li>Pricing depends on edge location (US, Europe, Hong Kong, Japan) </li></ul><ul><li>Private content feature so that your data is not publicly accessible </li></ul><ul><li>Real Time Messaging Protocol used for streaming distributions unlike HTTP which is used for other normal distributions </li></ul>Clogeny Technologies Pvt. Ltd.
  14. 14. Amazon CloudWatch <ul><li>Monitoring tool for AWS services </li></ul><ul><ul><li>Resource utilization </li></ul></ul><ul><ul><li>Demand patterns </li></ul></ul><ul><ul><li>CPU, disk, network statistics </li></ul></ul><ul><li>You can select the instances you want to watch </li></ul><ul><li>Monitors Elastic Load Balancers for request count and request efficiency </li></ul>Clogeny Technologies Pvt. Ltd.
  15. 15. Elastic Load Balancing & Auto Scaling <ul><li>Load balancing automatically distributes incoming application traffic across multiple EC2 instances </li></ul><ul><li>Detects health of EC2 instances and moves requests to healthy instances on the fly </li></ul><ul><li>Fault tolerance for your applications </li></ul><ul><li>Auto Scaling allows you to automatically scale your EC2 instances up or down as per conditions you set. </li></ul><ul><li>Good for applications that have lot of load variations </li></ul><ul><ul><li>Seamless scaling up during spikes and scaling down during low loads </li></ul></ul><ul><li>This feature is available through CloudWatch </li></ul>Clogeny Technologies Pvt. Ltd.
  16. 16. Other features <ul><li>Spot Instances </li></ul><ul><ul><li>Trade and bid for computing </li></ul></ul><ul><ul><li>Instances are allocated only if price drops to your bid </li></ul></ul><ul><ul><li>Use cheap compute power during holidays </li></ul></ul><ul><li>Virtual Private Cloud </li></ul><ul><ul><li>Enterprise level security with VPN </li></ul></ul><ul><li>MapReduce (Hadoop based framework) </li></ul><ul><ul><li>Distributed processing engine </li></ul></ul><ul><ul><li>Processing vast amounts of data </li></ul></ul><ul><ul><li>Indexing, mining, financial analysis, simulations </li></ul></ul>Clogeny Technologies Pvt. Ltd.
  17. 17. Case Studies <ul><li>SmugMug – Online photo sharing company has millions of photos on Amazon S3. </li></ul><ul><li>Linden Lab, the maker of Second Life uses Amazon to deliver and store content. </li></ul><ul><li>“ Ghost” – which provides web based OS is using Amazon for all its needs. </li></ul><ul><li>Xignite uses cloud to deliver analytics for financial markets for clients like Citi, Forbes and StarBucks. </li></ul><ul><li>Many companies are using EC2+ Solr+MapReduce for mining data. </li></ul>Clogeny Technologies Pvt. Ltd.
  18. 18. Tools <ul><li>EC2 command-line options </li></ul><ul><ul><li>ec2-describe-instances </li></ul></ul><ul><ul><li>Ec2-bundle-vol </li></ul></ul><ul><li>Amazon AWS Dashboard </li></ul><ul><ul><li>Manage your instances, IPs, keypairs and more </li></ul></ul><ul><li>ElasticFox </li></ul><ul><ul><li>Firefox plugin with better UI than Amazon dashboard </li></ul></ul><ul><ul><li>Can help manage most of your cloud services </li></ul></ul><ul><li>S3Fox </li></ul><ul><ul><li>Manage S3 storage. Upload/download, edit ACLs, get URL </li></ul></ul><ul><li>Lets see a demo of these tools... </li></ul><ul><li>RightScale </li></ul><ul><ul><li>Proprietory </li></ul></ul><ul><ul><li>Deploy and manage business critical applications on the cloud </li></ul></ul><ul><ul><li>More automation and proffessional features </li></ul></ul>Clogeny Technologies Pvt. Ltd.
  19. 19. Conclusion <ul><li>There are other clouds as well </li></ul><ul><ul><li>Rackspace </li></ul></ul><ul><ul><li>Terremark </li></ul></ul><ul><ul><li>GoGrid </li></ul></ul><ul><li>No complains about lack of compute power </li></ul><ul><li>So many choices! </li></ul><ul><ul><li>Alexa, SearchBlox web search software available on the cloud </li></ul></ul><ul><ul><li>Amazon S3 can be your unlimited online hard drive </li></ul></ul><ul><ul><li>Media streaming available as a service </li></ul></ul><ul><li>Make your scalable cloud hosted application for fun! </li></ul>Clogeny Technologies Pvt. Ltd.
  20. 20. Questions Clogeny Technologies Pvt. Ltd.

×