jongviet

Aug 29, 2022 - AWS Udemy SAA-C02 #3 본문

AWS

Aug 29, 2022 - AWS Udemy SAA-C02 #3

jongviet 2022. 8. 29. 22:52

 

EBS Volume(elastic block store)
-ec2와 종료와 관계 없이 데이터 계속 보존됨
-one can be mounted to one instance at a time

 

-network drive -> a bit of latency
-AZ 단위로 움직이기에, snapshot을 활용해야만 다른 AZ로 갈 수 있음.
-delete on termination 옵션에 체크해놓으면 함께 삭제됨
-하나의 ec2에 2개 이상의 EBS 장착 가능
 
EBS Snapshots(backup)
-다른 AZ에 있는 데이터를 스냅샷으로 타 AZ로 가져올 수 있음.
-ebs snapshot archive를 이용하면 75% 정도 싼 비용으로 복원할 수 있지만, 추후 복구 시간이 24~72시간까지 소요된다.
-recycle bin for ebs snapshot을 사용하면 실수로 삭제한 snapshot을 복원할 수 있음. 본 기능에 retention period를 설정해놓으면 된다.(1일~1년). create retention rule을 통해 설정 가능.
-create volume from snapshot ->new cloned EBS
 
AMI(amazon machine image)
-customization of an EC2 instance, software, configuration, OS, monitoring-> faster boot, config time save
-public AMI, own AMI, marketplace AMI
-userData란에 기본 세팅 해야할 cmd 기입하여 필수 모듈 최초에 잡아주면됨!!
 
EC2 Nitro
-next generation of EC2 instances
-IOPS(input output operations per second)
 
vCPU
-4cpu + 2 threads per CPU -> totally 8vcpu
-HPC(high performance computing) -> one thread per core!

 

Quiz

Elastic IP is a public IPv4 that you own as long as you want and you can attach it to one EC2 instance at a time.

 

Spot Fleet is a set of Spot Instances and optionally On-demand Instances. It allows you to automatically request Spot Instances with the lowest price.
 
Cluster Placement Groups place your EC2 instances next to each other which gives you high-performance computing and networking.
 
Spread Placement Group places your EC2 instances on different physical hardware across different AZs.

 

Elastic Network Interfaces (ENIs) are bounded to a specific AZ. You can not attach an ENI to an EC2 instance in a different AZ.
 
To enable EC2 Hibernate, the EC2 Instance Root Volume type must be an EBS volume and must be encrypted to ensure the protection of sensitive content.

 

Comments