I am trying to backup Apache 2.4.27 logs on Amazon Linux 2016.03. I am trying to do so without writing a shell script, and I do not want to configure AWS access key and secret key on my Linux machine.
Use EC2 IAM Role that gives your EC2 instance the required credentials without having to manage Access/Secret keys.
If you want to get away without a shell script you can feed the logs to CloudWatch Logs using
However uploading your Apache logs to S3 is a simple command like
aws s3 cp /var/log/http/... s3://some-bucket/... - that can be called e.g. from your weekly/daily
logrotate config or from
cron. That can hardly be called a "shell scripting" ;)
Hope that helps :)