We used the AWS SDK to upload files using Java in the previous post and everything worked perfectly, but I needed to upload a database backup in .gz format with a size of 18GB, and using the AWS SDK did not allow me to do it so that it just allows upload in a maximum put of 5GB, so using AWS CLI allows us to upload until 160GB in just one put, and now let's see how we can use set it up in Centos 7 and use it: Note: get ready yourself going to Identity and Access Management (IAM), creating a new user or using an existing one which has got access to the group AmazonS3FullAccess , so once you've got an AWS Access Key ID with the AWS Access Key ID keep doing the process. There a lot of ways to install it, let's do it like so: curl " https://s3.amazonaws.com/aws-cli/awscli-bundle.zip " -o "awscli-bundle.zip" unzip awscli-bundle.zip cd awscli-bundle/ sudo . /install -i /usr/local/aws -b /usr/local/bin/aws Check it with: aws --versi