Tag Info

New answers tagged

1

If you're using the default region US Standard, your files get (eventually) stored in both us-west-2b and us-east-1. This is the only region with this redundancy. All other regions store only to servers in that region, so you would have some additional safety by using a different region for backups - if a meteor takes out your Oregon servers, having backups ...


0

I believe you are mistaken in using CloudFormation to modify your AWS infrastructure. CloudFormation's goal is to create AWS infrastructure in a templated fashion. It has been extended to allow for some management of the resources it creates, but managing existing infrastructure is not it's goal. From the welcome page: AWS CloudFormation enables you to ...


0

Writing as answer since I can't comment - from the documentation at http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/DistributionConfigDatatype.html#DistributionConfigDatatype_Elements it seems you can have a blank default root object: If you don't want to specify a default root object when you create a distribution, include an empty ...


0

S3 is not the right tool for your job. S3 is for storing static objects that are accessed relatively infrequently by any specific host. Better options for your needs: A network file share is probably the easiest solution. Network latency won't be great for performance but it'll be better than S3. There's also potential scaling issues but local caching ...


0

It was a typo: 'acccess' in the second access phrase instead of 'access'. I'd suggest that if anyone from AWS is reading this, a more targeted error message would have pointed this out to me. Chef's error messages are a shining example of this sort of thing ...


1

If anybody runs across this issue I found a workaround. First, if you are on Windows and need to copy one bucket to another you can use s3cmd Express. I spoke with one of the developers of s3cmd and he mentioned that there are issues with the Linux/OSX version of s3cmd for huge buckets, so he told me to use Express if at all possible. Unfortanely I only ...


0

Jumping in on an old answer that started me off on my search. Kudos to Ameer Deen above for the scripts, btw. Found this post which dives in much deeper to PowerShell scripts to fully automate the data-gathering and EBS snapshot process: http://messor.com/aws-disaster-recovery-automation-w-powershell/ Then of course discovered that those were all written ...


1

Amazon allows you to enable CORS for S3 bucket. See: https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html#how-do-i-enable-cors


4

Before you start building allowed IP range, identify the region. The list of S3 regions is available here. Let's assume you need an IP range for s3-us-west-2.amazonaws.com. You can get it by executing the following commands on a Linux system, or equivalent commands on other systems. Get IP address for the domain: $ host s3-us-west-2.amazonaws.com ...


0

I had the same problem and found a solution here in response by samwise. This problem appeared when I started experiments with IAM. In my case the problem was in ARN. I listed arn:aws:s3:::bucketname instead of arn:aws:s3:::bucketname/* That's why I had no problems with $ s3cmd ls s://bucketname, but could not upload any file there((


0

It looks like you have the syntax wrong (although it's possible you just typed it into this thing wrong). From the S3 Tools documentation it looks like you want something like this: s3cmd del s3://BUCKET/OBJECT and s3cmd del -r s3://BUCKET/FOLDER Typically you need to use the -r, or recursive, flag to delete folders. If that doesn't work, check that ...


1

Your redirection design seems to contradict each other, insofar ... 2 - Create and configure s3 bucket for www.mywebsite.com and redirect it to bucket created in step 1 using S3 bucket properties. ... redirect anyone accessing the Amazon S3 bucket for www.mywebsite.com to mywebsite.com, whereas ... 4 - Add forwarding to the top level domain ...


1

For full system backups in EC2, you should go with EBS Snapshots. For data backup in S3/Glacier I would go with S3cmd in Linux systems and Cloudberry Backup tools in Windows (Not free, but worths each dollar). S3cmd is a simple command line tool you can use in your standard backup scripts to push a copy into a S3 bucket. For Glacier rotations, use S3 ...


0

You could try using - to indicate to s3cmd that it should read stdin for the source parameter, it may work. Failing that you could do it with an intermediate step mysqldump -u root -ppassword -all-databases | gzip -9 >tmp.file && s3cmd put tmp.file s3://bucket/sql/databases.sql.gz ... && rm tmp.file This will compress the output to ...


1

You are missing the actual file you want to backup to start. s3cmd put /backup_dir/somefile.sql.gz s3://bucket/sql/ s3cmd takes two basic arguments, the file, and the bucket to backup too. Secondly, I can't take credit for the following, but its basically doing what you want with an intermediate script. Basically, create a bak.sh file with the ...


1

Looking at the aws cli, I only see the versioning functionality exposed in the s3api section, not in the s3 section. From what I've understood it's only possible to fetch previous versions of objects based on their version id. By default, the GET operation returns the current version of an object. To return a different version, use the versionId ...


0

Using Duplicity you can do a restore from a point in time by including the parameter --time. You can refer to this link for some examples of use with Amazon S3 service. duplicity --time 2012-10-01T01:00:00 s3+http://backup_bucket_url /local_restore_path



Top 50 recent answers are included