When working with cloud infrastructure, security is of utmost importance. One critical aspect of security is controlling access to cloud resources, and this is particularly important when working with AWS EC2 instances. SSH keys are one way to secure access to EC2 instances, and with Terraform, it is straightforward to create and manage these keys….
Category: DevOps
Prevent nginx from caching DNS for proxy
Hello everyone, If you are using nginx as a proxy and/or reverse proxy, the nginx is caching the DNS information and if you are using AWS Application Load Balancer behind the nginx, and nginx sometimes needs to restart and/or DNS flushing to send a request to the AWS Application Load Balancer because AWS is always…
Deploy HA nginx to AWS ECS with Geolocation Routing via Terraform
Today, I want to refactor the Deploy nginx docker to AWS ECS with Terraform Automation project from a single region to multi-region support. This time, I pushed all of Terraform source code to my GitLab account. Now, the updated project is creating all infrastructure in Ireland and N.Virginia region.Now, we have a geo-location-based route policy…
Deploy nginx docker to AWS ECS with Terraform Automation
Last night, I want to play with AWS ECS Service. I wrote a terraform code to deploy everything at the same time. The terraform is creating all of the resources for run ECS in different VPC and isolated from your other resources. I used nginx:alpine docker image for this project but if you need, you…
How to Install Node Exporter on Linux Server
Node Exporter is a Prometheus exporter for server level and OS level metrics with configurable metric collectors. It helps us in measuring various server resources such as RAM, disk space, and CPU utilization. Node exporter is a good solution to collect all the Linux server-related metrics and statistics for monitoring. Before Start Prometheus ServerAfter node…
Take your GitLab backup everyday if it works in Docker
I’m using GitLab in docker (because I love containerization) and I’m really okay with that because I can move the GitLab environment everywhere if I need and I can feel more elastic when I’m using docker. GitLab backups are really so important because you are keeping all of the source code and maybe wiki maybe…