application-x-ndjson-and-application-json

What is difference between application/x-ndjson and application/json?

Lets understand what is json? JSON stands for JavaScript Object Notation JSON is a lightweight format for storing and transporting data JSON is often used when data is sent from…

Read more »
elasticsearch-error-bulk-request

Elastic Search Error – The bulk request must be terminated by a newline

FIX – Add a New line in customers_full.json Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps…

Read more »
elasticsearch-error-illegal

ElasticSearch Error – illegal_argument_exception – Rejecting mapping update to type

########### COMMAND ################# ########### OUTPUT ########### Solution Multiple mapping types are not supported in indices created in 6.0 The ability to have multiple mapping types per index has been removed…

Read more »
elasticsearch-error-content-type-header

ElasticSearch Error – Content-Type header [application/x-www-form-urlencoded] is not supported

To fix this, add curl option -H ‘Content-Type: application/json’. This error is due to strict content-type checking introduced in ElasticSearch 6.0 Solution Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing…

Read more »
octopus-deploy-backup-and-restore

Understading Octopus Deploy Backup and restore process

Your Master Key When an Octopus Server is installed, we generate a special key used for encryption, called the master key. The master key is then encrypted asymmetrically, using DPAPI,…

Read more »

Prevent direct download of photos/video files from amazon s3

You can restrict access based on the HTTP referrer. It’s not bulletproof (Referrer can be spoofed) but it will stop casual downloads. Suppose you have a website with domain name…

Read more »

Ansible Include and Import with differences explanined!

This is one of the most frequest questions being asked in my workshop is that differences between using import or include in Ansible. For example import_role or include_role, what should…

Read more »

Understanding Ansible Architecture using diagram

What is Ansible? Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read more »

Order of operations during Ansible playbook parsing explained!

We will delve into some specifics of how a playbook is parsed for Order of operations. Ansible can be assumed to be executed in a top to bottom order; that…

Read more »

Ansible Variable: How can I pass variable to ansible playbook in the command line?

It is possible to set variables at the command line using the –extra-vars (or -e) argument. Variables can be defined using a single quoted string (containing one or more variables)…

Read more »

How to specifying multiple groups in a playbook hosts specification?

By design, Ansible executes just one play at a time. Your playbook consists of two plays (the two items in the root-level YAML list defined by the playbook file). Method…

Read more »

Octopus deploy Package Deployment Feature Ordering

When Octopus deploys packages, it runs a series of actions implementing the conventions or features enabled for that step. The order of evaluation once the package is extracted is: BeforePreDeploy.*…

Read more »

Difference between ansible vars_files vs include_vars

Both of them have some commonalities but they solve different purposes. vars_files are read when the play starts. include_vars are read when the play reaches the task. Format vars_files: directive…

Read more »

Configuration Transforms in Octopus Deploy explained!

Before understanding “Configuration Transforms” in octopus deploy, lets understand what is “Web.config Transformation” in visual studio. What is Web.config? Web.config is an application configuration file of The Official Microsoft ASP.NET…

Read more »

How to create a Nuget Package using NuGet Package Explorer?

What is NuGet Package Explorer? NuGet Package Explorer (NPE) is an application that makes it easy to create and explore NuGet packages. You can load a .nupkg or .snupkg file…

Read more »

Understanding a world of DevOps from Richard Seroter

Introduction and Goals Hi, my name is Richard Seroter and welcome to this course on DevOps. We’re going to be covering the Big Picture of DevOps, hence the title, really…

Read more »

Octopus Deploy – How to handle deployment errors and script failure response.

Each of your scripts will be bootstrapped by the open-source Calamari project to provide access to variables and helper functions. You can see how your scripts are bootstrapped in the…

Read more »

Octopus Deploy – Send a Notification When Deployments Fail

If you are using Octopus Deploy as part of a continuous delivery pipeline, you’ll probably find that deployments don’t fail very often. This means, you need to send an email…

Read more »

Octopus Deploy – Deployment Examples and Sample Projects

Deploying software with Octopus Deploy involves packaging your applications and configuring your infrastructure. With those two steps completed, you need to define your deployment process by creating a project, adding steps and configuration variables, and creating releases. The section goes…

Read more »

Octopus Deploy – Run Multiple Processes steps on a Tentacle Simultaneously and Parallel

For each step that you define in you deployment processes, you can set conditions for greater control over the step’s execution. You can set conditions to: Run the step on…

Read more »

Splunk frequently asked questions!!!

Question – How often does the forwarder send data to indexer?Answer – The forwarder sends data immediately when it becomes available. There is no certain interval that it waits or…

Read more »

What Is HTML?

HTML is a markup language for creating web documents / pages 1.Hyper Text Markup Language 2.Markup language – Uses a set of markup tags 3.NOT a programming language HTML Tags…

Read more »

Todo Application in Laravel

1.Create Project in Laravel Composer create-project laravel/laravel todolist 2.Create CRUD Controller php artisan make:controller TodosController –resource 3.Route setup of CRUD Controller routes/web.php 4.Create Database todolist localhost/phpmyadmin create database todolist 5.Create…

Read more »

UrbanCode Deploy aka UDeploy Tutorial – Introduction of CodeStation

CodeStation is the secure and tamper-proof artifact repository ensures that deployed components are identical to the components that were tested in preproduction environments. Without the repository, artifacts must be pulled…

Read more »

UrbanCode Deploy aka UDeploy Tutorial – Fix of “Download Artifacts” steps

Error Solution if you are using “Source Configuration Type”, File System and File System(Version), “Base Path” must not be empty “Base Path” location must have some subdirectory and files which…

Read more »

UrbanCode Deploy aka UDeploy Tutorial – Cleaning up component versions

You cannot delete this version if it is used by: Process History. But You can delete versions that were deployed in a process only through Artifact Cleanup. You can configure…

Read more »

Working with Azure using Ansible

Ansible includes a suite of modules for interacting with “Azure Resource Manager”, giving you the tools to easily create and orchestrate infrastructure on the Microsoft Azure Cloud. Step 1 –…

Read more »

Calling Ansible handlers based on OS distributions

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock market…

Read more »

Reboot and wait for reboot to complete in Ansible playbook

Reference – https://blog.confirm.ch/calling-ansible-handlers-based-on-os-distributions/ Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read more »