My Devops Journal » AWS
747 FOLLOWERS
Hi! I'm Sourav Kundu and in the follwoing section of My DevOps Journal, I publish articles related to AWS. Over the years I have dabbled with creating hundreds of build and release definitions in Azure DevOps, provisioning resources in the cloud, production releases, writing small productivity (.net) utilities to help me with my day to day job - auto-merge of branches, automated check-in,..
My Devops Journal » AWS
1w ago
This is the first part of an umbrella note in which I describe how to create and deploy an Amazon ECS service using Terraform and GitHub Actions. Particular AWS cloud services must be provisioned before hosting a container in Amazon ECS. In this note, I list all the required AWS services, their specific properties, and ..read more
My Devops Journal » AWS
3M ago
This note is an extension of my previous note on creating an Amazon Managed Grafana workspace with one more resource added to the configuration. In my earlier note, there was a pre-requisite manual step to create the IAM Identity Center user before creating the Amazon Managed Grafana workspace. At that time, the AWS Terraform provider ..read more
My Devops Journal » AWS
4M ago
As a reader of this note, I believe you are familiar with Session Manager. Per AWS-Docs, Session Manager is a fully managed AWS Systems Manager capability that lets you manage your Amazon EC2 instances through an interactive one-click browser-based shell or through the AWS CLI. For Session Manager to function, the Amazon VPC requires access ..read more
My Devops Journal » AWS
4M ago
This note continues my previous note on Amazon ElastiCache for Redis. In my earlier note, I demonstrated how to create an Amazon ElastiCache for the Redis cluster using Terraform and automate the process using GitHub Actions. In this note, I explain how to connect to the ElastiCache cluster using Python from an Amazon EC2 instance ..read more
My Devops Journal » AWS
5M ago
Per AWS-Docs, AWS Secrets Manager is a service to manage, retrieve, and rotate database credentials, application credentials, OAuth tokens, API keys, and other secrets throughout their lifecycles. Many AWS services store and use secrets in Secrets Manager. In this note, I demonstrate how to access the AWS Secrets Manager secret value using Python from an ..read more
My Devops Journal » AWS
6M ago
Reading the title, you must have a fair idea of what we’re discussing in this note. Also, I followed a few best practices while creating the Amazon ElastiCache service, like enabling multi-availability zone, multi-node, and encryption in transit and at rest. I have a link to my GitHub repository with the Terraform and GitHub Actions ..read more
My Devops Journal » AWS
7M ago
This note continues my discussion on the Amazon EC2 Auto Scaling group that I started in my previous post, so please read that before this one. In that post, I explain the fundamentals of creating an Amazon EC2 Auto Scaling Group using Terraform. An Amazon Auto Scaling group consists of Amazon EC2 instances with specific ..read more
My Devops Journal » AWS
7M ago
This note continues to explore the auto-scaling concept I discussed in my note -create an ASG and load balancer with Terraform, so please read that note before this one. After creating the Amazon EC2 Auto Scaling group, the application development team would require the scaling policies to manage the correct number of Amazon EC2 instances ..read more
My Devops Journal » AWS
7M ago
When project teams host an application or service on an Amazon EC2 instance, they have specific questions about the underlying infrastructure. A few of them could be: (a) Can the project team be assured that if some or all existing EC2 instances were terminated or unresponsive, new Amazon EC2 instances (with the application hosted) would ..read more
My Devops Journal » AWS
8M ago
Sometimes, connecting an EC2 instance after provisioning is necessary to verify whether the user-data script ran successfully, review if something is passing/failing, etc. As of August 2023, there are four ways of connecting to an Amazon EC2 instance running on Linux from the AWS console -EC2 Instance Connect, Session Manager, SSH client, and EC2 serial ..read more