MicroPyramidBlog

Explore a blog dedicated to a wide spectrum of topics including Django, Python, Machine Learning, Salesforce, Angular, React, Flutter, Svelte, LINUX, and Amazon Web Services.

ELK Stack for Parsing your Logs

In This Tutorial we will look onto parsing your syslog files and store and display it in interactable website. We will be using ELK Stack for this purpose, before Jumping Into ELK Stack Lets see what each means

E - Elasticsearch: open source search and analytics engine, which stores data and relies on Apache Lucene for searching.
L - LogStash: Logstash is an open source data collection engine with real-time pipelining capabilities.

Server Management Read Full Post

Elastic Search Security Measures

After Installing Elastic Search in production, many new developers leave it unconfigured. In this Post, we will look into important config file changes and its implications

Server Management Read Full Post

ELK Stack for Parsing your Logs- Part 2

In Previous Tutorial we looked into Setting up EL Server which can ingest your Syslog files. In this Post, you will learn about pushing your Log Files to EL Server and How we will Display it in Kibana with Interactive Graphs.

Server Management Read Full Post

Daemonizing any Command with SUPERVISOR

Daemonizing a command means to make it run as a background process.

so when we have a command that we want to daemonize there are many ways to do it, most common methods are:

  1. using upstart
    2. adding it to /etc/rc.local
    3. creating a script in /etc/init.d and adding them to runlevel folders manually (i.e. incase you want to start, stop a command)
Server Management Read Full Post

Django on GAE (Google App Engine)

Google App Engine (often referred to as GAE or simply App Engine) is a platform as a service (PaaS) cloud computing platform for developing and hosting web applications in Google-managed data centers. Applications are sandboxed and run across multiple servers.App Engine offers automatic scaling for web applications—as the number of requests increases for an application, App Engine automatically allocates more resources for the web application to handle the additional demand.

Server Management Read Full Post

Celery With Supervisor

Celery is a task queue with focus on real-time processing, while also supports task scheduling. Task queues are used as mechanisms to distribute work across multiple threads or machines. A task queues input is a unit of work called a task,dedicated worker processes and constantly moniter the queue for new work to perform. Celery communicates via messages using a broker to mediate between workers and clients.

Server Management Read Full Post

Django Hosting on Nginx with Uwsgi for High Performance

Quick guide to host django application using uwsgi and nginx which offers better resource utilization and performance .

Server Management Read Full Post

TMUX - Sharing Terminal between Users

More Often you wouldve come across sharing screens with applications like Teamviewer, Windows Remote Desktop Connection or remmina (if you're a linux user). But if you want to share only your terminal, you can look upto Tmux.

Server Management Read Full Post

Securing Elastic Search Instance with Shield

Shield allows you to protect elastic search data with a username and password. It provides additional functionalities like encryption, role-based access control, IP filtering. It is Official Plugin of Elasticsearch which embeds well with other elastic search products like kibana and log stash. Initially, Shield is available for 30days try after which you can renew the license

Server Management Read Full Post

Ansible Galaxy Introduction

Ansible Galaxy is the hub of ansible scripts contributed by users. To follow this article its important that you know about ansible. We have a simple, easy to follow blog about ansible scripting here(https://micropyramid.com/blog/how-to-deploy-django-with-uwsgi-and-nginx-using-ansible-play-book/).

Server Management Read Full Post