AWS Classroomnotes 10/Sep/2022

EC2 instances Continued

Factors to take into consideration for Creating ec2 instances

  • Every EC2 instance we create has some purpose i.e. for using it for
    • Web Servers i.e. hosting web sites
    • Databases Servers i.e. storing data
    • Cache Servers i.e. remembering data in memory
    • i.e. for running some applications
  • Applications have different needs, AWS Helps by giving purpose based selections Refer Here

    • General Purpose
    • Compute Optimized
    • Memory Optimized
    • Storage Optimized
    • Accelarated Computing
  • Instance Families: Each Instance family has a specialized hardware. Here we will also have versions/Generations. Each Instance family is denoted by first character in your instance size. Instance Family is hardware spec of the physical server in the AWS AZ’s on which we create ec2 instances

    • t2.micro => instance family is t and 2 represents generation.
    • C5.xlarge => instance family is C and generation is 5
  • Sizes: Each size represents number of cpu’s and RAM size, Network speed.

    • nano
    • micro
    • small
    • large
    • xlarge
    • 2xlarge
  • Instance Type => Purpose + Family + Size

    • t2.micro
    • c5.4xlarge
  • Storage options i.e. virtual disk options: EC2 and disk should be from the same AZ.

    • Disks that get created from the same physical server
      • When we shutdown the instance, data will be wiped away
      • These disks are referred as instance stores.
      • They are supported only on some instance types.
        Preview
        Preview
    • Disks that get created fro the different physical server
      • When we shutdown or even remove the instance, we can still have the disk and its contents
      • In AWS, the disk which has operating system is always from a different physical server in the same AZ.
      • These disks are referred as Elastic Block Storage (EBS).
      • EBS is supported in all the instance types.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner