DevOps
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.
9 Aug, 2016
Deploying Django on VPS is an easy task if and only if you know some system administration tasks. You may think on which I have written this statement. But believe me, it’s my personal realization when I deploy my personal blog (made on Django). Let’s go back. Previously, my personal site was on WordPress, a PHP based CMS. It is free, Open Source and the top blogging CMS.. Everything was going right.
3 Aug, 2016
Last 2 years, I am using runit to run any script automatically during booting. When I was using Ubuntu 14.04 in my server, I wasn’t having any issue. But in Ubuntu 16.04, an issue has been found. runit plays with upstart which was default in Ubuntu 14.04. But in Ubuntu 16.04, upstart has been replaced with systemd. So, runit isn’t working normally. But the issue can be fixed as follows:
10 Feb, 2015
Replace MySQL with MariaDB on CentOS
MariaDB is an enhanced, drop-in replacement for MySQL offering many speed improvements intended to remain free under the GNU GPL. MariaDB version numbers, up to 5.5, followed MySQL’s numbers. Thus, if one uses MariaDB 5.5 one knows that all features from MySQL 5.5 are available. After version 5.5, MariaDB developers decided to start a branch numbered 10, as an attempt to make it clear that MariaDB 10.0 will not import all features from MySQL 5.
1/2