Blog

AWS VPC Overview

A VPC is a private virtual network within AWS where you can store all of your AWS services. It will have gateways, route tables, network access control lists (ACL), subnets, and security groups, and will be a logical data centre in AWS. Things to note: Each subnet exists within 1 availability zone. Security groups are Read More

Amazon S3 Overview

S3 stands for Simple Storage Service. It is Amazon’s object-based storage service for uploading data files. It is not ideal for installing an operating system, for instance. It’s utilised in apps like Dropbox, which allow users to store all types of files in a Cloud-based filesystem. The storage capacity is effectively unlimited, with files ranging Read More

Getting Started with Amazon Web Services

Amazon Web Services is a cloud platform that allows fast and cheap provisioning of environments. This gives businesses the opportunity to build environments, scale them when their requirements change and test at a low cost, all with a few clicks. The idea here is that instead of going to an external hardware infrastructure supplier, working out Read More

CORS: How to handle it?

What is CORS? CORS (Cross-Origin Resource Sharing) is a method that uses extra HTTP headers to notify browsers to allow a web application operating on one origin to access resources from another origin. Why does the browser need this mechanism? The security policy known as the “Same-origin policy” is implemented by most browsers, and it Read More

How to Secure, Harden and Improve Performance of Nginx Web Server

#1: Keep Nginx up to date #2: Remove Unnecessary Modules in Nginx To explicitly remove modules from Nginx while installing from source, do: # ./configure –without-module1 –without-module2 –without-module3 For example: # ./configure –without-http_dav_module –withouthttp_spdy_module As you will probably guess, removing modules from a previous Nginx installation from source requires performing the compilation again. A word Read More

How to Use Nginx as an HTTP Load Balancer in Linux

When it comes to setting up multiple application servers for redundancy, load balancing is a commonly used mechanism for efficiently distributing incoming service requests or network traffic across a group of back-end servers. Load balancing has several advantages including increased application availability through redundancy, increased reliability and scalability (more servers can be added in the Read More

How does SSL work?

This blog is for people who want to learn about SSL and TLS. These are protocols that guard the contents of an HTTP session from third parties and eavesdroppers. The combination of TLS (or SSL) and HTTP creates an HTTPS connection. But in order to understand this, you need to remember what a socket is. A quick Read More

REST API Guidelines

What is REST REST is an acronym for REpresentational State Transfer. It is an architectural style for distributed hypermedia systems and was first presented by Roy Fielding in 2000 in his famous dissertation. Like any other architectural style, REST also does have it’s own 6 guiding constraints which must be satisfied if an interface needs to be referred as RESTful. These principles are listed Read More

Build and publish NPM package

What is NPM npm, short for Node Package Manager is two things: first and foremost, it is an online repository for the publishing of open-source Node.js projects; second, it is a command-line utility for interacting with the said repository that aids in package installation, version management, and dependency management. A plethora of Node.js libraries and Read More

Why Linux Hosting is Cheaper than Windows Hosting?

Most of the data that we get across the web, via websites, email services, etc. are essentially stored or hosted on servers. These servers run on various platforms (operating systems). The two major operating systems are Unix-based Linux and Microsoft Windows. Apart from these, Ubuntu and Debian OS are also used, though less. About 2/3 rd of all servers use Linux, whereas Read More