MongoDB is a NOSQL based database which uses collections and documents for storing the data. And Flask is a python framework for web development. So in this article, I will explain how to connect and use MongoDB with flask.

So Let’s Get Started

Installations

  1. Download the community version of MongoDB from here
pip install flask
pip install Flask-PyMongo

Pymongo is the client used for connecting mongodb and python

Importing files

First create a directory of your web app then create a file named as app.py App.py file will contain all the flask and python related code.

Now first import…


Whenever we want to use any AWS services we mostly use the AWS GUI for our requirement. We basically go to the AWS console then choose the service and then just choose different options. But this way of using the service is very manual and time-consuming.

There are three ways of using the AWS

  1. Graphical User Interface

AWS GUI is so manual that we have to click many times and it is also not very user-customizable. So we have to do automation and automation works only by writing a code or commands

So…


MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era. MongoDB is a NOSQL database which means it is a Schemaless database. No Schema gives more flexibility to the database for adding any new field on the fly. In MongoDb a database table is referred as collections and the row of data is known as documents.

In this blog I will be explaining how Cisco solved their database problem using MongoDB

How Cisco is using MongoDB ?

Cisco is the worldwide leader in networking, transforming how people connect, communicate and collaborate. In November 2011, Cisco launched WebEx Social…


In this blog I will be configuring the httpd server on a docker container. After reading this blog you will came to know how to host a website on a docker container.

For the practical I will be using RHEL 8 as my base OS and also make sure that docker is also installed on your base OS.

So let’s get started

Step1: Launching a Docker Container

I will be using the Centos OS as my docker container

docker pull centos

Above command will download the latest version of centos os

For launching the container

docker run -it --name webserver24…

In this blog I will be giving you a step by step instruction for dockerizing your python interpreter.

So let’s get started !!

Step1: Launching a docker container

I will be using the centos as my container’s operating system. You can also use any other docker image like fedora and ubuntu.

For downloading the docker image use the below command

docker pull centos

For launching a container

docker run -it --name python_interpretor centos

Ansible

Ansible is a configuration management tool but we can do provisioning also.

Ansible is a software tool that provides simple but powerful automation for cross-platform computer support. It is primarily intended for IT professionals, who use it for application deployment, updates on workstations and servers, cloud provisioning, configuration management, and nearly anything a systems administrator does on a weekly or daily basis. Ansible doesn’t depend on agent software and has no additional security infrastructure, so it’s easy to deploy.

How Ansible works

Ansible is a tool/software . Ansible work on concept of declarative language. …


With the boom of the Automation technology in the IT sector many automation tools and technologies like containerization , Kubernetes , Ansible etc are very popular now days.

So in this article I will be discussing the importance and industry use cases of Kubernetes.

What is Kubernetes ?

Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications. It is basically used for orchestrating the containers which can auto scale and deploy many containers without a down time.

Kubernetes provides us with:

  • Service discovery and load balancing

The Nasdaq Stock Market, also known as Nasdaq or NASDAQ, is an American stock exchange located at One Liberty Plaza in New York City. It is ranked second on the list of stock exchanges by market capitalization of shares traded, behind only the New York Stock Exchange. The exchange platform is owned by Nasdaq, Inc., which also owns the Nasdaq Nordic stock market network and several U.S. stock and options exchanges.

While most people know Nasdaq for its equities exchange, Nasdaq is also a technology and services provider to more than 120 different exchanges, regulators, and post-trade entities in more…


In this article I will be telling you how big multinational companies like Google , Facebook and Amazon stores , manages and manipulates their thousands of terabytes of data or to be specific how they manage big data.

Before explaining the data management of these companies let me explain what actually the term Big Data means.

What is Big Data ?


In this article I will be creating a developer and production environment on Google cloud by using many GCP services like GKE, LoadBalancer , SQL etc.

In a company or an organization multiple team works in parallel , for example we have one team as a Developer which and another team is a testing team and we also have a production team. So after the code is developed by development team then the code is transferred to the testing team. After successfully testing the code by testing team the code is then send to the production team. This team will…

Milind Rastogi

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store