Aws coi7


Published on

Published in: Technology, Business
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Aws coi7

  1. 1. Amazon Web Services: Amazon Elastic Compute Cloud (EC2) Jeevan Dongre Associate Organizer- AWS B’lore UG
  2. 2. What is cloud? <ul><ul><li>“ Cloud computing is a style of computing where scalable and elastic IT-enabled capabilities are delivered as a service to external customers using Internet technologies.”-Gartner </li></ul></ul>
  3. 3. Other definitions of Cloud: <ul><ul><li>“ A pool of abstracted, highly scalable, and managed compute infrastructure capable of hosting end-customer applications and billed by consumption ”. </li></ul></ul><ul><ul><li>“ Cloud computing is an emerging approach to shared infrastructure in which large pools of systems are linked together to provide IT services.” – IBM press release on “Blue Cloud” </li></ul></ul><ul><ul><li>“ Cloud computing describes a systems architecture. Period. This particular architecture assumes nothing about the physical location, internal composition or ownership of its component parts.” – James Urquhart blog post </li></ul></ul>
  4. 4. Categories of Cloud: <ul><ul><li>Iaas: Infrastructure as a service </li></ul></ul><ul><ul><li>Paas:Platform as a service </li></ul></ul><ul><ul><li>Saas:Software as a service </li></ul></ul><ul><ul><li>Daas:Desktop as a service </li></ul></ul><ul><ul><li>And many more services. </li></ul></ul>
  5. 5. Cloud Stack:
  6. 6. Points to Remember: <ul><ul><li>Iaas forms the basic building blocks. </li></ul></ul><ul><ul><li>Paas is built on Iaas: </li></ul></ul><ul><ul><li>Saas is build on Paas: </li></ul></ul><ul><ul><li>So in this regard any services are either built on Paas or Iaas. </li></ul></ul>
  7. 7. Types of Cloud: <ul><ul><li>Public Cloud </li></ul></ul><ul><ul><li>Private Cloud </li></ul></ul><ul><ul><li>Hybrid Cloud </li></ul></ul><ul><ul><li>Community Cloud/Gov Cloud </li></ul></ul>
  8. 8. What is Driving Cloud Computing? Customer Perspective: • In one word: economics • Faster, simpler, cheaper to use cloud apps • No upfront capital required for servers and storage • No ongoing operational expenses for running datacenter • Applications can be accessed from anywhere, anytime
  9. 9. What is Driving Cloud Computing Vendor Perspective: • Easier for application vendors to reach new customers • Lowest cost way of delivering and supporting applications • Ability to use commodity server and storage hardware • Ability to drive down data center operational cots • In one word: economics
  10. 10. Common factor:
  11. 11. Issues Facing Developers <ul><ul><li>70% of Web Development Effort is “Muck”: </li></ul></ul><ul><ul><ul><li>Data Centers </li></ul></ul></ul><ul><ul><ul><li>Bandwidth / Power / Cooling </li></ul></ul></ul><ul><ul><ul><li>Operations </li></ul></ul></ul><ul><ul><ul><li>Staffing </li></ul></ul></ul><ul><ul><li>Scaling is Difficult and Expensive: </li></ul></ul><ul><ul><ul><li>Large Up-Front Investment </li></ul></ul></ul><ul><ul><ul><li>Invest Ahead of Demand </li></ul></ul></ul><ul><ul><ul><li>Load is Unpredictable </li></ul></ul></ul>
  12. 12. Solution: Web-Scale Computing <ul><ul><li>Scale capacity on demand </li></ul></ul><ul><ul><li>Turn fixed costs into variable costs </li></ul></ul><ul><ul><li>Always available </li></ul></ul><ul><ul><li>Rock-solid reliability </li></ul></ul><ul><ul><li>Simple APIs and conceptual models </li></ul></ul><ul><ul><li>Cost-effective </li></ul></ul><ul><ul><li>Reduced time to market </li></ul></ul><ul><ul><li>Focus on product & core competencies </li></ul></ul>
  13. 13. Driving factors for Amazon:
  14. 14. The Differences That Distinguish AWS <ul><ul><li>Flexible : AWS enables organizations to use the programming model, operating system, databases, and architectures they are already familiar with. In addition, this flexibility helps companies mix and match architectures in order to serve their diverse business needs. </li></ul></ul>
  15. 15. The Differences That Distinguish AWS <ul><ul><li>Cost-effective : With AWS, organizations pay only for what they use, with no up-front commitments or longterm commitments. </li></ul></ul>
  16. 16. The Differences That Distinguish AWS <ul><ul><li>Scalable and elastic: Businesses can quickly add and subtract AWS resources to their applications in order to meet customer demand and manage costs. </li></ul></ul>
  17. 17. The Differences That Distinguish AWS <ul><ul><li>Secure: In order to provide end-to-end security and end-to-end privacy, AWS builds services in accordance with security best practices, provides appropriate security features in those services, and documents how to use those features. </li></ul></ul><ul><ul><li> </li></ul></ul>
  18. 18. The Differences That Distinguish AWS <ul><ul><li>Experienced. When using AWS, you leverage over fifteen years of Amazon’s experience in delivering largescale, global infrastructure in a reliable, secure fashion. </li></ul></ul>
  19. 19. Lets have a deep dive:
  20. 20. Do you have a credit card?
  21. 21. Any guess?
  22. 22. Amazon Simple Storage Service S3
  23. 23. Overview of S3 <ul><ul><li>Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers. </li></ul></ul><ul><ul><li>It gives any developer access to the same highly scalable, reliable, secure, fast, inexpensive infrastructure that Amazon uses to run its own global network of web sites. </li></ul></ul>
  24. 24. Amazon S3 Functionality <ul><ul><li>Write, read, and delete objects containing from 1 byte to 5 terabytes of data each. The number of objects you can store is unlimited. </li></ul></ul><ul><ul><li>Each object is stored in a bucket and retrieved via a unique, developer-assigned key. </li></ul></ul><ul><ul><li>Uses standards-based REST and SOAP interfaces designed to work with any Internet-development toolkit. </li></ul></ul>
  25. 25. Getting Started with Amazon S3 <ul><ul><li>Create a Bucket to store your data. You can choose a Region where your bucket and object(s) reside to optimize latency, minimize costs, or address regulatory requirements. </li></ul></ul><ul><ul><li>Upload Objects to your Bucket. Your data is durably stored and backed by the Amazon S3 Service Level Agreement. </li></ul></ul><ul><ul><li>Optionally, set access controls. You can grants others access to your data from anywhere in the world. </li></ul></ul>
  26. 26. Common Use Cases <ul><ul><li>Content Storage and Distribution. </li></ul></ul><ul><ul><li>Storage for Data Analysis. </li></ul></ul><ul><ul><li>Backup, Archiving and Disaster Recovery. </li></ul></ul>
  27. 27. DEMO <ul><ul><li>Creating a static web site and hosting it on s3 </li></ul></ul>
  28. 28. Any guess?
  29. 29. Amazon Elastic Compute Cloud EC2
  30. 30. Overview of EC2 <ul><ul><li>Released in the year 2006 after a huge success of S3. </li></ul></ul><ul><ul><li>Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers. </li></ul></ul><ul><ul><li>  EC2 reduces the time required to obtain and boot new server instances to minutes. </li></ul></ul>
  31. 31. Overview of EC2 Continued.. <ul><ul><li>allowing you to pay only for capacity that you actually use. </li></ul></ul><ul><ul><li>  provides developers the tools to build failure resilient applications and isolate themselves from common failure scenarios. </li></ul></ul>
  32. 32.   Regions and Availability Zones <ul><ul><li>US East (Northern Virginia), </li></ul></ul><ul><ul><li>US West (Northern California), </li></ul></ul><ul><ul><li>EU (Ireland), </li></ul></ul><ul><ul><li>Asia Pacific (Singapore), </li></ul></ul><ul><ul><li>Asia Pacific (Tokyo), and  </li></ul></ul><ul><ul><li>AWS GovCloud . </li></ul></ul>
  33. 33. Few basic concepts of EC2 <ul><ul><li>AMI </li></ul></ul><ul><ul><li>Instance </li></ul></ul><ul><ul><li>EBS </li></ul></ul><ul><ul><li>Elastic Ip </li></ul></ul><ul><ul><li>Security group </li></ul></ul><ul><ul><li>CloudWatch </li></ul></ul><ul><ul><li>Elastic Load balancing. </li></ul></ul>
  34. 34. Amazon Machine Image <ul><ul><li>An Amazon Machine Image (AMI) is a special type of pre-configured operating system and virtual application software which is used to create a virtual machine within the Amazon Elastic Compute Cloud (EC2). </li></ul></ul><ul><ul><li>  It serves as the basic unit of deployment for services delivered using EC2. </li></ul></ul>
  35. 35. Operating systems of AMI
  36. 36. Instance <ul><ul><li>instance provides a predictable amount of dedicated compute capacity and is charged per instance-hour consumed. </li></ul></ul>
  37. 37. Types of Instance <ul><ul><li>Micro Instance. </li></ul></ul><ul><ul><li>Small Instance. </li></ul></ul><ul><ul><li>Large Instance. </li></ul></ul><ul><ul><li>Spot Instance. </li></ul></ul><ul><ul><li>Reserved Instance. </li></ul></ul><ul><ul><li>High-Memory Instance. </li></ul></ul><ul><ul><li>High-Compute Instance. </li></ul></ul><ul><ul><li>Cluster Compute Instance. </li></ul></ul>
  38. 38. Elastic Block Store <ul><ul><li>  provides block level storage volumes for use with Amazon EC2 instances. </li></ul></ul><ul><ul><li>EBS volumes are off-instance storage that persists independently from the life of an instance. </li></ul></ul><ul><ul><li>  Elastic Block Store provides highly available, highly reliable storage volumes that can be attached to a running Amazon EC2 instance. </li></ul></ul><ul><ul><li>  EBS is particularly suited for applications that require a database, file system, or access to raw block level storage. </li></ul></ul>
  39. 39. Features of Amazon EBS volumes <ul><ul><li>Amazon EBS allows you to create storage volumes from 1 GB to 1 TB that can be mounted as devices by Amazon EC2 instances. </li></ul></ul><ul><ul><li>Multiple volumes can be mounted to the same instance. </li></ul></ul><ul><ul><li>Storage volumes behave like raw, unformatted block devices, with user supplied device names and a block device interface. </li></ul></ul>
  40. 40. Features of Amazon EBS volumes <ul><ul><li>Amazon EBS also provides the ability to create point-in-time snapshots of volumes, which are persisted to Amazon S3. </li></ul></ul><ul><ul><li>You can create a file system on top of Amazon EBS volumes, or use them in any other way you would use a block device (like a hard drive). </li></ul></ul>
  41. 41. Elastic IP <ul><ul><li>Elastic IP addresses are static IP addresses designed for dynamic cloud computing. </li></ul></ul><ul><ul><li>EC2 enables you to engineer around problems with your instance or software by quickly remapping your Elastic IP address to a replacement instance. </li></ul></ul>
  42. 42. Security group <ul><ul><li>The  Security Group  defines which ports are opened in an instance's firewall to allow incoming connections to the instance. </li></ul></ul><ul><ul><li>  Security Groups act as firewalls in the cloud. </li></ul></ul><ul><ul><li>They are designed to control who can communicate (initiate communication) with your machine. </li></ul></ul>
  43. 43. Cloud Watch <ul><ul><li>  Amazon CloudWatch is a web service that provides monitoring for AWS cloud resources and applications, starting with Amazon EC2. </li></ul></ul><ul><ul><li>It provides you with visibility into resource utilization, operational performance, and overall demand patterns—including metrics such as CPU utilization, disk reads and writes, and network traffic. </li></ul></ul>
  44. 44. Elastic Load balancing. <ul><ul><li>  Elastic Load Balancing automatically distributes incoming application traffic across multiple Amazon EC2 instances. </li></ul></ul><ul><ul><li>Elastic Load Balancing detects unhealthy instances within a pool and automatically reroutes traffic to healthy instances until the unhealthy instances have been restored. </li></ul></ul><ul><ul><li>Can be used along with the cloud watch. </li></ul></ul>
  45. 45. Amazon EC2 Functionality <ul><ul><li>Select a pre-configured, templated image to get up and running immediately. </li></ul></ul><ul><ul><li>Or create an Amazon Machine Image (AMI) containing your applications, libraries, data, and associated configuration settings. </li></ul></ul><ul><ul><li>Configure security and network access on your Amazon EC2 instance. </li></ul></ul><ul><ul><li>Choose which instance type(s) and operating system you want, then start, terminate, and monitor as many instances of your AMI as needed, using the web service APIs or the variety of management tools provided. </li></ul></ul>
  46. 46. Amazon EC2 Functionality <ul><ul><li>Determine whether you want to run in multiple locations, utilize static IP endpoints, or attach persistent block storage to your instances. </li></ul></ul><ul><ul><li>Pay only for the resources that you actually consume, like instance-hours or data transfer. </li></ul></ul>
  47. 47. Service highlights <ul><ul><li>Elastic </li></ul></ul><ul><ul><li>Completely Controlled. </li></ul></ul><ul><ul><li>Flexible. </li></ul></ul><ul><ul><li>Reliable. </li></ul></ul><ul><ul><li>Secure. </li></ul></ul><ul><ul><li>Inexpensive </li></ul></ul>
  48. 49. Elastic Beanstalk
  49. 50. Elastic Beanstalk <ul><ul><li>  is an even easier way for you to quickly deploy and manage applications in the AWS cloud. </li></ul></ul><ul><ul><li>You simply upload your application, and Elastic Beanstalk automatically handles the deployment details of capacity provisioning, load balancing, auto-scaling, and application health monitoring. </li></ul></ul><ul><ul><li>  AWS Elastic Beanstalk is easy to begin and impossible to outgrow. </li></ul></ul>
  50. 51. AWS Elastic Beanstalk Functionality <ul><ul><li>Create your application as you normally would using any editor or IDE (e.g. Eclipse). </li></ul></ul><ul><ul><li>Package your deployable code into a standard Java Web Application Archive (WAR file). </li></ul></ul><ul><ul><li>Upload your WAR file to Elastic Beanstalk using the AWS Management Console. </li></ul></ul><ul><ul><li>Deploy your application. </li></ul></ul><ul><ul><li>access your application at a customized URL </li></ul></ul>
  51. 52. Service Highlights <ul><ul><li>Easy to begin. </li></ul></ul><ul><ul><li>Impossible to outgrow. </li></ul></ul><ul><ul><li>Complete control </li></ul></ul><ul><ul><li>Flexible </li></ul></ul><ul><ul><li>Reliable </li></ul></ul>
  52. 53. Amazon Simple Queue Service SQS
  53. 54. Overview <ul><ul><li>Amazon Simple Queue Service (Amazon SQS) offers a reliable, highly scalable, hosted queue for storing messages as they travel between computers. </li></ul></ul><ul><ul><li>  move data between distributed components of their applications that perform different tasks, without losing messages or requiring each component to be always available. </li></ul></ul><ul><ul><li>can run independently, and do not need to be on the same network, developed with the same technologies, or running at the same time. </li></ul></ul>
  54. 55. <ul><ul><li>A queue can be created in 5 regions. </li></ul></ul><ul><ul><li>The message body can contain up to 64 KB of text in any format (default is 8KB). </li></ul></ul><ul><ul><li>Messages can be retained in queues for up to 14 days (default is 4 days). </li></ul></ul><ul><ul><li>Messages can be sent and read simultaneously. </li></ul></ul>
  55. 56. Amazon Simple Emailing Service SES
  56. 57. Overview <ul><ul><li>Amazon Simple Email Service (Amazon SES) is a highly scalable and cost-effective bulk and transactional email-sending service for businesses and developers. </li></ul></ul><ul><ul><li>Reduces the complexity of building ih-house SMTP. </li></ul></ul><ul><ul><li>Use amazon readily available SMTP’s to send bulk e-mails. </li></ul></ul><ul><ul><li>Newsletters, confirmation e-mails,marketing etc. </li></ul></ul>
  57. 58. Overview <ul><ul><li>2000 emails per day is free. </li></ul></ul><ul><ul><li>Scalable upto 10,000 emails per hour. </li></ul></ul><ul><ul><li>After 2000 emails charges only $0.10 per 1000 emails. </li></ul></ul>
  58. 59. Amazon Simple Notification Service SNS
  59. 60. Overview <ul><ul><li>Amazon Simple Notification Service (Amazon SNS) is a web service that makes it easy to set up, operate, and send notifications from the cloud. </li></ul></ul><ul><ul><li>  Amazon SNS delivers notifications to clients using a “push” mechanism that eliminates the need to periodically check or “poll” for new information and updates. </li></ul></ul><ul><ul><li>  Amazon SNS can be highly customized by developers to meet a wide range of application needs </li></ul></ul>
  60. 61. SNS Functionality <ul><ul><li>Create a topic: A topic is an “access point” – identifying a specific subject or event type – for publishing messages and allowing clients to subscribe for notifications. </li></ul></ul><ul><ul><li>Set policies for your topic: Once a topic is created, the topic owner can set policies for it such as limiting who can publish messages or subscribe to notifications. </li></ul></ul><ul><ul><li>Add subscribers to a topic: Subscribers are clients interested in receiving notifications from topics of interest. </li></ul></ul><ul><ul><li>Publish messages / send out notifications. </li></ul></ul>
  61. 62. How you can leverage Amazon SNS <ul><ul><li>Application integration. </li></ul></ul><ul><ul><li>Time-sensitive information updates. </li></ul></ul><ul><ul><li>Mobile applications </li></ul></ul>
  62. 63. Amazon Relational DB System RDS
  63. 64. Overview <ul><ul><li>Amazon Relational Database Service (Amazon RDS) is a web service that makes it easy to set up, operate, and scale a relational database in the cloud. </li></ul></ul><ul><ul><li>Amazon RDS gives you access to the capabilities of a familiar MySQL or Oracle database. </li></ul></ul>
  64. 65. RDS Functionality <ul><ul><li>Use the  AWS Management Console  or Amazon RDS APIs to launch a Database Instance ( DB Instance ), selecting the DB Engine (MySQL or Oracle). </li></ul></ul><ul><ul><li>Since you are already familiar with mysql or oracle databases, no learning curve. </li></ul></ul><ul><ul><li>Monitor the RDS using cloud monitor. </li></ul></ul><ul><ul><li>Pay only for what you use. </li></ul></ul>
  65. 66. Amazon Simple DB SDB
  66. 67. Overview <ul><ul><li>Amazon SimpleDB is a highly available, flexible, and scalable non-relational data store that offloads the work of database administration. </li></ul></ul>
  67. 68. Amazon SimpleDB Functionality <ul><ul><li>Build your data set </li></ul></ul><ul><ul><li>Choose a Region for your Domain(s) to optimize for latency. </li></ul></ul><ul><ul><li>CreateDomain ,  DeleteDomain ,  ListDomain ,  DomainMetadata  to create and manage query domains. </li></ul></ul><ul><ul><li>Use  Put ,  Batch Put , &  Delete  to create and manage the data set within each query domain. </li></ul></ul><ul><ul><li>Retrieve your data. </li></ul></ul><ul><ul><li>Use  GetAttributes  to retrieve a specific item </li></ul></ul><ul><ul><li>Use  Select  to query your data set for items that meet specified criteria </li></ul></ul>
  68. 69. Customer of AWS
  69. 70. Thank You! Pointers Twitter: Blog Facebook Linked In Web: [email_address] [email_address]