One of the most common requirements, when we set up an IIS web server and we install an SSL certificate is to enforce HTTPS protocol.

In this story, we will learn how to configure IIS to redirect HTTP to HTTPS automatically.

These steps are applicable to Windows 10, Windows Server 2016, and Windows Server 2019.

Install Requirements

We need to download and install the IIS URL Rewrite module. Then, we launch the Internet Information Services (IIS) Manager and validate if the URL Rewrite module is installed.

In this story, we will take a look at how to sync an S3 Bucket with a local folder and vice versa.

This example will work on Windows, Linux, and macOS.

Create an IAM User for S3

The first step is to create an IAM user. We enter a name and select only Access key — Programmatic access as credential type.

In this story, we will learn how to detect the versions of .NET Core and .NET Framework installed on your Windows machine.

Detecting .NET Core SDK in Use

Open your Command Prompt and type:

dotnet --version

In this story, we will learn how to deploy a Windows VM Scale Set in Azure using Terraform.

We are using a VM Scale Set Extension to execute a PowerShell script that will take of the setup of the servers.

Note: The code was tested with Terraform v0.14 and v0.15.


Before we can create our Azure Virtual Machine, we will need an Azure SPN (Service Principal) to execute our Terraform code (check step 1 of this story if you need help creating an SPN).

Creating a Terraform file for Azure Authentication

First, we create a file called, used by Azure authentication variables.

In this story, we…

Packer is an open-source tool used to create virtual machine templates from a .json file.

This story will create an Amazon Machine Images (AMI) for Red Hat Enterprise Linux 8 (RHEL8) using Packer. We can use this AMI to deploy our custom AWS EC2 instances.

1. Prerequisites

To create our own custom Amazon Machine Images (AMI) with Packer, we will need Packer and AWS Credentials.

1.1. Packer

Packer is available to download at as a single binary file.

We can download Packer binary for macOS, Linux, or Windows from the Packer website.

1.2. AWS Credentials

To create an Amazon Machine Images (AMI), we will need to…

Over the last few weeks, I developed a .NET Console application to run in Linux and one of the prerequisites to execute the application is the installation of the .NET Core Runtime (or SDK) in the machine.

The following procedure is useful for AWS Linux Workspaces, Amazon Linux EC2 instances, and CentOS 7.x machines.

Installing .NET Core 5 Runtime

We open the terminal, in the case of AWS Linux Workspaces with the Mate Desktop, click on Applications → System Tools → Mate Terminal or the Mate Terminal icon in the Task Bar.

Today, I was helping a DevOps engineer to create a pipeline to generate a JSON file in a Linux host daily; and then, copy the file from a Linux machine to a Windows share.

This is a simple solution, without Ansible or Python code, just bash and Samba.

Installing the Samba Package

What is Samba? Samba is the standard Windows interoperability suite of programs for Linux and Unix.

To use Samba, we must install the cifs-utils package in our Linux server.

We will use apt-get to install this package in Ubuntu or another Debian-based Linux distribution:

sudo apt-get install cifs-utils

If we using Red…

In this story, we will create and remove Azure AD Test Groups and add and remove users from Azure AD Test Groups.

Connect with Azure AD

First, we need to establish a connection with Azure AD:


Create Multiple Test Azure AD Groups

In the following code, we will create 20 Azure AD groups:

for ($i=1; $i -le 20; $i++) {  
New-AzureADGroup -DisplayName $Group -MailEnabled $false -SecurityEnabled $true -MailNickName "NotSet";

Delete Multiple Azure AD Groups

In the following code, we will all Azure AD groups that include ‘Kopi-DevGrp’ in the name:

Get-AzureADGroup -SearchString 'Kopi-DevGrp' | Select-Object Objectid | Remove-AzureADGroup

Add Multiple Test Groups to One User

Here, we will add all Azure AD groups that include ‘Kopi-DevGrp’ in the name…

If you visit my house, it will take a minute to figure out I love books. There are over a thousand books distributed in almost every room of the house.

And as a book lover, I’m always looking for interesting books to read. One of my favorite sources of books is successful people.

This is a list of around 60 books, listed in alphabetical order, recommended in different interviews (and in his Twitter account) by Elon Musk, the brilliant entrepreneur and CEO of Tesla and SpaceX. Enjoy!

A Song of Ice and Fire (series) by George R. R. Martin [Fiction]

Guillermo Musumeci

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | Entrepreneur & Innovator | Book Author | Husband & Dad of ✌

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store