Skip to content

Files

Latest commit

 

History

History

images

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Packer

This packer file will build an Ubuntu Server 20.04 LTS AWS AMI with the following installed:

  • Nginx
  • Node 14.x
    • pm2

Setup

Build the AMI:

packer build .

...
Build 'amazon-ebs.webserver' finished after 3 minutes 49 seconds.

==> Wait completed after 3 minutes 49 seconds

==> Builds finished. The artifacts of successful builds are:
--> amazon-ebs.webserver: AMIs were created:
eu-west-1: ami-0cabd94003825d35d

Copy this AMI id we will use it in our terraform template.