practice makes perfect

Packer Image Description (AWS CLI) 본문

Packer

Packer Image Description (AWS CLI)

후니옹 2024. 5. 6. 02:25
  • AWS에서 Packer 이미지 구성할 때 OS official accounts 정보
[Amazon Linux 2023]
aws ec2 describe-images --owners self amazon --filters "Name=owner-id,Values=137112412989" "Name=name,Values=al2023*" "Name=virtualization-type,Values=hvm" "Name=architecture,Values=x86_64" "Name=root-device-type,Values=ebs" --query "sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]" --output table

 

AL 2023 이미지 정보

 

[공식 계정] (official accounts)

  • amazon : 137112412989
  • centos : 125523088429
  • ubuntu : 099720109477
  • debian9 : 379101102735
  • debian10 : 136693071363
  • debian11 : 136693071363
  • redhat : 309956199498

[참고]

amzn2(137112412989)
aws ec2 --profile terraform --region ap-northeast-2 describe-images --owners self amazon --filters "Name=owner-id,Values=137112412989" "Name=name,Values=amzn2-ami-hvm-2.0.*-x86_64-*" "Name=virtualization-type,Values=hvm" "Name=architecture,Values=x86_64" "Name=root-device-type,Values=ebs" --query "sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]" --output table

ubuntu-18.04(bionic/099720109477)
aws --profile terraform ec2 describe-images --owners 099720109477 --filters "Name=owner-id,Values=099720109477" "Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*" "Name=virtualization-type,Values=hvm" "Name=architecture,Values=x86_64" "Name=root-device-type,Values=ebs" --query "sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]" --output table

ubuntu-20.04(focal/099720109477)
aws --profile terraform ec2 describe-images --owners 099720109477 --filters "Name=owner-id,Values=099720109477" "Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*" "Name=virtualization-type,Values=hvm" "Name=architecture,Values=x86_64" "Name=root-device-type,Values=ebs" --query "sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]" --output table

ubuntu-22.04(jammy/099720109477)
aws --profile terraform ec2 describe-images --owners 099720109477 --filters "Name=owner-id,Values=099720109477" "Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*" "Name=virtualization-type,Values=hvm" "Name=architecture,Values=x86_64" "Name=root-device-type,Values=ebs" --query "sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]" --output table

CentOS(125523088429)
aws --profile terraform ec2 describe-images --owners 125523088429 --filters "Name=owner-id,Values=125523088429" "Name=name,Values=CentOS*" "Name=virtualization-type,Values=hvm" "Name=architecture,Values=x86_64" "Name=root-device-type,Values=ebs" --query "sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]" --output table

Fedora-Cloud(125523088429)
aws --profile terraform ec2 describe-images --owners 125523088429 --filters "Name=owner-id,Values=125523088429" "Name=name,Values=Fedora-Cloud-Base-*-hvm-*" "Name=virtualization-type,Values=hvm" "Name=architecture,Values=x86_64" "Name=root-device-type,Values=ebs" --query "sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]" --output table

RHEL(309956199498)
aws --profile terraform ec2 describe-images --owners 309956199498 --filters "Name=owner-id,Values=309956199498" "Name=name,Values=RHEL-*_HVM_*-x86_64-*-GP2" "Name=virtualization-type,Values=hvm" "Name=architecture,Values=x86_64" "Name=root-device-type,Values=ebs" --query "sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]" --output table
Comments