Telegram bots - To lend a helping hand

I’m a massive believer in anything automated. I look back on my career, and I’m starting to think it is ingrained in me. I’ve been tinkering with Excel macros, when I was writing reports in my early career, then getting into SysAdmin I wrote simple monitoring scripts to check the output of commands on remote systems and send me an email with the results. Script patching updates, and automate the roll-out of applications.

Auditing IAM

During a recent audit we did for a customer’s AWS environment, I was looking for an efficient way to analyse the security profile for each IAM user, without too many clicks and navigating back and forth on the IAM console. You know, checking if MFA is enabled, when last security keys were rotated, that kind of stuff. I found a very quick and easy way to do this via the AWS CLI.

Auto Start & Stop EC2 Instances

Post updated: 2019-08-21 Version2 of the lambda function available. Git repo: https://github.com/smitphilip/Ec2-Auto-StartStop It’s been an interesting week… I’ve been getting my hands dirty with a number of new AWS tasks, as I’m part of a task-force type team that is busy developing a new product where components of it will live in AWS. This is part of a larger internal proof of concept, and in the light of cost-saving, while building our MVP, the team decided to shut down the EC2 instances while we’re not working on them.

RHEL - Network Teaming

A good technique to support fault tolerance in production server environments is to bond/team multiple physical interfaces together. This way, if one interface would fail, another interface is ready (with the same IP) to provide connectivity. Another benefit would be to provide higher performance using the combined bandwidth of both interfaces. The result is a single logical link (at layer 2). RHEL and CentOS support two methods to aggregate multiple links; bonding and teaming.

End Result = Automate

Nobody is a master at anything from day one. Anything that you attempt for the first time, takes a number of iterations and attempts before you’re really good at it. I work in new environments, new networks, and on new systems fairly often, and do work for companies that are based in countries which are always a bit behind the curve of international IT trends. Without any existing integration between systems, and orchestration systems in place, I find that it always takes so much longer to automate from the start.