Posts
2 Jul, 2020
AWS VPC is the foundation of cloud infrastructure in AWS. When we start architecting infrastructure, we start by designing the VPCs. Whatever we need to launch, EC2/EKS/RDS, we have to launch within the VPC. If we don’t plan it well, soon we will be running out the IP address or facing subnet collision while setting up network connectivity with internal/external networks. So, we will try to have a high-level idea over AWS VPC in this blog.
1 Jul, 2020
PHP Composer: Speed Up Your Docker Build
Once I was disappointed at dockerizing Nodejs applications. Runing npm install was like leaving earth for mars. Thanks to Yarn for saving my ass. But nowadays PHP composer has taken that place. Running composer install in Docker used to take a huge time and slow down CI/CD speed. But I’ve managed to speed up the build process with some ninja techniques. Rule 1 Use prestissimo with composer. It’s a plugin to download packages in parallel.
22 Mar, 2019
Become a DevOps Engineer in Three Days
Recently a guy has said to me, “Hey! I’m free for the next three days. I want to be a DevOps Engineer within these days.” “Dude! Seriously?”, I was whispering. No, the guy was serious. He was really passionate about being a DevOps Engineer. So, I decided to write this blog to help him. I want to say, “This blog post is dedicated to you, bro. You’re the best.” Is it possible to become a DevOps Engineer within three days?
6 Jan, 2019
Access AWS Redis through Encrypted Communication Channel
At Amazon ElastiCache for Redis, we can enable in-transit encryption (TLS) while creating a Redis replication group. The engine version must be 3.2.6, 4.0.10 or later. This is the only requirement. But the fun fact is, it isn’t possible to access the Redis through redis-cli. To access the data in Redis, we have to use clients that work with Secure Socket Layer (SSL) or Transport Layer Security (TLS). But redis-cli neither supports SSL nor TLS.
10 Dec, 2018
Infrastructure as Code (IaC) is the new buzzword in the city. DevOps Engineers have become crazy and are writing code to launch their infrastructure on the cloud. Terraform has just pushed that craziness to the next level. This tool has become very famous for building, changing, and versioning infrastructure. In fact, it has been the safest and the most efficient way of managing large infrastructure. You write code for your infrastructure, right?
17 Jun, 2018
Git Cheat Sheet - The Ultimate Guide
Git is a free and opensource version control system. Surely, we have more VCS like Bazaar, Mercurial, and SVN. But Git is the most popular and widely used VCS. It is another creation of Linus Torvalds. He created it in 2005 for development of the Linux kernel. In software development, it is used for source code management, especially for tracking changes. In this blog, we aren’t gonna learn Git. We will just document some very necessary Git commands for day-to-day usage.
8 May, 2018
TURN Server is a VoIP media traffic NAT traversal server and gateway. Traversal Using Relays around NAT is called TURN in short. According to Wikipedia, it is a protocol that assists in the traversal of network address translators or firewalls for multimedia applications. You can assume it as a relay point. If you are very new to networking, you may not get the term NAT. NAT refers to Network address translation.
25 Mar, 2018
Why should I choose Linux over Windows, for Python programming?
I was asked this question on Quora. Normally I don’t like to fight for operating systems. I believe every OS is awesome in there own way. Different people have different needs. It’s one of the sweetest reasons for why we have so many operating systems on our planet. So I have just tried to share my own thoughts on why I am using Linux for Python programming. Please correct me if I make any wrong statement.
11 Jul, 2017
Install Avro Keyboard in Ubuntu
After a long time, I’ve tried to do something for Avro in Linux. I know we’ve done a temporary solution. But believe me, that’s enough for now. According to Sarim Khan, he’s implementing Avro again from scratch in Go lang. I hope, within two or three months, we’ll get a new static binary of Avro what will be distro independent. But till then, try this way to get Avro installed in your Ubuntu 16.
22 Dec, 2016
If Instagram would start today, would they use Flask?
Before that, you should know the main difference between Flask and Django. Both are famous in Python arena. But they have different necessity and outlook. Flask is a microframework. The “micro” in microframework means Flask aims to keep the core simple but extensible. Flask won’t make many decisions for you, such as what database to use. Django comes with batteries-included. Django takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel.
1/3