How to Create an IAM Access Role and Attach to an EC2 Instance with AWS CLI

Let’s go through the process of creating an IAM role with read only permissions to IAM resources, and attaching that role to an EC2 instance. Screenshots for key steps are included. Prerequisites: Step 1 – Create IAM role Use your favorite text editor and create the file “ec2-trust-policy.json” with the content below: Use the create-role…

|

Hard Link vs. Soft Link in Linux: When to Choose Each

In the Linux file system, managing files efficiently often involves the use of links. Two common types of links are hard links and soft links (symbolic links). These two mechanisms serve different purposes and have their own set of advantages and use cases. In this article, we’ll explore the differences between hard links and soft…

|

The Versatility of Symbolic Links in Linux: A Guide with Examples

In the world of Linux, symbolic links, often referred to as “soft links,” are a valuable tool for creating flexible references to files and directories. In this article, we’ll explore what symbolic links are, delve into real-world examples, and learn how to find multiple symbolic links pointing to the same file within your filesystem. Understanding…

|

The Power of Hard Links in Linux: Unveiling Their Secrets

Have you ever wondered how Linux efficiently manages files while optimizing disk space usage? The answer lies in a powerful and often underappreciated feature called hard links. In this article, we will explore what hard links are, provide real-world examples, and learn how to find multiple hard links pointing to the same file in your…

VM Import/Export to AWS

By: Willio Jean Paul Overview This will take you to the steps to create a copy of an on-premises server on AWS as an Amazon Elastic Compute Cloud (EC2) instance.  We will use the AWS Command Line Interface (AWS CLI) to run a VM Import/Export job.  Upon completion, a copy of the server is created…

|

Accelerating transfer of small files with rsync and xargs

Rsync is a great tool for transferring and synchronizing files between computers/servers. It is usually available on the most popular linux distribution. If not installed yet, you can typically use the package manager for installation. Rsync’s drawback lies in its sequential transfer over a single remote connection, resulting in lengthy transfer times for large amount…