jongviet

Sep 5, 2022 - AWS Udemy SAA-C02 #4 본문

AWS

Sep 5, 2022 - AWS Udemy SAA-C02 #4

jongviet 2022. 9. 5. 22:40
EBS Volume Types
  • gp2/ gp3 (ssd): general purpose SSD, cost-effective, low-latency, up to 16,000 IOPS
  • IO1 / IO2 (ssd): high performance ssd, great DB workload, 32,000 IOPS, multi-attach 가능
  • st1(hdd): frequent access용 low cost HDD, 500 IOPS, big data, log processing
  • sc1(hdd): less frequent access용 low cost HDD, 250 IOPS,
 
EBS encryption
  • snapshots, volumes 모두 encrypted!
  • 암호화안된 ebs는 copy하여, encrypt this volume 체크하여 새로 생성하면 됨
 
EFS - elastic file system
  • NFS(network file system)은 여러 ec2에 마운트될 수있음
  • efs는 여러 AZ에 있는 instances에 마운트 됨.
  • scalable, expensive, pay per use
  • standard | one zone
  • echo "hello world" > /mnt/efs/fs1/hello.txt
  • cat /mnt/efs/fs1/hello.txt // 다른 instace에도 같은 내용 확인 가능
 
EBS vs EFS
  • only one in one AZ vs multiple instances in multiple AZs(100~)
  • snap shot copy and restore vs only for linux, higher price, EFS-IA for cost savings.
 
instance store
  • get the maximum amount of IO onto an EC2 
  • the best disk I/O performance.
  • IOPS of 310,000 for its underlying storage.
 

QUIZ

EBS Volumes are created for a specific AZ. It is possible to migrate them between different AZs using EBS Snapshots.

 

By default, the Root volume type will be deleted as its "Delete On Termination" attribute checked by default. Any other EBS volume types will not be deleted as its "Delete On Termination" attribute disabled by default.
 
AMIs are built for a specific AWS Region, they're unique for each AWS Region. You can't launch an EC2 instance using an AMI in another AWS Region, but you can copy the AMI to the target AWS Region and then use it to create your EC2 instances.
 
When creating EC2 instances, you can only use the following EBS volume types as boot volumes: gp2, gp3, io1, io2, and Magnetic (Standard).
 
Using EBS Multi-Attach, you can attach the same EBS volume to multiple EC2 instances in the same AZ. Each EC2 instance has full read/write permissions.
 
EFS is a network file system (NFS) that allows you to mount the same file system on EC2 instances that are in different AZs.
 
256,000 is the maximum IOPS you can achieve when you're using the EBS io2 Block Express volume type.
 
You can run a database on an EC2 instance that uses an Instance Store, but you'll have a problem that the data will be lost if the EC2 instance is stopped (it can be restarted without problems). One solution is that you can set up a replication mechanism on another EC2 instance with an Instance Store to have a standby copy. Another solution is to set up backup mechanisms for your data. It's all up to you how you want to set up your architecture to validate your requirements. In this use case, it's around IOPS, so we have to choose an EC2 Instance Store.

 

ETC

throughput(처리율): 통신에서 네트워크 상의 어떤 노드나 터미널로부터 또 다른 터미널로 전달되는 단위 시간당 디지털 데이터 전송으로 처리하는 양; 단위로 주로 bit per second가 사용됨; 네트워크 기준 mb/s 정도?

Comments