Browsed by
Month: January 2017

Azure CLI 2.0 (preview) at first glance

Azure CLI 2.0 (preview) at first glance

Around four months ago Microsoft announced a new version of its Azure Command-Line Interface with the name Azure Command-Line Interface 2.0
If you want to read more, use this URL: https://azure.microsoft.com/en-gb/blog/announcing-azure-cli-2-preview 

Three weeks ago a newest beta of this CLI was shared to be publicly available:
https://docs.microsoft.com/en-us/cli/azure/install-az-cli2
There are versions for three major OS: Windows, Linux and OS X. There is also Docker image.

Microsoft decided to completely redesign it’s CLI backbone. Azure CLI is based on NodeJS whereas Azure CLI 2.0 is based on Python. Azure CLI 2.0 is still in Preview version, and I haven’t found any exact date when it will be officially release in non-preview state.

I decided to install Azure CLI 2.0 on Linux, in order to check whether the process is as really simple as Microsoft states on a it’s website. I used Linux Mint (newest version 18.1), mostly because I really like this distro.

Installation

Here is the full article how to install Azure CLI 2.0: https://docs.microsoft.com/en-us/cli/azure/install-az-cli2

I used instructions from the section connected with the newest version of Ubuntu (Ubuntu 16.04 LTS), as Linux Mint
is based on Ubuntu (which in turns Ubuntu is based on Debian). The instruction itself is not very sophisticated and consists of just two steps.

First step is about installation and update some packages, like SSL dev libs , Foreign Function Interface libs,
python dev and build-essential:

sudo apt-get update && sudo apt-get install -y libssl-dev libffi-dev python-dev build-essential

Microsoft encourages that If you haven’t installed any Python yet, install version 3.5.X at least, but installation went smoothly on my 2.7.12 version of Python:

Azure CLI 2.0 works also well with Python 2.7.X

 

Second step (and the last one) is about downloading and installation a new Azure CLI 2.0.
Installer will be run automatically and will ask some simple questions about localisation where the new CLI
will be installed.

curl -L https://aka.ms/InstallAzureCli | bash

Again, this step also went really smoothly.

After this, we can just start playing with new Azure CLI 2.0 by typing az in terminal.

Yes, there is a change:
the current version (CLI 1.0) uses azure as a main command whereas the upcoming major release (CLI 2.0)
uses az command instead of azure

Azure CLI 2.0 interface after installation

 

 

A gentle introduction to Data Vault world

A gentle introduction to Data Vault world

I had an opportunity (for almost 2 years) to work with one of my client who used Data Vault (DV abbreviation onwards) as a technique for modelling and implementing Data Warehouse. It was my first contact with this kind of approach. I must admit that it is really different concept of modelling your EDW/DW, and I am happy that I had the opportunity to learn a bit of it.

In this post I would like to share some useful materials about this technique, like: books, articles, posts, etc… For those who want to start a journey with DV.
Please, If you know other sources about DV, feel free to add more in comments to this post.

Must see websites

These three below websites are must for everyone who is interested in DV and should be bookmarked in your favorite web browser 🙂 I find them extremely useful when it comes to DV.

https://danlinstedt.com
A website of Dan Linstedt – the man who stands behind DV.
The website is a mine of information about DV concepts and techniques, with a lot of examples.

https://hanshultgren.wordpress.com
A blog of Hans Hultgren, who is one of the biggest contributors to DV world.
A lot of useful posts, courses, videos about DV.

http://roelantvos.com/blog
A blog of Roelant Vos. You can find there a hundred and a one in-depth technical articles about DV.

DV courses, certifications

http://learndatavault.com
Trainings provided by Dan Linstedt and Sanjay Pande.

http://www.geneseeacademy.com
DV academy where Hans Hultgren is one of the contributors.

 Some useful articles

http://www.vertabelo.com/blog/technical-articles/data-vault-series-data-vault-2-0-modeling-basics
https://www.talend.com/blog/2015/03/27/what-is-the-data-vault-and-why-do-we-need-it/
http://tdan.com/data-vault-series-1-data-vault-overview/5054

Books

There are some books on the market that are connected with DV (not too many though).
Here’s the list with them. All of them are worth reading, indisputably.

Building a Scalable Data Warehouse with Data Vault 2.0
Modeling the Agile Data Warehouse with Data Vault
Super Charge Your Data Warehouse
Agile Data Warehouse Design

I must admit, that the last book on the list is not directly connected with DV. it is more about how to use an Agile methodology in DWH projects. And DV methodology has a lot in common with Agile techniques.