Commit Graph

63 Commits

Author SHA1 Message Date
Anuj Biyani
a37bdd5c26 fix auto scaling processes necessary for aws-ha-release 2013-04-16 18:23:47 -07:00
Anuj Biyani
199c39bce9 suspend processes that interfere with cycling servers 2013-04-16 18:19:07 -07:00
Colin Johnson
9ba549ad00 Merge pull request #25 from davestern/copy-volume-regional
Copy Snapshots to different regions
2013-04-10 13:12:10 -07:00
Dave Stern
b05ddd21c4 Region Copy: Updated README with new features 2013-04-10 15:20:11 -04:00
Dave Stern
27f88ef5a1 Region Copy: Modified prerequisite_check for conditional usage 2013-04-10 15:06:05 -04:00
Dave Stern
c63fc636e6 Region Copy: Mac cut doesn't have --output-delimiter, use tr instead 2013-04-10 14:51:55 -04:00
Dave Stern
09cee91c56 Region Copy: -g and -d options to tag and initiate region copies
-g tested with new backups using:

bash ec2-automate-backup.sh -v 'vol-8a1a43f6 vol-2a78d459' -g 'us-west-1 us-west-2' -n

-d tested with various options and repeated calls to test
idempotent copies:

bash ec2-automate-backup.sh -s regioncopy -d 'us-west-1'
bash ec2-automate-backup.sh -s regioncopy -d 'us-west-1'
bash ec2-automate-backup.sh -s regioncopy -d 'us-west-1 us-west-2'
bash ec2-automate-backup.sh -s regioncopy -d 'us-west-2'

etc.
2013-04-10 14:36:13 -04:00
Colin Johnson
34def1a7a1 Merge pull request #24 from eyesis/patch-1
Update ec2ab - IAM User Required Permissions.json
2013-04-10 07:23:11 -07:00
Mike
917b3c8aa1 Update ec2ab - IAM User Required Permissions.json
Spelling mistake. Included invalid action; "Deletenapshot". Already correctly defined as "DeleteSnapshot"
2013-04-10 08:19:33 -05:00
Colin Johnson
1d9540963e Removing typo - had duplicate curl command. 2013-04-03 22:53:02 +00:00
Colin Johnson
9c69efc5e3 Update ec2-write-memory-metrics.sh
Removing typo - had duplicate curl command.
2013-04-03 22:52:00 +00:00
Colin Johnson
ad75ad4bc2 Merge pull request #22 from torgeilo/master
The max size field is nr 9, not 10 ;)
2013-02-19 09:01:23 -08:00
Torgeir Lorange Østby
282a798112 Corrected the initial max size to read from field 9. 2013-02-19 16:13:00 +01:00
Colin Johnson
c644a35d3c update of ec2-automate-backup test script and ensure user_tag functionality uses correct variable for date created. 2013-02-17 23:31:59 +00:00
Colin Johnson
ff06380942 updating to rename to user_tag from auto_tag and use bash builtin for region evaluation. Also updated README.txt for ec2-automate-backup. 2013-02-17 21:53:38 +00:00
Colin Johnson
d18b3c3f7d adding .gitignore file - avoid picking up .DS_Store files on OS X. 2013-02-17 20:24:32 +00:00
Colin Johnson
006ae30307 adding ec2-automate-backup with snapshot retention periods of day, hour or minute. 2013-02-17 20:20:35 +00:00
Colin Johnson
3400220d5b Merge pull request #21 from jonhiggs/master
Use $EC2_REGION if it's set.
2013-02-13 17:09:24 -08:00
Jon Higgs
ee2193fcbe make sure that that the region doesn't get overwritten. 2013-01-31 16:19:58 +01:00
Jon Higgs
6a000c3786 fix indent 2013-01-31 16:19:26 +01:00
Jon Higgs
3b637b617d fix indenting. 2013-01-31 16:14:51 +01:00
Jon Higgs
294c8a8220 use $EC2_REGION if has been set. 2013-01-28 17:18:28 +01:00
Colin Johnson
ee7890926d updating documentation for auto tags feature. 2013-01-27 15:51:25 +00:00
Colin Johnson
d74c67e92a Merge pull request #20 from anthroprose/master
Auto Tagging of Instances with Parent Metadata
2013-01-27 07:35:56 -08:00
Alex Corley
b2c8d872d8 Added an -a switch for 'auto tagging'.
This currently only creates two tags, but they are immensely helpful
in automating restores of snapshots to volumes.

If this feature is liked, I can extend it to do more api work for
adding instance_id and other metadata to tags, but did not want
to initially increase dependencies or complexity.

anthroprose@gmail.com
2013-01-16 12:34:31 -06:00
Colin Johnson
979fb3c431 updating spelling error in comment. 2012-12-30 06:50:08 +00:00
Colin Johnson
e23064fe44 Update of second bullet point in the ec2-automate-backup introduction. -k parameter shows 31 days but the description of the cron command says 14 days. 2012-12-10 15:35:50 +00:00
Colin Johnson
b9b006ff72 adding validation that the select Auto Scaling Group is not in state Suspended Processing. 2012-12-09 17:21:53 +00:00
Colin Johnson
76444ca1f9 formating changes for README.md files. 2012-12-09 17:01:16 +00:00
Colin Johnson
656654dc52 moving all files README.txt to README.md for rendering in github. 2012-12-09 02:02:08 +00:00
Colin Johnson
111c239715 moving README.txt files to markdown format. 2012-12-09 02:00:04 +00:00
Colin Johnson
da0e0bda76 adding support for region ap-southeast-2. Validation should use ec2-describe-regions in future. 2012-12-01 07:45:31 +00:00
Colin Johnson
8f4425d514 resolving https://github.com/colinbjohnson/aws-missing-tools/issues/17 2012-12-01 06:20:01 +00:00
Colin Johnson
8e0bc0304a removing file ec2cc - IAM User Required Permissions.txt 2012-11-12 04:20:47 +00:00
Colin Johnson
e60e65423e update to provide example of using cron primer file. 2012-11-12 03:15:44 +00:00
Colin Johnson
b122dcfff8 ec2-automate-backup supports -c cron-primer mode for loading environment configuration. 2012-11-12 03:12:59 +00:00
Colin Johnson
18a97a7714 updating README and IAM credential files for ec2cc and ec2ab. 2012-11-11 23:22:51 +00:00
Colin Johnson
a9184fcde6 contains sample json file for running ec2-cost-calculate.rb under IAM. 2012-11-11 23:01:54 +00:00
Colin Johnson
c02743304a purge_EBS_Snapshots now more portable - works with both OS X/BSD Date and GNU/Linux Date command. 2012-11-09 07:26:38 +00:00
Colin Johnson
e76a6743b4 purge_EBS_Snapshots more portable - \t option does not work with grep (GNU grep) 2.10 from Ubuntu 12.04.1 LTS. 2012-11-09 04:42:35 +00:00
Colin Johnson
fe3473a29b purge_EBS_Snapshots more portable - \t option does not work with grep (GNU grep) 2.10 from Ubuntu 12.04.1 LTS. 2012-11-09 04:35:39 +00:00
Colin Johnson
8ff051d42a updated aws-ec2-cost-map.txt 2012-11-03 02:29:15 +00:00
Colin Johnson
8966b8fdf3 updating aws-ha-release to fix error that occured when terminating instances outside of us-east-1 region. 2012-10-17 20:35:26 +00:00
Colin Johnson
ca1e84fec5 increase portability - now runs on OS X and Linux - resolve issue with differences in date binary. 2012-10-06 22:27:59 +00:00
Colin Johnson
eee4ad0637 ec2-automate-backup now includes support for purging old snapshots. 2012-09-24 23:34:15 +00:00
Colin Johnson
c1025a4188 update of ec2-automate-backup.sh with support for PurgeAfter tag - purge support coming soon. 2012-09-21 02:04:51 +00:00
Colin Johnson
e69fda405d add enhancement - ec2-automate-backup.sh now writes tag Name=value if requested and handles ec2-create-snapshot errors. 2012-09-14 23:59:56 +00:00
Colin Johnson
3d5aa2dcd0 Update ec2-automate-backup/README.txt 2012-09-12 05:39:39 +00:00
Colin Johnson
273fddc748 remove echo statement before ec2-create-snapshot command. 2012-09-08 05:30:48 +00:00
Colin Johnson
31e7c58412 update of ec2-automate-backup README.txt file 2012-09-08 02:09:31 +00:00