본문 바로가기
AWS/SAA

[AWS/SAA] Solutions Architect Associate 자격증 준비 (SAA)(Section 7 : EC2 Instance Storage)(4)

by 토니당 2024. 9. 5.
반응형

 



2024년 SAA-C03 자격증 준비하면서 필요한 노트 정리했습니다 

 

강의는 유데미 "Ultimate AWS Certified Solutions Architect Associate SAA-C03" 통해 공부했습니다 

https://www.udemy.com/course/aws-certified-solutions-architect-associate-saa-c03

 

같이 공부해서 합격해보자구요 !


Section 7 : EC2 Instance Storage

55. EBS Overview 

  • ebs volume - elastic block store - volume is a network drive you can attach to an instance 
  • it allows your instances to persist data, even after their termination 
  • they are bound to a specific availability zone 
  • free tier allows for 30 gb ebs stroage, general purpose ssd 
  • a network drive, it uses network, there may be a bit of latency 
  • since it is a network drive, it can be detached and attached to other instances 
  • it's locked to an availability zone 
    • if you want to move the ebs, you must perform snapshot and copy it to another az 
  • ebs can only be connected to one ec2, but ec2 can have multiple ebs attached 
  • by default, root ebs volume is deleted once ec2 instance is terminated 

57. EBS Snapshot

  • a backup of ebs volume at a point of time 
  • can take snapshot and copy them to same or different az region 
  • there are couple of ebs snapshot features 
    • snapshot archive - archive tier 75% cheaper, takes 24 ~ 72 hr for restoring 
    • recyle bin - can recover deleted snapshots, retention from 1day to 1 year 
    • fast snapshot restore - snapshot with no latency on the first use, but costs a lot of money 

59. AMI Overview

  • ami = amazon machine image 
  • ami are a customization of an ec2 instance 
    • a bit of like docker image
  • ami are built for a specific region 
  • public ami - aws provided 
  • your own ami - you make and maintain them yourself 
  • aws marketplace ami - ami made by semeone else and potentially sells 
  • ami process
    • start an ec2 instance 
    • stop the instance for data integrity 
    • build an ami 
    • launch instance from other ami 

61. EC2 Instance store 

  • ebs are network drvie but limited performance 
  • if you need high performance hardware disk, use ec2 instance store 
  • better io performance 
  • lose thier storage if they're stopped 
  • used for buffer cache temp data 
  • on exam if very high i/o == local ec2 instance store 

62. EBS Volume Types 

  • ebs volumes 6 types 
    • gp2 / gp3 (ssd) - gneeral purpose 
    • io1 / io2 (ssd) - highest performance ssd, low-latency & high workloads 
    • st1 (hdd) - low cost hdd with intensive workloads
    • sc1 (hdd) - lowest cost hdd volume, wil low workload 
  • only ssd gp2,gp3,io1,io2 can be used as boot volumes 
  • general purpose ssd 
    • cost effective storage, low latency 
      • gp3 - newer version of gp2 
        • can increase iops up to 16,000 independently 
      • gp2 
        • iops are linked together and can increase iops up to 16,000
  • provisioned iops ssd 
    • critical business applications 
    • applications that needs more than 16,000 iops 
    • great for db workloads 
      • io1 
        • max piops 64,000 ~ 32,000 
      • io2 
        • max piops 256,000 
  • hard disk drives hdd
    • cannot be a boot volume 
    • st1 - throughput optimized hdd 
      • great for big data, data warehouse, log processing 
    • sc1 - cold hdd 
      • for data infrequently accessed 

63. EBS Multi-Attach

  • io1/io2 family are the only ebs volume that allows for mult-attach to ec2 instances in the same az 
  • each instance has full read and write permission 
  • use case
    • higher application availability 
    • manage concurrent write operations 
  • up to 16 instances at a time ** (시험에 나옴)

64. EBS Encryption

  • things that are encrypted when creating ebs volumes are 
    • data at rest 
    • all io data 
    • snapshots 
    • volumes created from snapshots 
  • encryption & decryption are handled transparently ( users doe snot have to do anything)
  • has limit impact on latency 
  • ebs encryption leverage keys from kms (aes-256)** 

65. Amazon EFS

  • efs - elastic file system 
  • manged nfs (network file system) 
  • can be mounted on many ec2 
  • efs works iwht ec2 instances in multi-az 
  • highly available, scalable, expensive, pay per use 
  • use cases : content management, wordpress 
  • compatible with linux based ami(not windows)
  • file system scales automatically, its pay per use, do not have to plan ahead 
  • performance mode 
    • general default - default, latency sensitive cases 
    • max io - higher latency 
  • throughput mode 
    • bursting 
    • provisioned - know the throughput that si required, pay for advance 
    • elastic - good for unpredictable io 
  • storage tiers (move file after n days ) 
    • standard - frequently accessed files 
    • infrequent access - cost to retrive files, lower price to store 
    • archive - rarely accessed data ( 50% cheaper) 
  • file system type 
    • regional - multi az 
    • one zone - one zone (cheaper) 

67. EFS vs EBS 

  • ebs volumes 
    • one instance (except multi-attach for io1/io2)
    • locked at the az level**(시험에 나옴)
    • if ebs volume requires migration, perform snapshot and then restore the snapshot at the other az 
    • root ebs volume gets delete from the instance if instance is terminated 
  • efs 
    • network file system 
    • can be used at multiple az (ebs mount target) 
    • only for linux instance 

기타 질문  

  • AMI are built for specific aws regions

 


같이 파이팅해서 합격해봅시당 ㅎㅎ 

저는 24년 10월 중순에 시험 볼 예정입니다 ! (후기 남기도록 하겠습니다 후후)

 

 

AWS Section  URL 
Section 3 : Getting Started with AWS
Section 4 : IAM & AWS CLI
2024.08.30 - [AWS/SAA] - [AWS/SAA] Solutions Architect Associate 자격증 준비 (SAA)(Section 3 : Getting Started with AWS & Section 4 : IAM & AWS CLI)(1)
Section 5 : EC2 Fundamentals 2024.09.01 - [AWS/SAA] - [AWS/SAA] Solutions Architect Associate 자격증 준비 (SAA)(Section 5 : EC2 Fundamentals)(2)
Section 6 : EC2 - Solutions Architect Associate level 2024.09.04 - [AWS/SAA] - [AWS/SAA] Solutions Architect Associate 자격증 준비 (SAA)(Section 6 : EC2 - Solutions Architect Associate level)(3)
Section 7 : EC2 Instance Storage 2024.09.04 - [AWS/SAA] - [AWS/SAA] Solutions Architect Associate 자격증 준비 (SAA)(Section 7 : EC2 Instance Storage)(4)
Section 8 : High Availability and Scalability : ELB & ASG 2024.09.09 - [AWS/SAA] - [AWS/SAA] Solutions Architect Associate 자격증 준비 (SAA)(Section 8 : High Availability and Scalability : ELB & ASG)(5)
Section 9 : AWS Fundamentals : RDS + Aurora + ElastiCache 2024.09.12 - [AWS/SAA] - [AWS/SAA] Solutions Architect Associate 자격증 준비 (SAA)(Section 9 : AWS Fundamentals : RDS + Aurora + ElastiCache)(6)

 

 

(제 맛집 블로그에용 놀러오세용 ㅎㅎ)

 

토니이츠얼랏 : 네이버 블로그

너무너무너무 많이 먹는 토니입니당 :) 개발 블로그도 방문해주세용 (제꺼에요 :p) https://tonyzorz.tistory.com/

blog.naver.com

 

 

반응형