How to download all files in an S3 Bucket using AWS CLI

There are many ways to download files from an S3 Bucket, but if you are downloading an entire S3 Bucket then I would recommend using AWS CLI and running the command aws s3 sync s3://SOURCE_BUCKET LOCAL_DESTINATION.

In the examples below, I’m going to download the contents of my S3 Bucket named radishlogic-bucket.

My S3 Bucket in the AWS Console
My S3 Bucket in the AWS management console


Example 1: Download S3 Bucket to Current Local Folder

If you want to download the whole S3 Bucket in the same folder that you are in, then you should use the command aws s3 sync s3://SOURCE_BUCKET ..

In our example S3 Bucket above, the AWS CLI will be like this.

Continue reading How to download all files in an S3 Bucket using AWS CLI

How to Disable Internet Explorer Enhanced Security Configuration in Windows Server

If you have launched a new Windows Server 2016, 2019, or 2022 and opened Internet Explorer it will automatically open a page saying Internet Explorer Enhanced Security Configuration is enabled.

When you open a website, it will then prompt you that the content that you are accessing is being blocked by Internet Explorer Enhanced Security Configuration.

Windows recommends adding this to a list called Trusted sites zone, but adding all the many websites that you are accessing is tedious.

The solution to this is to disable the Internet Explorer Enhanced Security Configuration. Follow the tutorial below on how to disable it.

Continue reading How to Disable Internet Explorer Enhanced Security Configuration in Windows Server

How to create IAM User Access Keys via AWS CLI

To create programmatic Access Keys for an AWS IAM User using AWS CLI, run the command aws iam create-access-key.

On the command below change MyUser with the username of your target IAM User.

aws iam create-access-key --user-name MyUser

This will return the following JSON formatted string.

Continue reading How to create IAM User Access Keys via AWS CLI

How to create IAM User Access Keys using AWS Console

If you want to be able to control your AWS resources on your local computer you will either use AWS CLI or AWS SDK. To use those tools, you will need to have an Access Key ID and a Secret Access Key.

In this post, we will show you how you can generate your own Access Keys so you can programmatically access your AWS resources.

For the instructions later the target username that I want to create Access Keys is rabano. Yours will be different.

Continue reading How to create IAM User Access Keys using AWS Console

How to connect Google Nest to Windows 11 as Speaker

I recently found out that I could connect my Google Nest mini to Windows as a speaker. So in this tutorial, I will guide you on how to connect your Google Nest to your Windows 11 laptop/desktop as a speaker.

The steps also include how to solve the issue of Windows 11 not showing Google Nest as a speaker even though it is already added as a Bluetooth device.

I used a Google Nest Mini to connect to Windows 11 below. The instructions should be the same regardless of your Google Nest speaker model.

Continue reading How to connect Google Nest to Windows 11 as Speaker

How to connect Logitech K380 to Mac (with Screenshots)

The Logitech K380 Bluetooth Keyboard is so far my most used keyboard. I like how I can switch connection to 3 different computers with a press of the button.

I have connected my Logitech K380 to my Windows laptop and also to a Raspberry Pi.

In this tutorial, I connected the K380 keyboard to a Mac computer. What I used is a Macbook Air, but the tutorial should be the same even if you are using a Macbook Pro or an iMac with an M1 or Intel processor.

Logtech K380 Keyboard

Step-by-Step Instructions on how to connect Logitech K380 Bluetooth Keyboard to Mac

#1

Click on the Apple Menu and select System Preferences…

Continue reading How to connect Logitech K380 to Mac (with Screenshots)

How to connect Raspberry Pi to Bluetooth Keyboard

Follow the steps below to connect your Bluetooth Keyboard or Mouse to your Raspberry Pi.

I’m using a Logitech K380 on the examples below since that is my Bluetooth keyboard. But you can follow the same steps if you are using a different Bluetooth keyboard or device, such as a Bluetooth mouse.

Continue reading How to connect Raspberry Pi to Bluetooth Keyboard

How to Fix Typing Wrong Keyboard Characters in Raspberry Pi

The first time I used a Raspberry Pi years ago, I got frustrated that I could not connect to the WiFi Network. So I tested on the text editor if I am typing the correct password. As it turns out, pressing the backslash (\) on the keyboard will type the hashtag symbol (#), and if I press Shift + 2 will type double-quotes (") instead of At sign (@).

The reason for the incorrect characters being typed is by default the Raspberry Pi is set to use a UK-based keyboard layout. To correct this, we need to reconfigure the keyboard layout to the ones we are using.

In my case, I am using a US-based keyboard layout. In the tutorial below that is what I am going to use. You can select the keyboard layout that you are using.

There are several ways to update the Keyboard Layout in a Raspberry Pi, you may choose which one you prefer on the list below.

Continue reading How to Fix Typing Wrong Keyboard Characters in Raspberry Pi

How to change the System Font and Icon Size of Raspberry Pi Desktop

Depending on the screen size or the usage of the Raspberry Pi, I usually tweak the font size and icon size.

If I am teaching or recording videos, I want the icon and font size to be large. If I am blogging, then I want them to be medium size. If I am using a small resolution screen then I want to change the icon and font size to a smaller proportion.

Appearance Settings

Luckily, Raspberry Pi has a Set Defaults icon for different screen sizes which makes it quick for me to change the sizes.

To change the system icon and font size of the Raspberry Pi head over to Appearance Settings and tweak the configuration there.

If you need guidance or instructions on how to navigate the settings then follow the tutorial below.

Continue reading How to change the System Font and Icon Size of Raspberry Pi Desktop