K-means is a simple iterative clustering algorithm. Starting with randomly chosen KK centroids, the algorithm proceeds to update the centroids and their clusters to equilibrium while minimizing the total within cluster variance. It is primarily used in scenarios with real-valued features because it relies on the Euclidean distance to discover cluster centroids.
MongoDB is a document-oriented NoSQL database used for high volume data storage. Instead of using tables and rows as in the traditional relational databases, MongoDB makes use of collections and documents. Documents consist of key-value pairs which are the basic unit of data in MongoDB. Collections contain sets of documents and function which is the equivalent of relational database tables. MongoDB is a database which came into light around
MongoDB is an open-source document-oriented database that is designed to store a large scale of data and also allows you to work with that data very efficiently. …
Continuous Integration & Continuous Delivery are integral parts of DevOps, as they are used for integrating multiple stages of the methodology. There are many CI/CD tools in the market but Jenkins; the Java-based open-source CI/CD tool tops the popularity list, leading up to the occasional query of ‘What is Jenkins?’
Jenkins is an open-source server that is written entirely in Java. It lets you execute a series of actions to achieve the continuous integration process, that too in an automated fashion.
This CI server runs in servlet containers such as Apache Tomcat. Jenkins facilitates continuous integration and continuous delivery in…
Modern applications are increasingly built using containers, which are microservices packaged with their dependencies and configurations. Kubernetes (pronounced “Koo-ber-net-ees”) is open-source software for deploying and managing those containers at scale — and it is also the Greek word for helmsmen of a ship or pilot. Build, deliver and scale containerized apps faster with Kubernetes, sometimes referred to as “k8 s” or “k-eights.”
Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.
As applications grow…
OpenShift is a cloud development Platform as a Service (PaaS) developed by Red Hat. It is an open source development platform, which enables the developers to develop and deploy their applications on cloud infrastructure. Red Hat OpenShift is the hybrid cloud platform of open possibility: powerful, so you can build anything and flexible, so it works anywhere. It is very helpful in developing cloud-enabled services.
Today we are gonna launch WordPress application on AWS instance and connect it to MySQL database provided by AWS RDS.
For creating AWS instance with the help of AWS EC2 services follow below mentioned steps in photos
In simple terms, Helm is a package manager for Kubernetes. Helm is the K8s equivalent of yum or apt. Helm deploys charts, which you can think of like a packaged application. It is a collection of all your versioned, pre-configured application resources which can be deployed as one unit. You can then deploy another version of the chart with a different set of configurations.
Helm helps in three key ways:
Writing and maintaining Kubernetes YAML manifests for all the required Kubernetes objects can be a…
Amazon Simple Queue Service (Amazon SQS) is a pay-per-use web service for storing messages in transit between computers. Developers use SQS to build distributed applications with decoupled components without having to deal with the overhead of creating and maintaining message queues.
Amazon Simple Queue Service supports tasks that process asynchronously. Instead of one application having to invoke another application directly, the service enables an application to submit a message to a queue, which another application can then pick up at a later time.
An SQS queue can be FIFO (first-in, first-out) or standard. A FIFO queue maintains the exact order…
Today we are gonna create a Kubernetes cluster on AWS cloud with the help of Ansible and deploy a WordPress application with MySQL as a database.
For creating a Kubernetes cluster consider my below article.
Now for launching the WordPress application download the code from below mentioned git repository
after downloading the code just go to the k8s folder and run wordpress.yml, before running the wordpress.yml file just update your key location inside ansible.cfg file.
Don’t know what Python is? why it is used. Then this article is just cooked and served for you!!!
Python is a widely-used, interpreted, object-oriented, and high-level programming language with dynamic semantics, used for general-purpose programming. It was created by Guido van Rossum, and first released on February 20, 1991.
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. It is high-level built-in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components. Python’s simple, easy-to-learn…