cocococoin avatar

AWS EC2 생성 (Elastic Compute Cloud)

doctor.fish

Published: 01 May 2018 › Updated: 01 May 2018

AWS EC2 생성 (Elastic Compute Cloud)

안녕하세요 doctor.fishHive account@doctor.fish 입니다.
제가 아마존 웹서비스를 공부하면서 정리해놓은 것들입니다.

EC2 (Elastic Compute Cloud)

EC2 추가 방법

Step 1: Choose an Amazon Machine Image (AMI)
원하는 운영체제를 선택합니다.

  • Amazon Linux AMI (아마존에 최적화된 리눅스)
  • Red Hat
  • SUSE Linux
  • Ubuntu
  • 윈도우 서버 2012(윈도우 서버 SQL 서버는 무료가 아님, free tier eligible 라벨만 무료)



Step 2: Choose an Instance Type

  • 서버 성능과 옵션을 선택합니다.
  • Family (목적, 강점)
  • Type (컴퓨터 성능, m 메모리 우위, c CPU 우위)
  • vCPUs (Virtual CPU 개수)
  • memory (메모리)
  • Network Performance (전송 스펙)
    (free tier eligible 라벨만 무료)
    https://aws.amazon.com/ko/ec2/pricing/ (가격 스펙 확인, 예약 인스턴스로 할인 가능 : state 변경 자유롭지 않음, 스팟 인스턴스 : 가동 중인 컴퓨터에 따라 가격 유동)

Step 3: Configure Instance Details

  • Number of instances, 인스턴스 개수
  • Purchasing option, Spot Intance 여부
  • Shutdown behavior, shutdown시 상태 설정
  • Enable termination protection, 인스턴스 삭제 방지 기능
  • Monitoring, 사용 모니터링

Step 4: Add Storage

  • 저장 공간을 선택합니다.
  • Volume Type, 저장 형식
  • IOPS, 속도
  • Delete on Termination, 체크 시 저장공간까지 전부 삭제 (저장공간이 남아있으면 비용 발생할 수도 있음)

Step 5: Add Tags

  • 인스턴스의 설명을 지정합니다.

Step 6: Configure Security Group

  • 보안 설정을 합니다. (접근 권한)
  • Rule, 리눅스/유닉스 원격 제어 접근 SSH, 웹서버로 접근시 HTTP, RDP 윈도우 원격제어 방식
  • Type, 접속 형식
  • Source, 접속 제어

Step 7: Review Instance Launch

  • 선택한 서버의 항목 확인

Select an existing key pair or create a new key pair

  • 키를 생성하고 키쌍을 다운로드합니다.
    Show Instances
  • pending (서버 개설 중), running (작동 중)

삭제 방법
Instance 오른쪽 클릭, Instance state/Terminate

Leave AWS EC2 생성 (Elastic Compute Cloud) to:

Written by

Read more #kr posts


Best Posts From cocococoin

We have not curated any of doctor.fish's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From cocococoin