diff --git a/packages/fxa-auth-server/.awsbox.json b/packages/fxa-auth-server/.awsbox.json index 37e594474e..2b7c6a16a9 100644 --- a/packages/fxa-auth-server/.awsbox.json +++ b/packages/fxa-auth-server/.awsbox.json @@ -1,4 +1,5 @@ { + "ami": "ami-6f690106", "processes": [ "index.js" ], diff --git a/packages/fxa-auth-server/package.json b/packages/fxa-auth-server/package.json index d1a7f958aa..34b4f41f21 100644 --- a/packages/fxa-auth-server/package.json +++ b/packages/fxa-auth-server/package.json @@ -29,7 +29,7 @@ "good": "0.5.7" }, "devDependencies": { - "awsbox": "0.4.x", + "awsbox": "git://github.com/dannycoates/awsbox.git", "mocha": "1.9.x", "request": "2.21.x", "jshint": "0.9.1" diff --git a/packages/fxa-auth-server/scripts/aws/post_create.sh b/packages/fxa-auth-server/scripts/aws/post_create.sh index ffa132f762..0e01216aa5 100755 --- a/packages/fxa-auth-server/scripts/aws/post_create.sh +++ b/packages/fxa-auth-server/scripts/aws/post_create.sh @@ -6,3 +6,8 @@ sudo /sbin/service mysqld start echo "CREATE USER 'picl'@'localhost';" | mysql -u root echo "CREATE DATABASE picl;" | mysql -u root echo "GRANT ALL ON picl.* TO 'picl'@'localhost';" | mysql -u root + +echo "hacking iptables" +# this is a workaround until someone figures +# out why the iptables on this image don't stick +sudo /home/app/scripts/setup_routes.sh