Easy way to setup Amazon S3 backup on Synology NAS
Updated: May 9
This is not exactly a simple setup, but our step by step guide aims to simplify it for you. By the end of this blog, you will have successfully set up a routine backup for any folder in your Synology NAS. Note, this applies to any Synology model with hyper backup installed inside it.
Setup IAM before beginning S3 backup on Synology NAS
The first thing that needs to be set up is IAM, or Identity and Access Management in your Amazon Web Services. Log in with your Amazon Web Services console administrative rights account and type IAM in your search. So we have an illustrated step by step. You can't go wrong following these simple steps we have laid out for you. You will become a pro by the end of this, my friend. Yes, you are already a pro if you are learning from us here at IT BLOCK. So without further adieu.
STEP 1: Choose a username, this can be anything you want. And tick on "Programmatic Access". This is a simple access key and secret access key generator. Most third-party programs only require these credentials for their APIs to work with Amazon Web Services. Nice bit of information to know. Click "Next: Permissions".
Step 2: Click or Highlight " Attach existing policies directly" and search for "s3". Now tick the box for "AmazonS3FullAccess". What this does is only give full permission for S3 to the application that will have access to your newly generated key. They will not have any other rights within your Amazon Web Services account, only S3 or Simple Storage Service. Now click "Next: Tags".
Step 3: You do not have to add any tags. Just click Next.
Step 4: Nothing to see here either. Click "Create user".
Step 5: This is the important part. Copy and save your access key id and secret access key. Download the .csv file for safekeeping. You will need to keep this information for later.
HYPER BACKUP with Amazon S3 on Synology NAS
Now log in to your Synology. And open the taskbar above. You should see "Package Center". Click on that and search for the application "Hyper Backup". It should look at the icon shown here. A box with a round arrow curled around it. This will be the application you will use and input the access key and secret access key id you created just earlier. Once you have downloaded the application, installed and updated it. We can carry on with the following steps.
STEP 1: At the bottom left corner of the screen, click on the "+" icon. And select from the drop-down the option of "Data Backup Task". You are backing up the data to your S3. LUN Backup is only used if you are performing a backup to another Synology that you own. Which you will not be doing so on to the next step.
STEP 2: Scroll all the way down until you find S3 storage or alternatively you can search for "S3". Whichever is most convenient for you. Click on "Next" here.
STEP 3: Now here is where you input the keys from earlier. If you have forgotten, simply open the CSV file and input the access details in the relevant input spot. Choose a bucket name, you can choose whichever name they allow you to key in. Now click "Next".
STEP 4: Now you are at the final step, choosing the folders you wish to backup. There is also the option for you to schedule the backup, with options from daily to monthly. Remember, the more often the backup, the higher the cost will be from Amazon Web Services. This is because most of the charges for Amazon S3 is not the storage, but the transfer of data. However, in the case of sequential backup, this will not be a factor since only the changes are backed up. But in the case of full backups, which would mean a full delete and full copy of a fresh backup, the costs incurred can be substantial.
Schedule your backup to Amazon S3 on Synology NAS
Amazon S3 is a paid service as you know and to keep cost low is relatively simple. It is how often the information is backed up. Amazon barely charges anything for storage but what they do charge for is data transmission. So for the first backup, there is a charge since all the new information will flow to the S3 server. Changes that may cause data to be deleted or amended is also chargeable. All the changes made are sequential, meaning only whatever is changed is backed up. So if you delete files, S3 will delete them on their end. You add files, S3 will do the same. For folders that need to be updated every day, you may choose to set the backup to daily. For folders with large files that move in and out like media, which should have other backup files somewhere else, you should look at backing them up during the weekends. Since these files are moves in and out of the folders regularly, you do not want to incur costs just because someone saved over the previous file with a new version. It is a waste of time and money.
Thank you for reading our 'Easy way to setup Amazon S3 backup on Synology NAS'. Have a beautiful day