A
Arun's Blog

Engineering Logs

// Thoughts on cloud architecture, DevOps, and system design

2026

7 entries
IAM Identity Center

AWS TEAM: Just-in-Time Privileged Access for Your AWS Accounts

AWS TEAM (Temporary Elevated Access Management) provides just-in-time privileged access with automatic revocation. This open-source solution integrates with IAM Identity Center for request-based, approval-gated, time-bound access to AWS accounts.

AWS

AWS Backup Security: Vault Lock, Air-Gapped Vaults, and Malware Scanning

Build a comprehensive AWS backup security strategy with Vault Lock for WORM protection, Logically Air-Gapped Vaults for cross-account isolation, GuardDuty Malware Scanning to prevent restoring infected data, and Audit Manager for continuous compliance monitoring. Learn how to implement all four layers for maximum ransomware protection.

AWS

AWS EC2 Bootstrapping Guide: Methods for Initializing Instances

Master EC2 bootstrapping with this comprehensive guide covering User Data scripts, Golden AMIs with Packer, S3-hosted scripts, SSM State Manager, and configuration management tools. Learn the recommended hybrid approach for production environments that combines fast boot times with flexibility and ongoing compliance.

AWS

EC2 Windows Serial Console: Enable SAC, Boot into Safe Mode, and Exit

Recover unresponsive Windows EC2 instances using AWS Serial Console and Windows SAC (Special Administration Console). This guide walks through enabling Serial Console access, connecting via SAC, booting into Safe Mode with Networking for troubleshooting, and returning to normal operation - all without detaching volumes.

AWS

AWS Centralized Root Access Management

Eliminate root credentials from AWS member accounts while maintaining secure break-glass access. This guide covers enabling centralized root access management from your management account, delegating administration, deleting root credentials, and recovering access for emergencies - all while following AWS security best practices.

2025

8 entries
AWS

AWS Secrets Manager vs SSM Parameter Store: When to Use Each

Should you use AWS Secrets Manager or SSM Parameter Store? This comparison covers the key differences in cost, features, rotation capabilities, and IaC support to help you choose the right service for your secrets and configuration management needs.

Security

AWS IAM Roles Anywhere with Windows PKI Setup Guide

Use IAM Roles Anywhere to grant AWS access to on-premises workloads using your existing Windows PKI certificates. This guide covers exporting your subordinate CA cert, creating IAM roles and trust anchors, issuing certificates, and configuring the credential helper for automatic temporary credentials.

Systems Manager

Systems Manager Session

AWS Systems Manager Session Manager provides secure EC2 access without SSH keys, bastion hosts, or open inbound ports. This guide covers complete Terraform setup including VPC endpoints, IAM roles, security groups, and CLI connection methods.

2024

6 entries
EKS

Orchestrating Kubernetes on AWS with Terraform

Deploy AWS EKS with Terraform using modules for VPC, EKS cluster, ALB controller, and demo applications. This guide covers managed node groups, AWS Load Balancer Controller, and complete Kubernetes resource definitions.

FinOps

Embracing FinOps

FinOps brings together business, finance, and IT to manage cloud costs effectively. This guide covers best practices including cross-functional teams, cost monitoring, optimization strategies, and building a cost-aware culture.

CloudFormation

Leveraging the Power of AWS CloudFormation StackSets

CloudFormation StackSets deploy resources across multiple AWS accounts and regions from a central management account. This guide shows how to deploy IAM roles organization-wide with automatic deployment to future accounts.

SSH

SSH Multi-Hopping for Advanced Network Navigation

SSH multi-hopping lets you connect through intermediate hosts to reach a final destination. This guide covers creating SSH keys on Windows/Mac/Linux, tunnel syntax, practical examples, and troubleshooting common issues.

2023

24 entries
CLI

IAM Cleanup: A Guide to Deactivating Unused AWS IAM Keys

Automate IAM access key hygiene by identifying and deactivating unused or stale credentials using this bash script. Improve your security posture by eliminating access keys that haven't been used in 6 months or have never been used.

SSH

Decoding SSH: From Key Generation to Secure Server Access

Master SSH key-based authentication from start to finish. Learn how to generate RSA, DSA, or ECDSA key pairs, securely transfer public keys to remote servers, and establish password-less connections for enhanced security and convenience.

CLI

Snapshot Removal: A Guide to Deleting Unused AWS Snapshots

Automate the cleanup of unused AWS EBS snapshots across all regions using this bash script for CloudShell. Reduce storage costs and maintain a lean cloud environment by identifying and removing snapshots older than your retention threshold.

S3

Governance & Compliance with S3 Object Lock

S3 Object Lock prevents object deletion/modification using Governance mode (overridable) or Compliance mode (immutable). This guide covers implementation, legal holds, monitoring with CloudTrail and S3 Inventory, and common pitfalls to avoid.

Continuity

AWS Application Migration Service - Part 2

Install AWS MGN replication agents on Windows and Linux source servers, configure global launch templates for consistent EC2 settings, and set up post-launch automation using Systems Manager or User Data scripts for seamless cloud migration.

VPC

Site to Site AWS VPN - Using Only Windows Servers

Create a Site-to-Site VPN between AWS and your on-premise network using only Windows Server as your router. This guide covers Terraform code for AWS VPN resources and PowerShell commands to configure Windows Server RRAS for IKEv2 VPN connectivity.

Organizations

Centralize Resource Management with AWS RAM

Share AWS resources like Transit Gateways across accounts easily with AWS Resource Access Manager (RAM). Learn to enable RAM trusted access in Organizations, create resource shares, and simplify multi-account network architecture without complex permission policies.

CLI

Master the AWS CLI Installation Process

Install the AWS CLI version 2 on Linux and Windows with step-by-step commands. Learn the quick installation methods using curl and msiexec, configure credentials, and start automating AWS tasks from your command line immediately.

Boto3

Uncover the Mystery of Your AWS IP Addresses

Discover all private and public IP addresses across your entire AWS environment using Python and Boto3. This script queries ENIs across all regions, handles permission errors gracefully, and exports results to CSV for easy IP address inventory management.

2022

8 entries
VPN

AWS Site-to-Site VPN via Terraform

Deploy an AWS Site-to-Site VPN connection using Terraform with complete Infrastructure as Code. This guide covers creating Customer Gateways, Virtual Private Gateways, VPN connections with static routing, and test EC2 instances for quick hybrid connectivity setup.

Multi-Cloud

AWS Site-to-Site VPN with Azure

Connect AWS and Azure using Site-to-Site VPN with Terraform. This guide covers complete Terraform configurations for both clouds, including Virtual Private Gateway, Virtual Network Gateway, and test VMs with troubleshooting tips.

VPC

VPC Flow Logs via Terraform

Enable VPC Flow Logs using Terraform to capture network traffic data for security analysis and troubleshooting. This guide covers CloudWatch Log Group creation, IAM role configuration, and Flow Log setup with timing considerations and troubleshooting tips.

Continuity

AWS Application Migration Service - Part 1

AWS Application Migration Service (MGN) provides automated lift-and-shift migration to AWS. This guide covers network requirements, agent installation, staging area architecture, and the launch process with troubleshooting tips.

Continuity

AWS - Elastic Disaster Recovery

AWS Elastic Disaster Recovery (DRS) provides fast, reliable recovery of on-premises and cloud servers to AWS with RPO in seconds and RTO in minutes. This guide covers setup, configuration, drills, failover, and failback procedures with troubleshooting tips.

DNS

AWS - Hybrid DNS

Configure Route 53 Resolver endpoints to enable DNS resolution between on-premises networks and AWS. This guide covers inbound and outbound endpoints, conditional forwarding rules, and Active Directory integration with troubleshooting tips.

Firewall

AWS Network Firewall

Deploy AWS Network Firewall in a centralized inspection VPC with Transit Gateway to inspect all north-south and east-west traffic. This guide covers architecture design, VPC creation, routing configuration, and traffic flow patterns.

VPN

AWS Site-to-Site VPN with Palo Alto

Connect your on-premises Palo Alto firewall to AWS using Site-to-Site VPN. This guide covers Customer Gateway creation, Virtual Private Gateway setup, and complete Palo Alto configuration including IKE/IPsec settings and troubleshooting tips.

2021

3 entries
Continuity

Manual VM Import to AWS - Windows

Import on-premises VMs to AWS without using CloudEndure or AWS Migration Services. This guide walks you through exporting your VM, uploading to S3, creating IAM roles, and running the import - plus troubleshooting tips for common issues.

Migration

Manual VM Import to AWS - Linux

Import RHEL VMs to AWS using VM Import/Export. Key differences from Windows: install NVMe/Xen drivers with dracut before export, use BYOL licensing via Red Hat Cloud Access, and connect via SSH. Includes supported versions, troubleshooting, and step-by-step instructions.

Continuity

Setup a Highly Available Website in AWS Using Terraform

Use Terraform to deploy a highly available NGINX website with an Application Load Balancer, two EC2 instances across different AZs, and an S3 bucket for website files and log storage. Complete with troubleshooting tips and full code.