department-of-veterans-affairs/ascent-base-ami

Name: ascent-base-ami

Owner: Department of Veterans Affairs

Description: null

Created: 2017-09-12 17:40:47.0

Updated: 2018-04-04 14:13:58.0

Pushed: 2018-04-04 14:13:58.0

Homepage: null

Size: 22

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ascent-base-ami

These scripts build a base image using Hashicorp packer. Base RHEL7, the aws cli, and the jq shell JSON parser are installed.
SSH access is setup via integration with authorized keys loaded into Hashicorp Vault, for more details see the vault_aws_auth directory.

A default user named “devops” is added with full sudo access.

To run

Create user variable JSON file:


"aws_access_key": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"aws_secret_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"aws_region": "us-east-1",
"base_ami_id": "ami-c998b6b2",

and run packer build -var-file=<your_user_file>.json base.json


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.