Quite often, I use secure variables in Azure Pipelines. However, though I want to use them, I do not intend on sharing the values of the variables in the code or logs due to security. Hence I required a variable store that was secure and, at the same time, easily accessible by Azure Pipelines. I … Continue reading Manage secure variables with Azure DevOps Library and Azure Pipelines
Author: sourav kundu
Getting started with Docker
If you are getting started or are a seasoned IT professional dealing with building or deploying application code, you may have heard of containers. This is my note, along with a few links as I wrapped my head around the concept of a docker image, an image repository, and an image container. By the end … Continue reading Getting started with Docker
Create Azure DevOps iterations using PowerShell
I start planning for the following year in the last two weeks of December. I use Azure DevOps to track my work -break down goals into features, and features into user stories, which I map into sprints. Creating iterations and adding them to projects is something that anyone can automate. I learned that from Vinicius … Continue reading Create Azure DevOps iterations using PowerShell
Download Amazon S3 bucket into an Amazon EC2 instance in 5 steps using user data and Terraform
I required a few files and folders on an Amazon EC2 instance as part of the provisioning process. So, the objective was to upload these files and folders into an Amazon S3 bucket and download them from the Amazon EC2 instance with the assistance of the user data script and Terraform. Note: As a reader … Continue reading Download Amazon S3 bucket into an Amazon EC2 instance in 5 steps using user data and Terraform
Install AWS CLI on a Windows Amazon EC2 instance using Terraform and user data
In the last post, I discussed the steps involved in installing AWS.Tools module for PowerShell on Amazon EC2 using user data and Terraform. This post lists the steps to install the AWS CLI on an Windows Amazon EC2 instance. I used Amazon EC2 user data and Terraform to automate AWS CLI installation as part of … Continue reading Install AWS CLI on a Windows Amazon EC2 instance using Terraform and user data
Install AWS.Tools module for PowerShell on Amazon EC2 using user data and Terraform
I was under the impression that all Amazon EC2 instances have the latest version of AWS CLI installed. So, I was in for a pretty shock when I discovered that is not always the case. However, I was required to use the AWS CLI, and since this was an Amazon EC2 with Windows OS, I … Continue reading Install AWS.Tools module for PowerShell on Amazon EC2 using user data and Terraform
Manage sensitive variables in Amazon EC2 user data with Terraform
If you have worked with Amazon EC2 user data, you'd have noticed a shortcoming in the approach -the inability to pass command-line arguments to the user data script at run time. Let me explain why I believe that to be a problem. User data is a capability associated with an Amazon EC2 instance as part … Continue reading Manage sensitive variables in Amazon EC2 user data with Terraform
Attach IAM role to Amazon EC2 instance using Terraform
I have a reasonable level of understanding of the relationship between AWS Identity and Access Management (IAM) policy, role, user, and group. I have also implemented the concept of assumed-role and the trusted and trusting account association. You can read more about that at -Creating IAM assume-role relationship between two AWS accounts. So, when I … Continue reading Attach IAM role to Amazon EC2 instance using Terraform
Working with Amazon EC2 user data and Terraform
User data is a feature that allows customization of Amazon Elastic Compute Cloud (virtual machine) when it is created and (if desired) with each restart after being provisioned.As we all know, Amazon EC2 (virtual machines) is the legacy approach to hosting applications in the world of containers. Last year I attended a webinar sponsored by … Continue reading Working with Amazon EC2 user data and Terraform
Create Amazon EC2 using Terraform
One of the first components I created on the AWS cloud was an Amazon Elastic Compute Cloud (Amazon EC2) instance by watching hands-on tutorials. Little did I know about the infrastructure bits that went behind that. In this note, I list the AWS infrastructure and the configurations I created to host an Amazon EC2 instance … Continue reading Create Amazon EC2 using Terraform