Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Process documentation

...

bundle exec cap staging maintenance:enable REASON="a test of maintenance mode" UNTIL="12pm Eastern Time"
  • Deploy as usual / desired
  • Do anything else needed on the server that required the downtime
bundle exec cap staging maintenance:disable

...

This design works because ansible looks for group_vars in a location relative to the inventory / hosts file you pass on the command line.

AWS - add new user

  • IAM (identity & access management) > Users > Create New Users.
  • Enter user name, uncheck 'generate an access key', create
  • select newly-created username > 'permissions' tab > Attach policy (you can look at policies on other users if needed)
  • 'security credentials' tab > 'assign an auto-generated password', check 'require user to create a new password at next sign-in'
  • download the security credentials.
  • (another option is to have the person stand right next to you and give themselves a temporary password)
  • Stick the credentials somewhere safe!
  • Get user to sign on and reset password.

General Notes

Notes from conversations with Alicia

...