Skip to content
/ brix Public
forked from coderanger/brix

Balanced infrastructure definitions and scripts

License

Notifications You must be signed in to change notification settings

balanced/brix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

balanced-infra

NOTE: Building images from this will break chef at the moment because it installs a newer version of ohai which does not work like the working version (6.20.0). Sorry for not fixing this, I don't have the heart since we're moving to ansible.

Balanced infrastructure definitions and tools.

Building a new AMI

The packer/ folder contains templates and scripts to build an AMI to use as our base image. To build the image you need the validation key (validation.pem) as well as the AWS certificate and key (balanced-aws.crt and balanced-aws.key, ask Noah for these). Put all three of those in packer/ folder and ensure your $AWS_ACCESS_KEY_ID and $AWS_SECRET_ACCESS_KEY environment variables are set.

To verify everything is all set:

$ packer validate balanced-client.json

To start the build:

$ packer build balanced-client.json

After the build completes it will display the three (one for each region) AMI IDs. Copy these into https://github.com/balanced/confucius/blob/master/stacks/mapper.py#L28.

About

Balanced infrastructure definitions and scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 65.7%
  • Shell 33.2%
  • Ruby 1.1%