Learning to copy files to S3 bucket or from S3 bucket to local folder is a must thing to learn when administering S3 bucket. S3 bucket is an object storage. See details on this link: https://aws.amazon.com/s3/features/ An S3 policy called WORM (write-once read-many) policy can be enforced to S3 bucket. WORM is ideal for log files. Backup or write the log file once and read it many times if someone needs to read or review the logs. Let’s get into business, how to copy files to S3 bucket? S3 is an acronym for Simple Storage Service. S3 accepts Linux command, so if you are running Windows be careful when typing S3 commands. A simple mistake of running Capital letters can ruin your day since the command will not work and the error won’t be friendly to tell you that it was just a simple mistake that you just type in capital letter. Copying is plain simple, so here’s a basic and simple example: aws s3 cp test_bucket.txt s3://thes3bucket ...
Make the world a better place by sharing knowledge, ideas and anything that you can give that comes from the heart.