Total :
/ Today :
/ Yesterday :
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- spread operator
- ES6
- Kubernetes
- Get
- spring
- AWS RDS
- javascript
- topologySpreadConstraints
- zombie-hit apartment
- chartjs
- html
- post
- terminationGracePeriodSeconds
- git
- Bootstrap
- jsp
- mongodb
- 영화예매
- 예매로직
- 인생이재밌다
- node.js
- ajax
- sessionStorage
- AWS
- ssh
- Java
- json
- MySQL Error
- AWS Route53
- mysql
Archives
- Today
- Total
jongviet
Aug 24, 2022 - AWS Udemy SAA-C02 #1 본문
*8월24일
-Udemy에서 구매한 강의를 오랜만에 다시 열어보게되었다... 이직 후 적응 등 다양한 과제들이 있었기에 미뤄두었다가 다시 열어보게되었다(물론 다 핑계...).
-실무에서 많이 사용하고 있는 것들에 대해 다루게 되어 좀 더 이해가 잘 되는 것 같다. dev instance는 spot 형태로 돌려서 사용하고, prod용 instance는 reversed로 사용하면 많은 비용이 세이브 될 수 있을 것 같다.
#EC2 purchasing options
-on-demand instances
->단기간 사용에 적합,
-reserved(min - 1year)
->on-demand 대비 75% 가량 쌈, upfront 비율이 클수록 디스카운트 비율도 큼, 지속적인 사용에 적합. DB? 안정을 요하는 서버?
->this instance can be reserved for 1 or 3 years only!
->Reserved Instances are good for long workloads. You can reserve EC2 instances for 1 or 3 years.
-spot instances
->on-demand 대비 최대 90%까지 쌈.
->batch jobs, data analysis, distributed workloads 등..
->AZ 따라 상당히 많이 차이남
->예산, 성능 등 설정 후 one time request or persistent request로 셋업.. 전자는 한번 아웃되면 더이상 작동하지 않고 후자는 계속해서 타겟 성능을 찾는 시도를 함..
->request 종료 후, spot instances terminate 하는 것이 순서임. 그렇지 않으면 자동적으로 계속 복구됨
->spot fleet
-a set of spot instances + on-demand instances
-priority: lowest price!
->request types
-how many + maximum price i can pay + request types
-one time request -> literally it is, if it is stopped by AWS, it will be terminated automatically
-persistent request -> from~to 기간까지 계속해서 요청하고 사용함
->영구 정지 하고 싶으면 stop request를 먼저 끝내고, 각 인스턴스를 terminate 처리 하면됨
->@hibernate in AWS: 최대절전모드 or 수면모드
-dedicated hosts
->physical server, compliance requirements / existing server-bound software licenses
->무조건 단독으로 써야할 경우,, 빅사이즈 기업이 주로 쓸듯..
->dedicated instances보다 훨씬 많은 권한 보유.
#pop quiz 관련
EC2 User Data is used to bootstrap your EC2 instances using a bash script. This script can contain commands such as installing software/packages, download files from the Internet, or anything you want.
Memory Optimized EC2 instances are great for workloads requiring large data sets in memory.
OLTP ( On-Line Transaction Processing ): 여러 과정의 연산이 하나의 단위 프로세스(트랜잭션)로 실행되도록 하는 프로세스
->일반적인 트랜젝션으로 생각하면됨
Storage Optimized EC2 instances are great for workloads requiring high, sequential read/write access to large data sets on local storage.
to handle this high-frequency OLTP database?
Convertible Reserved Instances are good for long workloads with flexible instances. But, it does not provide you the biggest discount.
Dedicated Hosts are good for companies with strong compliance needs or for software that have complicated licensing models. This is the most expensive EC2 Purchasing Option available.
오답!!!
You would like to deploy a database technology on an EC2 instance and the vendor license bills you based on the physical cores and underlying network socket visibility. Which EC2 Purchasing Option allows you to get visibility into them?
Dedicated Hosts
#private, public, elastic IP
ipv4 127.0.0.1
ipv6 1900:4545:3:200:f8ff:fe21:67cf
public은 www 내에서 unique
private은 private network 내에서만 유니크하면되고, 각기 다른 private network는 서로 같은 private IP를 지닐 수 있음(internal AWS network)
elastic IP는 fixed public IP for your instance
#placement groups
->cluster, great network but if the rack fails, all instances fails at the same time, which means a bit risky.
->spread, just minimize the failure risk. they all are in the different hardware. 7 instances limit per AZ
->partition, 파티션 단위로 failure로부터 안전함! spread 보다는 아니지만 그래도 안전한편!
'AWS' 카테고리의 다른 글
Aug 29, 2022 - AWS Udemy SAA-C02 #3 (0) | 2022.08.29 |
---|---|
Aug 25, 2022 - AWS Udemy SAA-C02 #2 (0) | 2022.08.25 |
July 31, 2022 - EC2 EBS 볼륨 키운 후 재할당 (0) | 2022.07.31 |
Dec 21, 2021 - AWS S3 활용 정적 페이지 배포 (0) | 2021.12.21 |
Dec 9, 2021 - 밤마다 AWS 강의 듣기 (0) | 2021.12.09 |
Comments