Skip to content
Welcome To Charanjit Cheema Blog

Welcome To Charanjit Cheema Blog

An Open Source and Cloud Blog

Menu
  • Home
  • About Me!
  • Way to my Technical Blog
  • Contact me
  • Privacy Policy
Menu

Category: Cloud Computing

How to Deploy Docker Containers with NGINX on AWS EC2 Using Ansible and GitHub Actions

Posted on April 26, 2025 by Charanjit Singh

Have you ever wanted to automate Docker container deployment on an EC2 instance. That was exactly what I wanted to do last week and instead of doing it the old-fashioned way with SSH and manual scripts, I decided to automate it using Ansible and run it through GitHub Actions (CI/CD). The result? A super clean…

Loading

Read more

No More DynamoDB! Use Native S3 locking for Terraform State

Posted on February 7, 2025February 7, 2025 by Charanjit Singh

If you’ve been managing your Terraform state in AWS S3, you’ve probably been using DynamoDB to enable state locking. Well, here’s some great news: Terraform 1.10 lets you ditch DynamoDB and handle state locking directly in S3! No extra tables, no extra costs, and no more unnecessary complexity. So, how does it work? Let me…

Loading

Read more

How to Bring and Manage Manually Created AWS Resources Under Terraform Management

Posted on January 31, 2025January 31, 2025 by Charanjit Singh

Imagine a scenario where you might prefer to provision the resources manually in Cloud because it’s quick and easy. Maybe you needed a Cloud resource such as security group in a hurry, or someone on the team just created it without thinking about Terraform. Fast forward a few weeks, and now you’ve ended with a…

Loading

Read more

Iterating Cloud Resource Provisioning Using Terraform Count and For_Each Meta-Arguments

Posted on January 27, 2025January 27, 2025 by Charanjit Singh

I have sometimes seen some people feel confused in choosing between count and for_each in Terraform. Both constructs help to dynamically create multiple resources, yet their use cases and behavior differ significantly. Let me break it down in simple terms and demonstrate their differences with an example: provisioning AWS Security Groups. Note: Since creating Security…

Loading

Read more

Terraform and Ansible Collaboration for AWS Cloud Deployment

Posted on August 28, 2024August 28, 2024 by Charanjit Singh

In modern IT, automation and efficiency are crucial. Terraform and Ansible are leading Infrastructure as Code (IaC) tools, each with unique strengths. Terraform excels at provisioning cloud infrastructure across multiple providers using a declarative language, while Ansible focuses on configuration management and application deployment through agentless automation.   Terraform Overview Terraform, developed by HashiCorp, allows…

Loading

Read more

Automating AWS Infrastructure Provisioning in Your CI/CD Pipeline with Terraform and GitHub Actions

Posted on July 7, 2024February 11, 2025 by Charanjit Singh

In this article, I will guide you with the steps on how to provision an instance (VM) in AWS Cloud by using Terraform code and a CICD pipeline that is GitHub Action. But before proceeding further, let me give you a brief overview of Terraform and GitHub Action.   Terraform Terraform is an open-source Infrastructure…

Loading

Read more

How to migrate existing WordPress blog from AWS EC2 instance to Amazon Lightsail

Posted on May 29, 2023May 29, 2023 by Charanjit Cheema

In my previous post I had written on how to convert AWS EC2 On Demand (OD) instance to Reserve Instance (RI) for running dedicated and heavy traffic based website like blog or any ecommerce website which require high configuration, but if your website does not have much traffic or you do not want high compute…

Loading

Read more

Enabling and Troubleshooting Hot Add Feature in Linux VMs

Posted on May 5, 2023September 14, 2023 by Charanjit Cheema

As a Linux System Admin, we have come across such requirement multiple times for Vertical scaling of Linux VMs in VMware infrastructure. Vertical scaling means adding of additional resources like CPU, memory, Storage to server or VM for increasing its capacity to address more load of Application or DB hosted on Linux VM but what…

Loading

Read more

How to use Amazon Cloudwatch to monitor my AWS EC2 resources

Posted on March 14, 2019 by Charanjit Cheema

Amazon CloudWatch is a monitoring service which monitor AWS resources on Cloud. It comes with dozen of monitoring metrics which ease Cloud Admin to use them in monitoring their AWS Infrastructure services resources like Amazon EC2 instances, Amazon S3 Cloud Storage, Amazon RDS (Relational Database Service) on Cloud etc. It collects monitoring and operational data…

Loading

Read more

How to convert Amazon EC2 On Demand instance to Amazon EC2 Reserve Instance

Posted on February 27, 2019 by Charanjit Cheema

I was using t2 micro instance for my WordPress website for one year on trial basis as most of you might know AWS provide 750 hours/month free tier usage of its t2 micro instance for a year. But as year passed my instance usage reached high and its trial usage also reached to finish. Due…

Loading

Read more

Posts navigation

  • 1
  • 2
  • Next

Tags

AWS Cloud Computing Dockers Networking Open Networking OpenSource RHEL-CentOS SDN Server Hardware SLES tcpdump Ubuntu WSL

Follow me @

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 2 other subscribers

Recent Posts

  • How to Deploy Docker Containers with NGINX on AWS EC2 Using Ansible and GitHub Actions
  • No More DynamoDB! Use Native S3 locking for Terraform State
  • How to Bring and Manage Manually Created AWS Resources Under Terraform Management
  • Iterating Cloud Resource Provisioning Using Terraform Count and For_Each Meta-Arguments
  • Terraform and Ansible Collaboration for AWS Cloud Deployment

Recent Comments

  1. Charanjit Singh on Terraform and Ansible Collaboration for AWS Cloud Deployment
  2. christinatodd2020aeaa798563 on Terraform and Ansible Collaboration for AWS Cloud Deployment
  3. Charanjit Singh on How to Set password policy in CentOS or RHEL system
  4. SAURABH on How to recover or rebuild initramfs in CentOS 7 Linux
  5. Sangita on How to Set password policy in CentOS or RHEL system

Archives

  • April 2025
  • February 2025
  • January 2025
  • August 2024
  • July 2024
  • June 2024
  • January 2024
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • September 2022
  • August 2022
  • July 2020
  • May 2020
  • February 2020
  • November 2019
  • June 2019
  • May 2019
  • March 2019
  • February 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • June 2018
  • May 2018
  • April 2018

Categories

  • Automation
  • Cloud Computing
  • Coding
  • CyberSecurity
  • Networking
  • OpenSource
  • RHEL-CentOS
  • Server Hardware
  • SLES
  • Technical Blog
  • Ubuntu
  • WSL

Blog Stats

  • 18,353 hits
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Home
  • About Me!
  • Way to my Technical Blog
  • Contact me
  • Privacy Policy
© 2025 Welcome To Charanjit Cheema Blog | Powered by Superbs Personal Blog theme
 

Loading Comments...