Impact of Big Data, Data Warehouse, and Internet of Things on Insurance Companies.

It is witnessed that over the past few years, the Internet of Things (IoT), have increasingly changed the models of business in a plethora of different ways, affecting many sectors and industries in the world. Currently, it is witnessed that the insurance companies are also largely getting affected as the rate-making procedures and business models largely driven by IoT have induced a new paradigm shift in the sector. For instance, now the primary drivers are real-time scoring and telematic approaches such as:

  • Auto insurance Telematics: the telemetry data can be utilized for claim reduction incentives, optimized tariffs, and measuring the insurance premiums for the risk of damage to the person or individual. The ‘Pay-how-you-drive’ tariffs is a great example.
  • Health insurance Telematics: Life-style and data related to health is utilized for the measuring of plans related to health care.

It is important to note that storing the raw data produced with the contract data and structured party is not always a useful thing to do. It is more useful and effective to consider Hadoop which is a more appropriate option available. Furthermore, many consider this to be a cost-effective avenue as well. On the contrary, it is also witnessed that these large data structures are not still accustomed to handling and processing the intricate and complex relational data structures with efficacy. Hence, we can say that it is more likely that large data structures such as Hadoop and others such as Oracle which is a relational data store, would be used simultaneously in parallel by the IT sector of the Insurance Corporations.

However, it is important that we first built a strong connection between these data systems. Firstly, the data can be a combination taken from the data warehouse at the analytical data marts level, which can include the linking of streaming data to a contract number or a customer from the data warehouse. But, assuming that the IT department of an insurance corporation processes the IoT data, we can say that a scenario can be structured in which the analytics results of the big data are generated or handed over by an external service provider to the insurance corporation. In any situation, the overall problem will be to connect the analytical results with the information in the data warehouse.

Hence, we are now witnessing that many insurance corporations are starting to develop an innovative and new system of automotive tariffs. In simple words, the corporations are now rewarding the defensive driving by giving off favorable premiums. All of this is done through IoT, which is through the analyzation from a telematics box which can be installed in the vehicle and sends anonymous info on the behavior of driving by the driver.

Learn theme Development in Magento- Part 1

Magento is a famous platform that is specifically used for the purpose of e-commerce. There are a plethora of dimensions to this comprehensive platform and in the first part of this blog-guide to Magento, we will be discussing the theming process in the platform.

When we endeavor to develop a website, there aren’t too many guides available out there and hence the primary resource that i have considered is the Magento 2Â which is considered to be very useful. The proof of its usefulness lies in its comprehensiveness as it incorporates almost everything a user requires. As there is a lot to cover, this blog will be divided into two parts.

Pre requisites

  • Prior experience of Magento coding.
  • Know how of Magento 2
  • Completely Installed Magneto 2, running smoothly, and accessible to the frontend &Â admin

Installing Magento

Installation of Magento is the first step and it can be tough task if you have not installed it before, but there some good resources out there that are recommended to especially the beginners such as:

Beginner’s guide to installing Magento 2 using Composer

Magento 2 Vagrant

Magento 2 developer documentation

Creating a good theme

After the process of installation is completed, we would now move on to creation of a good theme to attract online traffic. In Magento 2, as similar to Magento 1, the themes are stored in ~/app/design/frontend.  which is inside of the front end directory. For this purpose, you will have to create a Vendor Directory, similar to the Package in Magento 1. Then a theme folder has to be developed within the vendor directory with the name of your choice.

Now you have a directory structure as below:

  • ~/app/design/frontend
    •  /<Vendor_Name>
      • /<Theme>

Now, you need to declare your theme as your structure is in place so that Magento knows of its existence and hence you can apply it as an active theme in the admin.

After this, you have to create theme.xml file on the root in the previously created theme folder. The code can also be used inside the Luma and Blank theme folders as well. Now, the name of the theme needs to be inserted in the <title> tags and the parent theme can be specified for fallback purposes.

1234<theme xmlns:xsi="<a class="vglnk" href="" rel="nofollow"><span>http</span><span>://</span><span>www</span><span>.</span><span>w3</span><span>.</span><span>org</span><span>/</span><span>2001</span><span>/</span><span>XMLSchema</span><span>-</span><span>instance</span></a>" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd"><title>INSERT THEME NAME</title><parent>Magento/blank</parent></theme>

This code is the minimum magnitude you’ll need and you can declare a theme image too. It will be exhibited on your theme page, in the admin so that you can see a preview of the theme. Use the code given below in order to add one of these. The code must be used between the <theme> XML nodes and underneath the declaration of <parent> theme.


Thumbnail image name should be changed to that of your filename and image should be placed in the following location:

  • ~/app/design/fronted/<Vendor_Name>/<Theme>
    • /media
      • /theme-screenshot.jpg

It is important to note that if this file is not in the current location when  theme page is visited in the admin, then an error is likely to occur. Hence, make sure your image is placed perfectly.


Lastly, you have to add a registration.php file to the root of your theme in order to declare your theme.

  • ~/app/design/frontend/<Vendor_Name>/<Theme>
    • /registration.php

Paste the following code given below into the file, then edit the Vendor Name and Theme to match the structure the structure of your theme?

01020304050607080910<?php/*** Copyright © 2015 Magento. All rights reserved.* See COPYING.txt for license details.*/\Magento\Framework\Component\ComponentRegistrar::register(\Magento\Framework\Component\ComponentRegistrar::THEME,'frontend/<Vendor_Name>/<Theme>',__DIR__);


An interesting aspect of Magento is that the theme are distributed as various composer packages and hence include a composer.json file. It is optional to create one of these files and its not included in the demo but you can add such files. Just simply copy the file from Luma theme or Magento Blank and then edit it according to your need.

Structure of Directory

Now, at this point the overall registering and declaration is complete and you now only need to create a directory structure which is in the preparation of your  layout and template files. Your theme directory should appear as follows.

  • ~/app/design/frontend/<Vendor_Name>/<Theme>
    • /theme.xml
    • /registration.php
    • /composer.json
    • /media
      • /theme-screenshot.jpg
    • /web
      • /css
        • /source
      • /fonts
      • /images
      • /js
    • /etc
      • /view.xml
    • /Magento_Theme
      • /layout
        • /default.xml

The web folder contains your theme’s images css, fonts, and js will go. Also, as the Magento 2 doesn’t have a skin folder therefore these files go in here.

The Magento Catalog image sizes can be configured from etc/view.xml file by just copying it from one of the default themes and editing it accordingly.

In addition, you can also add a logo and declare it before activating your theme. Then the image folder will be used to store the image file and this can be file type you prefer. In this case, the file type is svg; and hence, to tell the theme to utilize the logo, you have to create the Magento_theme/layout folders and make sure that the following code is added to the default.xml file. You can edit this accordingly.

0102030405060708091011<page xmlns:xsi="<a class="vglnk" href="" rel="nofollow"><span>http</span><span>://</span><span>www</span><span>.</span><span>w3</span><span>.</span><span>org</span><span>/</span><span>2001</span><span>/</span><span>XMLSchema</span><span>-</span><span>instance</span></a>" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"><body><referenceBlock name="logo"><arguments><argument name="logo_file" xsi:type="string">images/logo.svg</argument><argument name="logo_img_width" xsi:type="number">300</argument><argument name="logo_img_height" xsi:type="number">300</argument></arguments></referenceBlock></body></page>

Activate your theme

Once everything is complete, you have to browse to the admin of your Magento 2 store, where you will go to the Content > Design > Themes. You have to make sure that your theme appears in this particular list. In the case if it doesn’t appear, the theme has not been declared correctly.

After you correctly manage to declare and see your theme in the path above, you have to browse to Stores > Configuration > Design. Here, you have to select the right store scope with changing of the theme to your own designed theme.

Concluding Part 1

This brings our Part 1 of Theme creation to an end. It is assumed that you would now have a working theme which is created and configured by yourself. In the Part 2, we will be covering the following:

  • Styling
  • Layout changes
  • Editing & Overriding templates

Let us know if there are any comments, queries or questions.

Configuring multi-node Hadoop cluster on Amazon Cloud.

This article consist of two parts the first part will explain you how to setup multi-node Hadoop cluster on Amazon Cloud and second will explain you how client can access AWS EC2 Instances.

Part 1:
First you need to create AWS account for that follow these step

  • Open
  • Follow the on screen instructions.
  • Procedure involves receiving a phone call and entering a PIN.

Sign into Amazon AWS Account:

  • Once you successfully signup. Now use your credentials for Login to AWS account console.


Launch Amazon EC2 Instance:

  • Open EC2 service of AWS.


Create Instances:

  • From EC2 screen click on Launch Instance.


Amazon Machine Images (AMIs):

  • Choose Ubuntu Server 14.04 64-bit OS from a list of Configurations called Amazon Machine Images (AMIs).


Choose Instance Type:

  • On this page t2.micro instance type is selected by default. This is the only instance type which is free.


Configure Instance Detail:

  • Now click on Next: Configure Instance Details. Here mention number of instance you want and keep other option as default.


Add storage:

  • Click on Next Add storage: Move on with default storage 8Gb.


Add Tags:

  • Click On Next: Add Tags. Here give your instance name.


Configure Security group:

  • Click on Next: Configure Security group. Give name to security group later we modify it more.


Creating a new key pair:

  • By Clicking on Review and Launch it will display a dialouge box for “Selecting an existing key pair or creating a new key pair”. A new key pair is generated and named it as “hadoopec2cluster” and it is required to be downloaded on the local machine. Be assure to download it because you will not be able to download it later once you pursue this step.
    click Download Key Pair (.pem) file to your local machine.


Launch Instance:

  • Click on Launch Instance.


Instance State:

  • Instances will launch with pending state they will take time to be in a running state.


Rename Instances:

  • Rename all the instances as below in given image.


Note Instance Details:

  • Note down Instance ID, Public DNS and Public IP for each instance. We will need it later on to connect from Putty client.


Edit Security Group:

  • Click on EC2 Security Group from left paned for more Edition.


  • Select HadoopEC2SecurityGroup that we created above. Under inbound option click on Edit.


  • Here We have to add two more rules “All TCP” and “All ICMP”.


Part 2:

  • To access Linux Instances from window you need to download and install Putty and puttygen From Here
  • Once download is completed open Puttygen.


  • Load .pem private key file that you download previously into your system.


  • Click Ok and save private key with the same name given to .pem file. PuTTY automatically adds the .ppk file extension.


  • Now we will connect to Linux instance using PuTTY (Starting from HadoopNameNode) and all instances will follow the same process.


  • In the Host Name box enter user_name@public_dns_name or public_ip. Default user name for Ubuntu machine is “ubuntu”
    Under Connection type select SSH.Ensure that Port is 22.


  • Now expand SSH from left category panel and click on Auth.


  • Browse .ppk file and click open.


  • If this is the first time you have connected to this instance, PuTTY displays a security alert dialog box that asks whether you trust the host you are connecting to. Click Yes. A window opens and you are connected to your instance.