관리 메뉴

진취적 삶

섹션6 EC2-솔루션스 아키텍트 어소시에트 레벨 본문

AWS SAA

섹션6 EC2-솔루션스 아키텍트 어소시에트 레벨

hp0724 2023. 7. 15. 20:31

Private vs Public IP

IPv4 : [0-255]. [0-255]. [0-255]. [0-255]

IPv6: 1900:4545:3:200:f8ff:fe21:67cf

aws ipv4 ipv6 둘다 지원

  • public ip
    • public ip means the machine can be identified on the internet
    • must be unique across the whole web
    • can be geo-located easily
  • private IP :
    • private IP means the machine can only be identified on a private network only

Elastic IP

  • 계정당 5개 사용 가능
  • Elastic IP 사용 안하는게 좋다
  • 대신 공용 IP를 써서 DNS 이름을 할당하는것이 좋다

공용 IP를 사용하면 공용 네트워크에서 AWS 에 엑세스 할수 있다.

공용 네트워크가 인테넷 역할을 한다.

Placement Groups

EC2 인스턴스가 AWS 인프라에 배치되는 방식을 제어하고자 할때 사용

배치그룹 만들때 세가지 전략

  • Cluster - clusters instances into a low-latency group in a single Availability Zone
  • Spread - spreads instances across underlying hardware (max 7 instnaces per group per AZ) - critical applications
  • Partition - spreads instnaces across many different partitons

cluster

클러스터 배치는 동일한 물리적 호스트 내에서 관련된 인스턴스를 그룹화하는 방식입니다.

장점 : great network

단점: if the rack fails , all instnaces falis at the same time

use case :

  • big data job that needs to complete fast
  • applciation that needs extremely low latency and high network throughput

Spread (분산)

분산 배치는 서로 다른 가용 영역에 인스턴스를 균등하게 분산시키는 방식입니다.

장점:

can span across Availability zones reduced risk is simultaneous failure

EC2 instnaces are on different physical hardware

단점

limited to 7 instnaces per AZ per placement group

use case :

  • application that needs to maximize high availability

Partition (분할)

  • 분할 배치는 서로 다른 인스턴스를 분리된 물리적 호스트로 배치하는 방식입니다.
  • 분할 배치는 애플리케이션 간의 리소스 경쟁을 최소화하기 위해 분리된 환경을 제공합니다. 예를 들어, 한 호스트에서 실행되는 인스턴스 간의 CPU, 메모리 등의 리소스 경합을 방지할 수 있습니다.
  • 7 partitions per AZ
  • can span across multiple AZs in the same region
  • Up to 100s of EC2 instances
  • A partition failure can affect many EC2 but won’t affect other partitions

use case :

  • HDFS , HBase ,Cassandra , Kafka

Elastic Network Interfaces (ENI)

  • Logical component in a VPC that represents a virtual network card
  • EC2 인스턴스가 네트워크에 액세스 할수 있게해줌

The ENI can have the following attributes

  • primary private IPv4 , one or more secondary IPv4
  • one elastic IP per private IPv4
  • one pulbic IPv4
  • one or more security groups
  • A MAC address

다른 AZ에 있는 EC2 인터페이스 와 연결 불가능 특정 AZ로 국한

EC2 Hibernate

  • stop - the data on disk is kept intact in the next start
  • terminate - any EBS volumes (root) also set-up to be destroyed is lost

온디멘드 및 예약 인스턴스 지원

RAM 은 150 G 미만

EC2 instnaces root 불륨은 EBS 불륨

hibernate

  • in memory state is preserved
  • the instnace boot is much faster !

use case:

  • long-running processing
  • saving the RAM state
  • services that take time to initialize

'AWS SAA' 카테고리의 다른 글

섹션 11 클래식 솔루션 아키텍처 토론  (0) 2023.07.15
섹션 1 AWS 공인 SAA  (0) 2023.07.15
섹션3 AWS 시작하기  (0) 2023.07.15
섹션4 IAM 및 AWS CLI  (0) 2023.07.15
섹션5 EC2 기초  (0) 2023.07.15