본문 바로가기

Cloud AWS

Amazon AWS Elastic file system [ EFS ] 시작


다루는 내용

  • EFS 파일 시스템 생성
  • 인스턴스에서 마운트

실습

현재 Elastic File System은 Oregon에서 PREVIEW 상태이다.

EFS 파일 시스템 생성

  1. 콘솔에서 Elastic File System 클릭
  2. Create file system 클릭
  3. Configure file system access 페이지에서
    1) VPC : EFS를 생성할 VPC 선택
    2) Create mount targets : AZ별로 사용 가능한 Subnet과 Security Group이 자동 선택된다.

    3) Next Step 클릭
  4. Add tags 페이지에서
    1) Name : EFS 입력
    2) Next Step 클릭
  5. Review and create 페이지에서
    1) Create File System 클릭

EFS 파일 시스템의 security group 설정

  1. 콘솔에서 VPC 클릭
  2. 왼쪽 메뉴에서 Security Groups 클릭
  3. ‘default’ security group 선택
  4. Inboud Rules 탭 클릭
    1) Edit 클릭
    2) Add another rule 클릭
    3) NFS 사용을 위해 TCP 2049 포트 허용
    4) Save 클릭

EC2 인스턴스 설정

  1. 인스턴스에 SSH 접속
  2. nfs client 설치

    amazon linux의 경우 이미 설치되어 있다.
  3. 마운트 디렉토리 생성

  4. 마운트

    EFS 상세 페이지의 DNS names를 클릭하면 AZ별 endpoint를 확인할 수 있다.

  5. 확인

 

참고

※ https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html

Arang

Sr. Technical Trainer at GSNeotek





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

Amazon AWS :: CodeCommit 이해  (0) 2015.11.14
Amazon AWS :: LVM으로 EBS 관리하기  (0) 2015.11.14
Amazon AWS 가격정책 가이드  (0) 2015.11.14
Amazon AWS GLACIER 소개  (0) 2015.11.14
Amazon AWS MEDIA CUSTOMER DAY 발표자료 공유  (0) 2015.11.14