AMI 이미지

컴퓨팅 연관 문항 21개

인스턴스의 부팅 템플릿. 표준화·빠른 확장·리전 복사의 단위

이게 뭔가요? / What is this?

AMI는 실행 중인 서버가 아니라, EC2 인스턴스를 부팅할 때 쓰는 "틀"(설치된 OS·소프트웨어·설정을 통째로 얼려 놓은 이미지 파일)입니다. 붕어빵을 구울 때 쓰는 틀처럼, 이 틀 하나로 똑같은 내용물(설정)을 가진 서버를 몇 대든 똑같이 찍어낼 수 있습니다.

개요 / Overview

AMI는 OS·패키지·설정이 구워진 이미지로, 여기서 인스턴스를 찍어냅니다. 부팅 스크립트로 매번 설치하는 대신 미리 구운 골든 AMI를 쓰면 확장 속도가 크게 빨라집니다.

동작 원리 / How it works

AMI는 하나 이상의 EBS 스냅샷과 부팅 메타데이터(루트 디바이스, 커널, 아키텍처, 가상화 방식)를 묶은 등록 정보입니다. 인스턴스를 시작하면 그 스냅샷에서 새 EBS 볼륨이 만들어지므로, AMI 자체는 복사되는 것이 아니라 볼륨의 원형으로 쓰입니다.

AMI는 리전 스코프입니다. 다른 리전에서 쓰려면 복사해야 하고, 복사 과정에서 암호화 상태와 KMS 키를 바꿀 수 있습니다. 이 성질이 재해 복구 문제에서 "AMI를 대상 리전으로 복사"라는 단계로 자주 등장합니다.

시험은 무엇을 보는가 / What the exam is testing

시험은 AMI를 확장 속도와 표준화의 도구로 봅니다. "확장이 너무 느려 트래픽 급증을 못 따라간다"는 문제에서, 부팅 스크립트로 매번 소프트웨어를 설치하는 구성을 골든 AMI로 바꾸는 것이 정답이 되는 패턴이 반복됩니다.

시험 포인트 / Exam points

골든 AMI로 부팅 시간 단축

"확장이 너무 느리다"는 문제에서, 사용자 데이터 스크립트로 매번 패키지를 설치하는 대신 필요한 소프트웨어를 미리 포함한 AMI를 만들어 두는 것이 정답입니다.

리전 간 복사와 공유

AMI는 리전에 종속되므로 다른 리전에서 쓰려면 복사해야 합니다. 재해 복구나 다중 리전 배포 문제에서 "AMI를 대상 리전으로 복사"가 필요한 단계로 등장합니다.

암호화 상속

암호화된 EBS 스냅샷으로 만든 AMI에서 launch한 인스턴스의 볼륨은 암호화 상태를 유지합니다. 규정 준수 요구가 있으면 AMI 단계부터 암호화를 확인해야 합니다.

자주 틀리는 함정 / Common traps

다른 리전의 AMI ID를 그대로 시작 템플릿에 쓰는 것 — AMI ID는 리전마다 다르므로 복사 후 새 ID를 써야 합니다.

민감 정보를 담은 채 AMI를 공유하는 것 — AMI에 남은 키·자격 증명·로그가 함께 배포됩니다.

📝 이 개념 문제 풀기

AMI

Compute 21 related questions

The boot template for instances: standardisation, fast scaling, cross-Region copy

이게 뭔가요? / What is this?

An AMI is not a running server — it is a template (a frozen image of an installed OS, software, and settings) used to boot EC2 instances. Like a waffle iron that stamps out identical waffles, one AMI lets you produce any number of servers with exactly the same configuration baked in.

개요 / Overview

An AMI is a baked image of OS, packages, and configuration used to launch instances. A pre-baked golden AMI scales far faster than installing software at boot time.

동작 원리 / How it works

An AMI is a registration record bundling one or more EBS snapshots with boot metadata: root device, kernel, architecture, and virtualisation type. Launching an instance creates fresh EBS volumes from those snapshots, so the AMI acts as a template for volumes rather than being copied itself.

AMIs are Region-scoped. Using one elsewhere requires a copy, and the copy can change encryption state and KMS key. That property shows up in disaster-recovery questions as the step "copy the AMI to the target Region".

시험은 무엇을 보는가 / What the exam is testing

The exam frames AMIs as a tool for launch speed and standardisation. "Scaling is too slow to keep up with spikes" repeatedly resolves to replacing boot-time software installation with a pre-baked golden AMI.

시험 포인트 / Exam points

Golden AMI shortens boot time

For "scaling is too slow", the fix is a custom AMI with the software pre-installed rather than a user-data script installing it at every launch.

Copy and share across Regions

AMIs are Region-scoped and must be copied to be used elsewhere. Disaster-recovery and multi-Region questions include "copy the AMI to the target Region" as a required step.

Encryption is inherited

Instances launched from an AMI built on encrypted snapshots keep encrypted volumes. For compliance requirements, verify encryption at the AMI level.

자주 틀리는 함정 / Common traps

Reusing an AMI ID from another Region in a launch template — AMI IDs differ per Region, so you must copy and use the new ID.

Sharing an AMI that still contains secrets — keys, credentials, and logs baked into it are distributed too.

📝 Practice this concept

AWS SAA Hub Pro는 독립 학습 자료이며 Amazon Web Services, Inc.의 공식 서비스가 아닙니다. 시험 정책과 서비스 사양은 AWS 공식 문서를 기준으로 확인하세요.