Category: Cloud Computing
-
Using a Bash Script to Associate an Elastic IP Address to an EC2 instance
In previous articles, I explained how to create an AMI from an EC2 instance and then launch the instance with scripts. Next, you probably want to assign an Elastic IP (IPv4 address) to the instance. In this post, you will learn how to allocate, release, associate, and disassociate an Elastic IP with the AWS CLI…
-
How to Add an Azure AD Group to Your Local Administrator Group: A Step-by-Step Guide
This guide will explore adding an Azure Active Directory (Azure AD) group to the local administrator’s group. This will empower Azure AD group members to conduct tasks needing administrator permissions on Windows 10 and Windows 11 computers. The progression to LocalUsersandGroups policy From the release of Windows 10 version 20H2, Microsoft suggests using the LocalUsersandGroups…
-
How to Use PowerShell for Managing System and User-Assigned Managed Identities in Azure
Managed identities provide secure authentication for resources accessing other resources in Azure without requiring sensitive information such as secrets, credentials, and certificates to be handled. Microsoft Entra ID manages these identities, enabling applications to obtain tokens for authentication. In this post, I will provide an example that illustrates how to use system and user-assigned managed…
-
Pulumi Tutorial: How to Deploy an EC2 Instance
Pulumi is an infrastructure-as-code (IaC) solution similar to Terraform. One advantage of Pulumi is that it allows DevOps engineers to use familiar programming languages to define, deploy, and manage cloud infrastructure. This post demonstrates how to deploy an EC2 instance with Pulumi. Pulumi supports several programming languages, such as Python, TypeScript, C#, and Go, enabling…
-
Managing Azure Resources Using PowerShell cmdlet Invoke-AzRestMethod in Azure REST API
Sometimes, managing certain Azure resources using PowerShell can be challenging due to the absence of specific cmdlets for those operations or services. This is where the Invoke-AzRestMethod cmdlet comes into play, which allows PowerShell scripts to communicate with Azure services by sending HTTP requests to Azure’s REST API. It acts as a bridge between PowerShell…
-
Step-by-Step Guide on Creating an Amazon Machine Image (AMI) for an EC2 Instance using Bash and PowerShell Scripts
The provided Bash and PowerShell script helps automate the creation of Amazon Machine Images (AMIs) from existing AWS Elastic Compute Cloud (EC2) instances. This is particularly useful for creating point-in-time backups or disaster recovery. I mostly use the script to quickly clone an EC2 instance for testing or troubleshooting. Create an AMI in the AWS…
-
A Comprehensive Guide to Migrating Microsoft Entra Connect (Azure AD Connect) to a New Server
Microsoft Entra Connect, formerly named Azure AD Connect, is an on-premises application used to synchronize your local Active Directory objects to Microsoft Entra ID, also known as Azure AD. This post will guide you through the process of migrating Microsoft Entra Connect to a new server. As you may be aware, Microsoft has recently rebranded…
-
Understanding Anti-Spam Policies in Microsoft 365 (Office 365)
It is astonishing that over 200 billion spam emails are sent out every single day. One way to tackle this problem in Microsoft 365, formerly Office 365, is to use anti-spam policies. Prerequisites To follow the steps in this post, you must have the following: Microsoft 365 tenant Either the Organization Management role in Exchange…