Create infrastructure to host an Amazon ECS Service using Terraform
My Devops Journal » AWS
by sourav kundu
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
Visit website
Create an Amazon Managed Grafana workspace and Identity store user using Terraform
My Devops Journal » AWS
by sourav kundu
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
Visit website
Create an Amazon EC2 instance using Terraform with Session Manager access using VPC Endpoint
My Devops Journal » AWS
by sourav kundu
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
Visit website
Connect to an Amazon ElastiCache cluster from an Amazon EC2 instance using Python
My Devops Journal » AWS
by sourav kundu
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
Visit website
Access AWS Secrets Manager secret from Amazon EC2 instance using Python
My Devops Journal » AWS
by sourav kundu
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
Visit website
Create an Amazon ElastiCache for Redis cluster using Terraform
My Devops Journal » AWS
by sourav kundu
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
Visit website
Trigger instance refresh of Amazon EC2 Auto Scaling group with a launch template update using Terraform
My Devops Journal » AWS
by sourav kundu
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
Visit website
Create an Amazon EC2 Auto Scaling group with metric scaling policies using Terraform
My Devops Journal » AWS
by sourav kundu
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
Visit website
Create Amazon EC2 Auto Scaling group and load balancer using Terraform and GitHub Actions
My Devops Journal » AWS
by sourav kundu
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
Visit website
Provision an Amazon EC2 instance with Session Manager access using Terraform
My Devops Journal » AWS
by sourav kundu
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
Visit website

Follow My Devops Journal » AWS on FeedSpot

Continue with Google
Continue with Apple
OR