Skip to content

felipemarinho97/packer-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Packer Images

The repo contains the terraform files to create custom AMI's using packer.

Prerequisites

Install packer:

sudo apt-get install -y packer

See: packer documentation

Base Minimal AMI

This is a ultra small AMI, ocupying only ~600MB of the filesystem. It has a subgroup of ami-minimal group packages and it's snapshot is only 1GB in size. It is done by using amazon-ebssurrogate plugin.

Initialize the packer configuration:

$ packer init base

To build it, run:

$ packer build base

nvidia-docker AMI

This is an AMI based on "Amazon Linux 2023 Minimal" with Nvidia drivers and Docker installed. It is done by using amazon-ebs plugin on top of the al2023-minimal. The snapshot has 4GB in size and the AMI is ~3.5GB.

Initialize the packer configuration:

$ packer init nvidia-docker

To build it, run:

$ packer build nvidia-docker

About

Terraform/packer files for creating custom AWS AMI's.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published