Home [AWS Solution Architect] EFS (Elastic File System)
Post
Cancel

[AWS Solution Architect] EFS (Elastic File System)

EFS (Elastic File System)

Screen Shot 2022-01-27 at 3 24 25 PM Screen Shot 2022-01-27 at 3 24 42 PM Screen Shot 2022-01-27 at 3 35 41 PM


[ Amazon EFS with Standard storage classes ]

Screen Shot 2022-01-27 at 4 16 48 PM

  • multiple EC2 instances accessing an Amazon EFS file system that is configured with Standard storage classes from multiple Availability Zones in an AWS Region.

[ Amazon EFS with One Zone storage classes ]

Screen Shot 2022-01-27 at 4 20 04 PM

  • multiple EC2 instances that are accessing an Amazon EFS file system. This file system is configured with One Zone storage from multiple Availability Zones in an AWS Region.

reference

https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html


Screen Shot 2022-01-24 at 2 08 37 PM

  • ν‹°μ–΄λ₯Ό λ‚˜λˆ„μ—ˆμ„ λ•Œ 데이터λ₯Ό κ³΅μœ ν•  수 μžˆλŠ” 방법 (파일 κ³΅μœ ν•  λ•Œ 많이 μ‚¬μš©)

  • region service -> region level둜 쑴재

Screen Shot 2022-01-24 at 2 09 23 PM

  • λ„€νŠΈμ›Œν¬ μΈν„°νŽ˜μ΄μŠ€λ₯Ό μƒμ„±ν•΄μ„œ EFS에 μ ‘κ·Ό
  • λ„€νŠΈμ›Œν¬ μΈν„°νŽ˜μ΄μŠ€λ₯Ό mount λŒ€μƒμœΌλ‘œ ν•΄μ„œ 자기 AZ에 μžˆλŠ” 것에 μ ‘κ·Ό
  • κ·Έλž˜μ„œ NAS에 νŒŒμΌμ„ 곡유
  • single instance에 데이터가 μ €μž₯λ˜λŠ” 것이 μ•„λ‹ˆλΌμ„œ(multi instance) high durability
  • μš©λŸ‰ ν™•μž₯ κ°€λŠ₯ (μ“°λŠ” 만큼 μžλ™μœΌλ‘œ, no need of μš©λŸ‰μ— λŒ€ν•œ provisioning)

from AWS (01/24/2022)


Mount target : where the volume is located in the file system tree and where you read and write files to after you mount the volume. (an NFS endpoint that lives in a VCN subnet of your choice and provides network access for file systems.)

  • The mount target provides the IP address or DNS name that is used together with a unique export path to mount the file system.

Mounting a file : a process by which the operating system makes files and directories on a storage device(such as hard drive, CD-ROM, or network share) available for users to access via the computer’s file system.


NFS (Network File System)
λ„€νŠΈμ›Œν¬μ— νŒŒμΌμ„ μ €μž₯ν•˜λŠ” λ©”μ»€λ‹ˆμ¦˜
  • 컴퓨터 μ‚¬μš©μžκ°€ 원격 컴퓨터에 μžˆλŠ” νŒŒμΌμ„ 마치 μžμ‹ μ˜ 컴퓨터에 μžˆλŠ” κ²ƒμ²˜λŸΌ κ²€μƒ‰ν•˜κ³ , λ§ˆμŒλŒ€λ‘œ μ €μž₯ν•˜κ±°λ‚˜ μˆ˜μ •ν•˜λ„λ‘ ν•΄μ£ΌλŠ” ν΄λΌμ΄μ–ΈνŠΈ/μ„œλ²„ν˜• μ‘μš©ν”„λ‘œκ·Έλž¨

  • μ‚¬μš©μžκ°€ 원격 컴퓨터에 μžˆλŠ” 파일 및 디렉토리에 μ•‘μ„ΈμŠ€ν•  수 있고 ν•΄λ‹Ή 파일 및 디렉토리가 λ‘œμ»¬μ— μžˆλŠ” κ²ƒμ²˜λŸΌ μ²˜λ¦¬ν•˜λ„λ‘ ν—ˆμš©ν•˜λŠ” λΆ„μ‚° 파일 μ‹œμŠ€ν…œ

  • μ‚¬μš©μž μ‹œμŠ€ν…œμ—λŠ” NFS client, 원격 μ»΄ν“¨ν„°μ—λŠ” NFS serverκ°€ μžˆμ–΄μ•Ό 함

  • 예λ₯Ό λ“€μ–΄, μ‚¬μš©μžλŠ” 운영 체제 λͺ…령을 μ‚¬μš©ν•˜μ—¬ 원격 파일 및 디렉토리에 λŒ€ν•œ 파일 속성을 μž‘μ„±, 제거, 읽기, μ“°κΈ°, μ„€μ •ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

reference

https://www.ibm.com/docs/ko/aix/7.2?topic=management-network-file-system


NAS (Network Attached Storage)

1
: λ„€νŠΈμ›Œν¬μ— μ—°κ²°λœ storage - κΆŒν•œμ΄ μžˆλŠ” λ„€νŠΈμ›Œν¬ μ‚¬μš©μžμ™€ μ—¬λŸ¬ ν΄λΌμ΄μ–ΈνŠΈκ°€ 쀑앙 μ§‘μ€‘ν™”λœ μœ„μΉ˜μ˜ 데이터λ₯Ό μ €μž₯ν•˜κ³  검색할 수 있게 ν•©λ‹ˆλ‹€.

Follow Along

  • Make EFS Screen Shot 2022-01-27 at 3 26 36 PM Screen Shot 2022-01-27 at 3 27 11 PM

  • Make Instance Screen Shot 2022-01-27 at 3 28 22 PM

    • Number of instances : 2
    • No subnet : to access from everywhere Screen Shot 2022-01-27 at 3 28 56 PM
    • Create an IAM role Screen Shot 2022-01-27 at 3 29 23 PM Screen Shot 2022-01-27 at 3 29 48 PM
    • Make new security group Screen Shot 2022-01-27 at 3 30 30 PM

Screen Shot 2022-01-27 at 3 30 55 PM Screen Shot 2022-01-27 at 3 31 03 PM

  • Check status Screen Shot 2022-01-27 at 3 31 34 PM

  • Go to security groups
  • Create inbound rules for NFS Screen Shot 2022-01-27 at 3 32 20 PM

  • Check status Screen Shot 2022-01-27 at 3 32 34 PM Screen Shot 2022-01-27 at 3 33 07 PM Screen Shot 2022-01-27 at 3 32 57 PM

  • Start session manager Screen Shot 2022-01-27 at 3 33 36 PM Screen Shot 2022-01-27 at 3 33 46 PM Screen Shot 2022-01-27 at 3 34 49 PM Screen Shot 2022-01-27 at 3 34 35 PM

Reference

AWS Certified Solutions Architect - Associate 2020 (PASS THE EXAM!), Youtube, uploaded by freeCodeCamp.org, 12/24/2019, https://www.youtube.com/watch?v=Ia-UEYYR44s

This post is licensed under CC BY 4.0 by the author.

[AWS Solution Architect] EBS (Elastic Block Store)

[AWS Solution Architect] ELB (Elastic Load Balancer)

Comments powered by Disqus.