Posts

Showing posts from July, 2021

Auto tag EC2 instances using Amazon EventBridge and deploy Infrastructure with Github Actions

Image
  Use Case Tagging AWS resources is very important when you want to automate some tasks based on the tags, like you want to install patch automatically based on the tags from SSM association or you want to get a list of resources based on the tags. There are many aspects where tagging the resources will be required.  In this blog, I will be showing on automatically adding a tag to EC2 instances with platform OS version and Launched By details. This use case will be helpful when we want to target any API actions to multiple EC2 instances of particular OS type. Example, if you have multiple different flavors of Operating systems in your Organization and you want to apply emergency patch to a windows instance and if you don't have the tags then grouping and applyi

Start or Stop services in multiple Windows EC2 Instances using AWS Systems Manager

Image
Use Case You are the admin over a large amount of EC2 instances and managing different AWS accounts under Organization and you have to start/stop/disable a service for all Windows EC2 Instances in the Organization. Rather than wasting labor hours to perform this activity in each instance manually, you want to automate the process using AWS Systems Manager. Recently Windows had a flaw in Print Spooler Remote Code Execution Vulnerability and Microsoft recommended to stop until the patch is applied, in order to apply this immediately, we can make use of this design Systems Manager Systems Manager (SSM) gives you visibility and control over your AWS infrastructure. Automation, a capability of AWS Systems Manager, simplifies common maintenance and deployment tasks of Amazon Elastic Compute Cloud (Amazon EC2) instances and other AWS resources. Automation helps you to do the following: Build automations to configure and manage instances and

Concourse CI Installation and Configuration in Windows

Image
Introduction to Concourse Concourse is an open source CI/CD system with integration supported to Resource types in the outside world. Concourse's principles reduce the risk of switching to and from Concourse, by encouraging practices that decouple your project from your CI's little details, and keeping all configuration in declarative files that can be checked into version control. Install and Configure Concourse in Windows Follow the below Steps to Install Installing Docker Desktop is pretty simple, download the exe file and install the docker desktop Modify Docker daemon configuration file as below