I was looking for a proper solution to take the backup of my Seagate Personal Clould (NAS server) to another cloud storage. It’s just an extra layer of backup in case any hazard occurs in my home. Seagate Personal cloud already has some built-in supports for well known cloud services likes Dropbox, One drive and …
Tutorials
Finding something new n teaching it
Logging with Winston in your Node.js application
Logging is an essential part of application. According to Twelve-Factor App methodology it’s the XI factor of application development. A proper logging gives you a valuable insite of your application. In Node.js application, it is always suggested to use logging libraryrather than just using console.log in productione environment. Log4js, Bunyan , and Winston are the …
SSH to AWS EC2 instance without key pairs
This is a common issue for the developers to access ec2 instances by username and password authentication. It requires a few steps to do that. First, login as root using the key pairs. Second, create a user sudo adduser username Third, you need to grant root level permission to the new user visudo Add following …
Upgrade PHP from 7.0 to 7.2

A long ago, I wrote about how to upgrade to 7.0. PHP 7.2 is released. Now, it’s the time again to upgrade to the new version. The latest version of PHP comes with a couple of changes Convert numeric keys in object/array casts Counting of non-countable objects Object typehint HashContext as Object Argon2 in password …
Automate static website deployment on AWS S3 using CircleCI

This is the very common practice now hosting a static site in AWS S3. Not only normal HTML CSS app, you can host angular, react or any kind of rich JavaScript app in S3. In my last tutorial, I explain how you can deploy your static website or contents into AWS S3. Today, I will …
Publish your static website with HTTPS, AWS S3 and Cloudflare
In this post, I will cover how easily you can publish your static website with HTTPS and Cloudflare caching (Despite its very limited in the free tier and Cloudflare is mostly used for security purposes). You don’t need to buy any extra server or SSL certificate. You can easily serve static HTML, CSS as well …
Basic DevOps for deploying an application in Ubuntu VPS
As a senior dev guy in the office, I am always asked to help in setting up production environment ready for VPS based on Ubuntu or any other Linux distributions. Today I will cover some basic knowledge that help you deploying your application in any Linux VPS even you are not a DevOps Engineer in …