Elastic Compute Cloud (EC2)

  1. Types of instances (I=IOPS G=GPU C=Compute R=memoRy F=Hardware Accelerated)EC2 instance types
    1. On demand Pay by the second (Linux) hour (windows)
    2. Reserved Instances 1yr or 3yr
      1. Standard upto 75% cheaper than OD
      2. Convertible (50% cheaper than OD) can be converted to another RI of same or better class (Example: OS change, CPU upgrade, mem upgrade)
      3. Scheduled Reserved Instances: When you need an EC2 for a fraction of a day/week/month
    3. Spot instances
      1. Choose bid price
      2. If spot goes above bid you loose your instances
    4. Dedicated Hosts
      1. Physical server dedicated
      2. On demand or reserved
      3. Useful for regulatory confirmations, licencing requirement of software vendors etc
    5. EC2 Types (acloud.guru Dr Mc GIFT PX acronym). Unless the type ends with letter ‘a’ (stand for AMD), they use Intel CPUs. Only exception is A1 which is AWS Graviton ARM processor based.
      1. General Purpose family
        1. A1 ARM based, General Purpose, fixed performance (non burstable, unlike T)
        2. T Low cost, burstable performance
          1. T3a AMD EPYC CPU
        3. MAC Apple Mac mini based
        4. M fixed performance (non burstable, unlike T)
      2. Compute Optimized family
        1. C type
      3. Storage Optimized family
        1. I IOPS
        2. D Density
      4. Accelerated computing family
        1. G Graphics
        2. F Hardware accelerated (FPGA)
        3. P Graphics
        4. Inf1 machine learning inference
      5. Memory Optimized family
        1. R
        2. X extreme Memory
        3. Z
    6. EC2 Placement Groups
      1. Logical grouping of EC2 instances inside a single AZ (can’t span multiple AZ’s)
      2. EC2 instances inside a group are assured to be connected to each other using a low latency, high network throughput 10 GB/S intranet
      3. Two types
        1. Cluster: Make them close
        2. Spread: Opposite of cluster. Spread as far as possible
      4. Only high end EC2’s such as Memory optimized (M), Compute optimized (C), Storage Optimized(I), GPU Optimized (G) can use placement groups.
      5. Recommended to launch homogeneous (same size/family) EC2s inside a Placement Group
      6. Moving a running EC2 into a PG is not supported. Only while launching, you can choose your PG
    7. The data in an instance store persists only during the lifetime of its associated instance. If an instance reboots (intentionally or unintentionally), data in the instance store persists. However, data in the instance store is lost under the following circumstances:
      1. The underlying disk drive fails
      2. The instance stops
      3. The instance terminates
<<< IAM AuthenticationElastic Block Storage (EBS) >>>
Copyright 2005-2016 KnowledgeHills. Privacy Policy. Contact .