This is a skeleton repository that can be used for testing or as a quick way for you to incorporate nubis into your own project.
If you are new to the Nubisproject you will need to set up some prerequisites.
Next grab the latest release, extract it and copy the nubis directory into your code base. You also need to add nubis/cloudformation/parameters.json to your .gitignore file. See the project .gitignore file for an example.
This step is only necessary if you have changes, otherwise you can simply configure the deployment using an ami id from the following list:
Region | Ubuntu | Amazon Linux |
---|---|---|
us-east-1 | ami-54efab3e | ami-89eda9e3 |
us-west-2 | ami-80ccdce1 | ami-41c9d920 |
If you run nubis-builder it will output an ami id for you to use.
nubis-builder build
Create a nubis/cloudformation/parameters.json file by copying the parameters.json-dist file and editing the parameter values. More detailed instructions can be found here.
cp nubis/cloudformation/parameters.json-dist nubis/cloudformation/parameters.json
vi nubis/cloudformation/parameters.json
You are now ready to deploy your stack. Be sure to replace "YOUR_NAME" with a unique stack name. You can find more detailed instructions here.
aws cloudformation create-stack --template-body file://nubis/cloudformation/main.json --parameters file://nubis/cloudformation/parameters.json --stack-name YOUR-STACK
If you run into any issues, feel free to reach out to us. We hang out in #nubis-users on irc.mozilla.org.