Skip to content

Commit 1672308

Browse files
Update README.md
1 parent d568199 commit 1672308

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
Genomic data focused toolkit for working with AWS services (e.g. S3 and EC2). Includes exhaustive JUnit testing for each app.
33

44
<pre>
5-
u0028003$ java -jar -Xmx1G ~/Code/AwsApps/target/S3Copy_0.3.jar
5+
u0028003$ java -jar ~/Code/AwsApps/target/S3Copy_0.5.jar
6+
67
**************************************************************************************
7-
** S3 Copy : Feb 2024 **
8+
** S3 Copy : May 2024 **
89
**************************************************************************************
910
SC copies AWS S3 objects, unarchiving them as needed, within the same or different
1011
accounts or downloads them to your local computer. Run this as a daemon with -l or run
1112
repeatedly until complete. To upload files to S3, use the AWS CLI.
1213

1314
To use the app:
14-
Create a ~/.aws/credentials file with your access, secret, and region info, chmod
15+
Create a ~/.aws/credentials file with your access and secret info, chmod
1516
600 the file and keep it private. Use a txt editor or the AWS CLI configure
1617
command, see https://aws.amazon.com/cli Example ~/.aws/credentials file:
1718
[default]
1819
aws_access_key_id = AKIARHBDRGYUIBR33RCJK6A
1920
aws_secret_access_key = BgDV2UHZv/T5ENs395867ueESMPGV65HZMpUQ
20-
region = us-west-2
2121
Repeat these entries for multiple accounts replacing the word 'default' with a single
22-
unique account name.
22+
unique account name. Temporary credentials with a session attribute also work.
2323

2424
Required:
2525
-j Provide a comma delimited string of copy jobs or a txt file with one per line.
@@ -49,9 +49,10 @@ Example: java -Xmx10G -jar pathTo/S3Copy_x.x.jar -e obama@real.gov -p obama -d -
4949
</pre>
5050

5151
<pre>
52-
u0028003$ java -jar -Xmx1G ~/Code/AwsApps/target/VersionManager_0.2.jar
52+
u0028003$ java -jar ~/Code/AwsApps/target/VersionManager_0.4.jar
53+
5354
**************************************************************************************
54-
** AWS S3 Version Manager : August 2023 **
55+
** AWS S3 Version Manager : May 2024 **
5556
**************************************************************************************
5657
Bucket versioning in S3 protects objects from being deleted or overwritten by hiding
5758
the original when 'deleting' or over writing an existing object. Use this tool to
@@ -66,8 +67,9 @@ app is provided with no guarantee of proper function.
6667

6768
To use the app:
6869
1) Enable S3 Object versioning on your bucket.
69-
2) Install and configure the aws cli with your region, access and secret keys. See
70-
https://aws.amazon.com/cli
70+
2) Install and configure the aws cli with your region, access and secret keys.
71+
Temporary credentials with a session attribute also work. See
72+
https://aws.amazon.com/cli.
7173
3) Use cli commands like 'aws s3 rm s3://myBucket/myObj.txt' or the AWS web Console to
7274
'delete' particular objects. Then run this app to actually delete them.
7375

@@ -86,7 +88,7 @@ Optional Parameters:
8688
Example: java -Xmx10G -jar pathTo/VersionManager_X.X.jar -b mybucket-vm-test
8789
-s .cram,.bam,.gz,.zip -a 7 -c MiloLab
8890

89-
**************************************************************************************
91+
**************************************************************************************
9092
</pre>
9193

9294
See [Misc/WorkingWithTheAWSJobRunner.pdf](https://github.com/HuntsmanCancerInstitute/AwsApps/blob/master/Misc/WorkingWithTheAWSJobRunner.pdf) for details.

0 commit comments

Comments
 (0)