September 21, 2018

How to use Boto3 download & upload with AWS KMS

Reading Time : 1 minuteJust take a simple script that downloads a file from an s3 bucket. The file is leveraging KMS encrypted keys for S3 server-side encryption. For more […]
August 2, 2018

Access AWS S3 bucket from another account using bucket policy

Reading Time : 2 minutesApart from using the IAM roles, you can also do this through a bucket policy on the source account(Account A) S3 bucket, granting access to another […]
August 2, 2018

Adding multiple git accounts on same computer

Reading Time : 1 minuteSo if you have multiple git accounts, for example, one from the company and one is your personal, then how will you manage them on the […]
June 17, 2018

Copy (scp) file from remote server to Mac using ssh tunnel

Reading Time : 1 minuteGenerally, when we work in a secure environment we do have bastion host to connect application/DB server. So when using Windows we can copy the file to […]
May 3, 2018

How to install awscli on MacOS

Reading Time : 1 minuteInstalling the AWS CLI seems easy on macOS (OSX) as per the step given by AWS here but there are some issues with python and pip due to […]
April 5, 2018

Using PowerShell to join the computer to domain and troubleshooting tricks

Reading Time : 3 minutesWe can add the computer to AD domain by using PowerShell which is very important while doing automation in a windows environment. The Add-Computer cmdlet used to add […]
April 3, 2018

How to see all the changes before creating/updating the AWS CloudFormation stack

Reading Time : 3 minutesWhen we want to create a new cloud formation stack, wouldn’t it will be better if we got to see/check what all resources it will create? […]
April 1, 2018

How to run commands remotely on ec2 instances

Reading Time : 3 minutes  AWS Systems Manager Run Command allows you to remotely and securely run set of commands on EC2 as well on-premise server. These instances are called […]
March 26, 2018

How to test if the user is present in Active Directory via PowerShell

Reading Time : 1 minuteWhen we create the new Active Directory we add the user to it, right? No brainer. So, when we want to achieve this via automation say […]
March 26, 2018

How to add task in cron

Reading Time : 2 minutesEach user has their own cron file including the root user. If the cron task requires administrative privilege then it can be added to the root […]