AWS Cloud Essentials

From Bitnami MediaWiki
Revision as of 19:04, 11 March 2021 by User (talk | contribs) (→‎EC2)
Jump to navigation Jump to search

Module 1: Intro to AWS

  • Cloud computing is the on-demand delivery of IT resources over the internet with pay-as-you-go pricing
  • The undifferentiated heavy lifting of IT: installs, backups, etc that have nothing to do w/ core business
  • 3 types of cloud deployment
  1. Cloud-based: servers, databases, networking all live in the cloud
  2. On-premises: aka private cloud. Resources deployed locally using virtualization and resource management tools, which increase resource utilization
  3. Hybrid deployment: cloud-based resources are connected to on-premises infrastructure. Good for legacy apps, govt regulations
  • Six reasons to use the cloud
  1. Trade upfront for variable costs
  2. Eliminate data center costs
  3. Stop guessing capacity
  4. Massive economies of scale (lower variable cost)
  5. Increase speed and agility
  6. Go global in minutes

Module 2: Compute in the Cloud

  • Spinning up an instance of EC2 instigates a hypervisor to manage VMs using multitenancy. Guarantees security.
  • Vertical scaling is the expansion in CPU/RAM that happens on the fly
  • Server acquisition cheaper under the Compute-as-a-Service model
  • Normal process: 1) purchase hardware, 2) wait for delivery, 3) install in data center, 4) configure
  • AWS process: 1) provision/launch EC2 in mins, 2) stop using it, 3) PAYGO, 4) pay only for necessary server capacity (no "dark fiber" issue)

EC2

  • Different instances for different use cases
  1. general purpose: application servers; gaming servers; backend servers; small/medium databases
  2. compute optimized: high-performance web servers, compute-intensive applications servers, and dedicated gaming servers
  3. memory optimized: a workload that requires large amounts of data to be preloaded before running an application; high-performance databases
  4. accelerated computing: floating-point number calculations, graphics processing, and data pattern matching
  5. storage optimized: distributed file systems, data warehousing applications, and high-frequency online transaction processing (OLTP) systems
  • Input/output Operations Per Second (IOPS) measures performance of storage device
Pricing
  1. On-demand: PAYGO, no contract
  2. Savings Plan: 72% off USD/hr for fixed usage contract over 1/3 yr term
  3. Reserved instances: 75% off On-Demand; 1/3yr term
  4. Spot instances: 90% off but revokable by AMZN w/ 2mins notice
  5. Dedicated Hosts: non-multitenancy dedicated machines; usually for compliance