Happy Diwali to all my friends. This is our first Diwali in Bangalore. We enjoyed a lot here. Everybody here in Bangalore is celebrating Diwali at its peak. Full of lights, fire works, happy faces everywhere etc.. We wishing you…
Author: Arunlal A
Dump Mongo DB collections and move it to an S3 bucket.
Requirement: Need to write a script to create Mongo DB collections dump and move the dump to an AWS s3 bucket. Prerequisites: SSH access to Mongo DB server, IAM user with AWS s3 full [or write] access, aws-cli on server,…
How to give access only to a folder inside s3 bucket for an AWS IAM user?
Sometime, you want this option to limit access to an s3 buckets from a particular IAM user. This can be done by adding custom policy on IAM user without changing any policies from bucket level. Scenario: You are AWS account…
Check the resource (cpu, memory) usage of users – Linux
In some high load situations, we need to find out the resource consumption of each users on the server to figure out the exact issue. There are a lot of options/commands available in Linux to find the same. Normally, we…
Docker tips and tricks
Docker tips and tricks. In this article I would like to add some commonly using Docker commands, and some tips and tricks. Will start with some basics and add more commands/tricks going forth. I shared some basics of Linux containerisation…
Load monitoring in Linux servers – top, w and uptime commands’ usage for checking the load on server
Load on Linux – top, w, uptime This is a necessary thing to check the load-average on your server for its better and stable performance. In a Linux server/system we can check the load by different ways. High load on…
20+ Rsync command’s switches and common usages with examples – Unix/Linux
The “rsync” is a powerful command under the Linux environment. The rsync stands for Remote Sync. Normally rsync is used to transfer file from one server(source) to another server(destination). rsync has a lot of switches or option for managing the…