Category DevOps

How to Fix ‘No Such File’ Error

Recently, I encountered a strange problem when executing the binary file protoc, which resulted in the error “no such file or directory: ./protoc”. The file was clearly there, but the error persisted, making me wonder if there was a bug…

New way to collect core dump file in Linux

Core dumps are binary files that contain the memory image of a crashed process, which can be invaluable for debugging purposes. To collect a core dump file in Linux, you need to configure your system to generate core dumps when…

Microsoft’s Email Breach: Implications for Cloud Security

Microsoft’s Email Breach: Implications for Cloud Security On July 11, Microsoft disclosed that a Chinese hacking group known as Storm-0558 gained unauthorized access to the email systems of various US government agencies, potentially compromising a significant number of emails. Recent…

2 ways to create users with Ansible

In the realm of IT automation, Ansible has emerged as a powerful tool for streamlining various administrative tasks. Among these tasks, user management stands out as a common and often repetitive process. Ansible provides two primary approaches for creating users:…

Terraform AWS EC2 user data troubleshooting

In AWS EC2 (Elastic Compute Cloud), user data refers to the information or scripts that you can provide to an EC2 instance during its launch. User data can be used to automate instance configuration and perform various tasks on the…

2 ways to create file with Ansible

Create a file with Ansible file module There are a few ways to create a file with Ansible. One way is to use the file module. The file module has a state option that can be set to touch to…