Skip to content

Build custom AWS AMI from Packer with Ansible provision

License

Notifications You must be signed in to change notification settings

glavk/packer-elastic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Build AMI from Packer and Ansible

You need to install Hashicorp Packer and RedHat Ansible. Also you need AWS SDK installed and configured access token in profile ~/.aws/credentials

Packer creates AMI from Ubuntu 20.04 on M6g instance type (Graviton2) and provision via Ansible playbook packer-es.yml to setup ElasticSearch.

From this AMI you need to create EC2.

Example

packer build elastic-arm.json

Links

Releases

No releases published