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.
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-e4eaa584 | ami-987e078f |
us-west-2 | ami-e963be89 | ami-2563be45 |
If you run nubis-builder it will output an ami id for you to use.
nubis-builder build
Create a nubis/terraform/terraform.tfvars file by copying the terraform.tfvars-dist file and editing the parameter values. More detailed instructions can be found here.
cp nubis/terraform/terraform.tfvars-dist nubis/terraform/terraform.tfvars
vi nubis/terraform/terraform.tfvars
You are now ready to deploy your application. Be sure to replace "<username>" with a unique application name. You can find more detailed instructions here.
$> cd nubis/terraform
$> terraform get -update=true
$> terraform plan
$> terraform apply
If you run into any issues, feel free to reach out to us. We hang out in #nubis-users on irc.mozilla.org.