Linux Tutorial | Matt Cooper - Open Source Support
Linux Tutorial | Matt Cooper - Open Source Support
Amazon AWS, Amazon S3

AWS S3 – The request signature we calculated does not match the signature you provided. Check your key and signing method

I received this error when trying to copy files from an ec2 instance to an S3 bucket.

Credentials were checked, double and triple checked. The issue in my case was the aws cli version on the ec2 was too old.

To upgrade to the latest, carry out the instructions here:

https://www.linuxtutorial.co.uk/install-the-aws-cli-using-the-bundled-installer/

April 23, 2018by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon
Amazon AWS, Amazon S3

SFTP Server backed by Amazon S3 Bucket

Simple instructions to install an SFTP server on Amazon Linux backed with S3 Storage.

1. Launch Amazon Linux 2 instance (micro is sufficient)

2. Install and configure s3fs:

2.1 Install dependencies

sudo yum install automake fuse fuse-devel gcc-c++ git libcurl-devel libxml2-devel make openssl-devel

2.2 Compile and install s3fs:

git clone https://github.com/s3fs-fuse/s3fs-fuse.git
cd s3fs-fuse
./autogen.sh
./configure
make
sudo make install

3. Create and Mount S3 Bucket:

3.1 Create S3 Bucket:

Through AWS GUI

Continue reading

January 31, 2018by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon
Amazon AWS, Amazon S3

Use Amazon S3 as a Backup Server – Linux

This tutorial will make use of Amazon’s S3 (Storage) service and Amazon S3Tools (Linux Client). A bash script will be created to automate the backup of files to S3.

1. Sign into Amazon AWS Console

2. Create a new user for Amazon S3 (Identity and Access Management)

3. Click on the newly created username > Permissions > Attach Policy – AmazonS3FullAccess > Download the credentials

4. Install Amazon S3Tools on linux server:

apt-get update
apt-get install python-setuptools
cd home
wget http://sourceforge.net/projects/s3tools/files/s3cmd/1.6.1/s3cmd-1.6.1.tar.gz
tar -xvf s3cmd-1.6.1.tar.gz
cd s3cmd-1.6.1
python setup.py install

Continue reading

August 18, 2016by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon

About me

Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk

Recent Comments

  • Andrew on Export list of Amazon EC2 Instances to CSV
  • Matt Cooper on Proxmox – add a second hard drive to node for Backups
  • karis on Proxmox – add a second hard drive to node for Backups
  • Matt Cooper on Remote MySQL Database – Slow Connection
  • Matt Cooper on Bash script to send public IP address to Email

Categories

  • AdvancedTomato
  • Amazon AWS
  • Amazon Linux
  • Amazon S3
  • Apache
  • Apache Kafka
  • Backup Tutorial
  • Bash Scripting
  • Centos Tutorial
  • CloudFlare
  • Command line Tutorial
  • CPanel Troubleshooting
  • CPanel Tutorial
  • Debian Troubleshooting
  • Debian Tutorial
  • DKIM
  • Docker
  • EC2
  • ESXi
  • Faildows
  • Google Adwords
  • Google Analytics
  • Google Chromebook
  • Google Mail
  • graylog
  • IAM
  • imapsync
  • iRedmail Tutorial
  • ISPConfig3 Tutorial
  • Java
  • ldap
  • letsencrypt
  • MyDNS
  • MySQL Troubleshooting
  • MySQL Tutorial
  • Nest Install
  • Netbeans
  • Nginx
  • Nginx Troubleshooting
  • openssl
  • PCI Compliance
  • Percona
  • PHP
  • Plex Media Server Tutorial
  • Postfix
  • Proxmox Tutorial
  • Pure FTPd
  • Resourcespace Tutorial
  • Route 53
  • Rsync Tutorial
  • Security
  • Smoothwall Troubleshooting
  • Smoothwall Tutorial
  • SSH
  • tcpdump
  • Thunderbird
  • Tomcat Troubleshooting
  • Ubuntu Tutorial
  • Uncategorized
  • Unison
  • vmware
  • vzdump
  • WHM
  • Wireshark
  • Wordpress Troubleshooting
  • WordPress Tutorial

“See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky bastard too." Linus Torvalds

© 2017 copyright www.linuxtutorial.co.uk // All rights reserved