Skip to content

Instantly share code, notes, and snippets.

@mredar
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mredar/29cd4b51ed09e62347ff to your computer and use it in GitHub Desktop.
Save mredar/29cd4b51ed09e62347ff to your computer and use it in GitHub Desktop.
ec2 ansible tips
never use ec2 - exact_count paramter. This TERMINATED all the running instances except for exact_count number. This can have disatirous results, i hammered the whole cdlib dsc archivesspace server setup in AWs with this option. TODO: NEEDS to be noted in the options docs on this exact_count param.
use stete: present to create a new instance
not sure what state: running causes
always disable api termination
set to NOT DELETE on termination on ALL VOULUMES
TODO: REBUILD FROM SCRATCH: FRONT END WITH APACHE PROXY (due to nginx mangling of paths see: apache directive = <TODO: lookup>
front end public machine: ssh access from cdlib net, apache for proxy to redis, couchdb = want redis and
IN REGISTRY: keep record of good delays between requests, 3 at once hammers both registry.cdlib.org, and http://cdn.calisphere.org/data/13030/3j/kt2j49r73j/files/kt2j49r73j-FID3.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment