## How I observe deep machine learning every day

Today I asked few random questions to my son

Like what is love? He answered a hug and hugged me.

What is sky? He replied “Outer space & sparkling stars” and then started describing rocket, I didn’t ask what space is though.

What is moon? Cloud is moon I followed up how can is it so!! He replied by showing a moon behind the cloud.

What is a meal? My son readily answered meal is MacDonald, in fact we usually order a “Happy meal” for my son almost always if we go to a macD.

In fact he has a very different answer for lunch- for him it is fish & rice usually those are the common items in his lunch.

What is a movie-a giant TV and popcorn.

What is a cartoon – he said cartoon is charging and explained “you charge the tab” he usually watch cartoon in a tab and in fact it drains too fast.

What is a video game- TV with more controls.

And the lists go on… all the responses are based on his own experiences and learnings so far, he has just entered in his 4th year of his existence.

He is able to identify objects in any picture sometime do mix-up few shapes with certain known shapes but the number of wrong identification is getting less by day.

I don’t see a complicated logic/algorithm in the process of his learning things or conceptualizing and associating context to objects and nouns, he is more expressive & comfortable with his body language than making longer sentences to define things.

I can see a very prominent pattern in his way of learning how he is making a pronunciation perfect, I am almost certain that if we would have counted the number of times he has said a specific word like “water” from the very first day he started asking for it or the thread of interactions,
that would have provided a very understandable meaning full space time data of how he has learnt to say “water”, in fact where he has learnt to say “bye” in his house at the main gate for sure, how many times he heard/watched us to say that word before he associated that word with a specific action?

His sentences are simple in most cases combinations of simple nouns and verbs in few cases he has just started using few adjectives “very”-good, “soo” big.

In fact it’s really interesting to watch how he is making sense to a word which is really beyond his age grade like what is “India” I asked once, his grandparents were going back to India and I asked what he gonna do next? he suggested to bring new “Dadu/Dida-grandmother/father” from India so I asked what is India? And he promptly replied “it’s a Home” I think you can connect the dots how he came into that conclusion.

These are the few facts I understood – I do not have very specific explanation to all of my understanding!!!

1. Learning is very data intense mechanical process not very complex algorithm involves at least for a kid.
• I am not talking about speech recognition
• Voice modulation
• Understanding of sentence or grammar those are definitely a field of complex algorithm
2. Understanding or learning is not realization, machine can learn but can’t realize. AI is not the answer to true realization learning, rapid learning, indexing processing and fast retrieval is resource intensive operations which can be made available to machines.
Human being can realize at certain point that there is something beyond all our learnings.
For machines there will be no realization.
3. If you want to make the learning process quick it require complex algorithm but that would always fails on the other hand feeding data & more data associating context from its own experience make a learning perfect and definitely it require time advance science can reduce the learning time to a minimum by providing more resource with efficient throughput.
4. No algorithm can make a general shape of a cat; its only millions of cats pictures can make it perfect same for any shape or object identifications.
5. Memory bit is multidimensional array which store time, space and bits of information of all the sensory receptors very efficient way, the way human brain index, normalize data, huge data that will still remain a challenge for at least next 10 years and eventually big data will have an answer.
6. More memory bits more correct & meaningful sentences.

## Freedom of X

I just found an old notebook while shoveling snow from my backyard,  not sure how old it is? or who has written it ?there are few highly suspicious psyche lines (I suspect written under herbal influence). I am sharing few lines to find out the retard (A*#H&*Le)if one can identify these few lines of yours please contact me

Following are not my opinions only a copy of the notebook I found in  my backyard.

Many incidents adrenaline rush and tons of e-motions, words and I have lost my mind, I think it’s time to re-define my understanding, are we in the same page?

Disclaimer – Similar to 99% of Facebook population I don’t have much knowledge on Indian constitution, history of Kashmir or Indian politics.
If you think the percentage is less than what I have mentioned, you definitely belongs to the rest 1% so don’t get offended.

All this moral & morality only for one section of the society –  heavily taxed middle class consumers.

Poor don’t have morality simply because they can’t afford it (and they don’t have smart phone) and rich don’t care.
I don’t know of any rich with high respect to morality or vise-ve.
They usually are high either from power, money, sex or simply because of they are high (joy guru).

Freedom of X (X= Sex, Smoke ,drink, speech,expression,  urinating in public, watching and practicing porno, returning awards, candle march, public kissing & “hok kalarab” etc…)-

You are free to X if you keep it to yourself. Your freedom of X is my pain in ass, unnecessary upload and download in Facebook, my monthly quota of data goes through severe budget limitation.
Your freedom is your responsibility keep it safe in your bedroom and bathroom its precious if you practice it in open any one can snatch it from you. Don’t curse Modi Ji it’s basically “Tumi choriyecho”.

Tolerance-

India stand no 1 in tolerant when they allowed “Dilwale” to reach 100 crore marks.West Bengal has proven an intellectually motivated inclusiveness by allowing “Deb” to become one of the winning candidates.
There are so many other examples but these are the two times when “Babar Prasad” consumption reaches all time high in India, specially in West Bengal so much so- authorities were considering letting it go legal by making it taxable.

Intolerance-

Billions of people everyday fighting for a space in bus,auto, train & especially in facebook but boundaries remain same,  monthly data consumption, internet charges and no of public transportation, toilets and political parties remain same.
So I will throw stones if you don’t allow me into ladies train.
I will do soo-soo on any place I think providing me my humble privacy.
I can walk miles naked with cloths on my shoulders just to find a dressing room.
Intolerance is the same struggle Darwin has advised long ago and it is obvious for our existence.
To my Indian Cows and Pigs, congratulations on your political alliances with Hindus & Muslims you two manipulative species got an upper hand over struggle for existence, way ahead of the race bro.

Condolence to my chicken brothers either change your appearance or go back to time and change Indian mythology a little.

But no way out for my mickey mouse friends who can help them? History has proven time and again alliance with God (Ganesha) not enough you shouldn’t have messed with our food bro.
We have to kill you- billion dollar industry to protect.

Do we continue to offer sweets if God really eats it all?

Kashmir-

History is irrelevant madam Arundhati Roy, it really doesn’t matter if it’s not part of India, it’s certainly not a part of Pakistan, Kashmir can’t sustain of it’s own and it’s not possible that that piece of land will walk away and place it self in the middle of Atlantic sea, its strategically, politically critical to keep Indian’s strong hold in that piece of land to ensure our security from Russia, Pakistan & China.

It doesn’t matter what history says or people of Kashmir thinks.
They have two choices either survive with poor economy or invite  Kapoor family to shoot “Kashmir ki Kali” part 2.
This place has a potential to become Bollywood studio hub – its natural scenic beauty & cheap extras like now domesticated but former terrorists can boost up the employment rate.

Democracy or socialism people don’t count they are fragments.

Anti National-

Anti National is intellectual, Sentimental Vote bank and  JNU or Jadavpur students will never fight for India at border because that’s a no brainier (once they are recruited on campus they gives a damn and rest will be busy with MBA or MTECH ) and in fact Indian army don’t afford to have radical thinking, brain don’t take orders it generates it.

Brain and intellect can rebel, can destroy or creates but can’t take order.
War is a failure of logic, it’s not fight between right and wrong or good & evil it’s because we thought kattappa is a good man and I didn’t keep patience  for Baahubali part 2 .

Men fight at border because they can take order and don’t process it (Logically).

## Azure to On-Premise (S2S) VPN- How to build & configure a Lab

I like to maintain a good and extensive lab, a good working lab is peace of mind and you know it will work with any future experiment.

Hybrid mode of cloud is most challenging and critical where pieces of your application are running in on premise as well as in external cloud, each one complement other.

Many things are involved to do the first handshake between your local and external networks virtual or physical.

Things require starting

1. Azure subscription (subscribe for trial if you don’t have one)
2. Knowledge of networking & TCP/IP protocol (just the basic)
3. A minimum familiarity with concept of cloud and azure portal
4. A good workstation- we will depends heavily one virtualization(I would recommend anything beyond 8GB of RAM and minimum 8 virtual core find my blog about the workstation I created few months back)
5. Windows 10/8.1 or Any Windows server -2008R2 or beyond as Host (I have windows 10 as host)
6. A little bit of luck (yeah so many things can go wrong specially in case of Microsoft)

Things to Do

1. Creating & configuring local (on premise) network
2. Creating & configuring local Azure VPN
3. Making the handshake between two network

Note: Using PowerShell script is much cleaner, quick & easy but for the purpose of this lab setup is to understand where & how changes are taking places.

Creating & Configuring On-premise network

1. Install Virtualization platform (I have used Hype-V but you can use Virtual box/VMware too)

1. BY default Hyper-V is disabled. Go to program and features and find Hyper-V by clicking “Turn Windows features on or off”-Once its installed open “Hyper-V manager” it will look like this
2. If you want to change the location where your virtual machines will be saved, click Hyper-V settings and change the locations.

2. Now before going into provisioning VM and configuring Hyper-V further, I would like to explain about our home network

1. Generally we do have an ISP (like in my case its Comcast) and a router (I got a cisco router from my ISP)
2. Our ISP has its own DNS server which gives me my networks public IP, basically the WAN IP address. You can find it by login into your router/modem configuration site (10.0.0.1). In case of Comcast you will find this IP under “XFINITY Network”.
I didn’t mention WAN IP address which is my networks public IP for security reason.
3. In fact 10.0.0.1 is my local network gateway IP… have a look at the screenshot it shows a very close picture of my home network.
4. In my case ISP provided router and modem in same box and it’s been protected by a firewall- have a close look into the picture-
it’s also shows my lab network build on top of Hyper-V inside my workstation.
3. Once you go through the diagram we can go back to configuring Hyper-V and provisioning VM’s
1. Before creating our first virtual machine we must create at least one virtual switch, a bridge between the virtual network adapter on VM and the physical network adapter on host.
A Hyper-V VM has no way to connect to network without this bridge. The image below shows how a VM connects to network:
2. Click Virtual Switch Manager
3. Then Create an external Switch
4. Name your new virtual switch as you want to, select External network and using the drop down list, select a host network adapter you want to assign to this switch, click OK.
5. Then in the same way create an internal virtual switch which can only be used by virtual machines we are going to provisioned for our lab environment, this switch does not provide connectivity to a physical network connection.
6. Then create 3 Virtual Machines

For this example I have downloaded 180 days trial of Windows Server 2012R2 (you can use Standard edition with GUI during installation).

Then start provisioning VM through Hyper-V – follow the wizard of provisioning VM and enter all the details it will ask for,
pretty straight forward, but few things to remember- like choose “Generation 2” if you want to install 64 bit version of the guest OS,
during configuration of Networking choose
“External Network switch”  we created earlier later we will add “Internal Network switch” to each of the VM’s

Once everything looks good start provisioning VM and then connect the VM’s, I have created 3 Servers, as mentioned in the network diagram one for Domain controller, one for “remote Access & routing” and another one just for basic operation. The idea is to use the Router server as my Default gateway for this local lab network

7. Let’s configure the Server which I picked for domain controller

Configure the “Ethernet 2” network adapter which is internal network switch like bellow.
Keep the “Ethernet” external adapter settings default because my home local network will assign default IP’s to them

Go ahead and configure the DNS server and create a local domain “mylab.local”

Don’t forget to make this computer discoverable in local network and then restart

Note:
Configuring a VM as a DC is not a good practice follow this link to know more.When domain services are installed, one of the first things they do at boot up is disable all disk write caches. ALL disk write caches. If your domain controller is also your hypervisor, that means that all your VMs will lose write cache capabilities. Hello, needlessly long I/O queues.
I set the VM disk and image in a separate disk than the one my workstation is using

8. Let’s start with Windows server as router Windows Server can be used as a router in situations in which purchasing a hardware router is not a practical option. Using the Windows Server router can be especially effective in virtualized environments in which virtual machines reside on
a number of different virtual networks.

Domain join this server keeping the previous VM configured as DNS server (192.168.1.2) and change the workgroup to mylab.local

Add Remote Access role, Direct Access and VPN (RAS) and Routing role services.

After restart I launched the Routing and Remote Access console by selecting the Routing and Remote Access option from the Server Manager’s Tools menu.
When the console opened, I right-clicked on the name of my server and selected the Configure and Enable Routing and Remote Access option.

Clicking Next caused Windows to display a list of components that could be enabled. I chose the LAN Routing option. In many cases the NAT option will also need to be selected in order for the network endpoints to be able to access the Internet.  I then clicked next, followed by Finish to complete the wizard. Upon completion, Windows displays a dialog box containing a Start Service button that you must click in order to enable routing.

I have already completed configuring the same

Next Step will be create a new Demand-dial interface but before that there are few basic things needs to be taken care at local network and Azure VNET needs to be created

4. Firewall & Port managements

1. Remember this is a lab network so we don’t want any trouble for firewall restriction so best approach is to switch off windows firewall for the router Server.
Command:Netsh advfirewall set allprofiles state off”, To restore back use “Netsh advfirewall set allprofiles state on”
2. But in case you need specifics about the port needs to be opened bidirectional here are the details
If RRAS based VPN server is behind a firewall (i.e. a firewall is placed between Internet and RRAS server), then following ports need to be opened (bidirectional) on this firewall to allow VPN traffic to pass through

For PPTP:

• IP Protocol=TCP, TCP Port number=1723   <- Used by PPTP control path
• IP Protocol=GRE (value 47)   <- Used by PPTP data path

For L2TP:

• IP Protocol Type=UDP, UDP Port Number=500    <- Used by IKEv1 (IPSec control path)
• IP Protocol Type=UDP, UDP Port Number=4500   <- Used by IKEv1 (IPSec control path)
• IP Protocol Type=ESP (value 50)   <- Used by IPSec data path

For SSTP

• IP Protocol=TCP, TCP Port number=443   <- Used by SSTP control and data path

For IKEv2

• IP Protocol Type=UDP, UDP Port Number=500    <- Used by IKEv2 (IPSec control path)
• IP Protocol Type=UDP, UDP Port Number=4500   <- Used by IKEv2 (IPSec control path)
• IP Protocol Type=ESP (value 50)   <- Used by IPSec data path

3. I am not sure if only enabling port forwarding in my ISP router would have done the job or not, but enabling port forwarding, that can create dangerous backdoor, so I specifically mentioned the port and the connected device in this case my routing server at ISP router configuration page (in my case I enabled the port forwarding in my router for the entire period of my testing and then disabled).

Creating & Configuring Cloud  Network

1. Let’s start creating Azure VNET- it’s pretty straight forward in fact we just need to create the VNET for the S2S VPN test you can add VM later one handshake between Azure VNET and local network is successful.

1. So actual plan is to create a Virtual network at cloud like local with 2 Windows 2012R2 server one will be a DC for my cloud VNET. Find a detail of creating VNET in this blog
2. Here I will only show you the final configuration page of the VNET and explain the IP range and gateway. No special reason for choosing this starting IP or range but this is class C IP which is same as my local network.
Note: Class C networks use a default subnet mask of 255.255.255.0 and have 192-223 as their first octet. The address 192.168.111.0 is a class C address. Its first octet is 192, which is between 192 and 223, inclusive. Do create minimum two subnet and name one of them “Gateway”.
3. The first thing network wizard will ask for is the DNS server so if you plan ahead then you can understand if 192.18.111.0 is the starting IP address then usable address range start from 192.18.111.4, with that understanding I will configure the DNS server like below
4. During VNET configuration choose the option for Site-to-site connectivity VPN device IP address will be the public IP provided by your ISP which you can find my typing “MY IP address” in google from your home computer, do confirm the same by going to your ISP provided modem configuration page explained at the beginning of this article. Regarding the address space it should be as per the local on premise network I have created 192.168.1.0/24.
5. Once VNET provisioned download the VPN script during download it will ask for few things, choose accordingly.But we will not execute the script we will look at it for pre-shared key.
Vendor:                          Microsoft Corporation
PLATFORM:                  PRAS
OPERATING SYSTEM: Windows Server 2012 R2

6. This script supposed to do few things which we have already did other than the last step mentioned below
1. Install RRAS
2. Add a Site-to-Site VPN Interface
3. Restart the RRAS Service
4. Create a Dial-In to Azure Gateway-this step is pending
7. Open the VpnDeviceScript and copy the SharedSecret
2. Now let’s go back to our on premise lab and login into our routing server to complete creating a new Demand-dial

a. Start Demand dial interface wizard and give a name to the interface
name (best practice is to give cloud VNET name)

b. Connection type set to VPN

c. Next set the VPN type to “IKEv2”

d. Enter Azure VPN Gateway IP that you have created on previous step

e. Tick Route IP packets on this interface

f. Enter Azure Virtual Network information

g. On Credential, leave it empty. We are going to set pre-shared key
later, then complete the wizard.

h. Modify the demand dial interface. Go to security tab and set to use
pre-shared key we took note from VpnDeviceScript

i. Then Try establish connection from PRAS and connect on Azure
portal

j. Finally checked the VNET dashboard and YESSS IT’S A SUCCESS!!!

k. We can proceed further and provisiined a VM in the same VNET at
cloud and check if we can ping the local DC from cloud

l. And same from on-premise to cloud VM

## Collective Consciousness & Internet

The world reads news together. The world listens to music together. But can the world feel together? And furthermore, can this shared awareness – this collective consciousness be made available for any benefit?

We have just entered into the era of big data, processing of large amount of unstructured data seems not to be a challenge anymore, rather processing efficiency, getting meaning out of chaos are the fields of focus.

Various source of information’s- social media, visual & audio & print media all have internet presence.
Information gathering, processing and identifying a meaningful pattern not very unfamiliar practice, many nations using the same technique to identify a potential threat, media using the same technique to understand poll results in advance.

But question if internet can gain its own consciousness? Whether it can influence us back?

As an example what is “trending” or “Viral”?  A video can’t make itself a viral video, one point of time we choose to see a video only because somebody else has tagged it as “Viral”.

In 1999-2000, Richard Glen Boire provided a cursory mention and the only occurrence of the term “Virtual collective consciousness” in his text as follows:

The trend of technology is to overcome the limitations of the human body. And, the Web has been characterized as a virtual collective consciousness and unconsciousness

—Richard Glen Boire, Journal of Cognitive Liberties, 1999/2000

There is a concept Virtual Collective Consciousness (VCC) not so OLD.
Virtual Collective Consciousness (VCC) is a term rebooted and promoted by two behavioral scientists, Yousri Marzouki and Olivier Oullier in their 2012 Huffington Post article titled: “Revolutionizing Revolutions: Virtual Collective Consciousness and the Arab Spring”, after its first appearance in 1999-2000. VCC is now defined as an internal knowledge catalyzed by social media platforms and shared by a plurality of individuals driven by the spontaneity, the homogeneity, and the synchronicity of their online actions. VCC occurs when a large group of persons, brought together by a social media platform think and act with one mind and share collective emotions. Thus, they are able to coordinate their efforts efficiently, and could rapidly spread their word to a worldwide audience.

I am expecting great many social app in the market in next 5 years, which will take various advantages  of this concept, I would really like to see how it will benefits humanity.

Things to remember when Newton said gravitational forces pulling matter towards their center and provided calculation which is correctly predicting position & velocity of concentration of a mass with tiny accuracy that was just an information nothing else.
But when Einstein said it’s the space time geometry which governs how a mass will move and it is the mass which dictate the geometry of the space and speed of gravity – that is a true knowledge.

Just collection of information and producing beautiful graph or pattern only leads us to better visualization which is far away from realization.

## Hints of Reality-Question to answer first!!

“Dreams are real as long as they last. Can we say more of life?”
Havelock Ellis.

We perceive reality internally, inside our brain and collective information from our senses influence rather helps to understand very nature of the reality.

before answering all other fundamental questions about our existence, space-time and matter we need to understand that inner self which we trust with honesty of our understanding.Which observes everything through all of our senses.

So to know the reality I, who has started this process will try to explain what I know about myself-Who am I?(next blog in this series).

Let’s face a mirror and think you are the proud employer of your reflection in the mirror.Treat your reflection as your master, information your senses are receiving, each new experiences you are going through, you are entrusting your master with all the information.Your master translating every information for you.Do you trust him? if he deceives you,even once!!

“Whatever I have accepted until now as most true has come to me through my senses. But occasionally I have found that they have deceived me, and it is unwise to trust completely those who have deceived us even once.” René Descartes.

Dreaming provides a springboard for those who question whether our own reality may be an illusion. The ability of the mind to be tricked into believing a mentally generated world is the “real world” means at least one variety of simulated reality is a common, even nightly event.

Those who argue that the world is not simulated must concede that the mind—at least the sleeping mind—is not itself an entirely reliable mechanism for attempting to differentiate reality from illusion.

A Brief about Sense and Consciousness
Our knowledge of all the senses is very incomplete and unsatisfactory, especially with regard to the neural and mental processes that are an essential, perhaps the major, keys to understanding consciousness. Anatomical and physiological knowledge of the structures of the nervous system is detailed and rather complete, but furnishes only the slightest clues to the operation of the senses. Empirical knowledge of how the senses behave is extensive, but it only describes and does not explain.

There seem to be few areas of modern science so important and interesting to us in which the fundamental knowledge is so incomplete.

The senses should not be studied in isolation from one another, since there are surprising connections as the result of the mental processes of consciousness. The senses do not interact solely with consciousness, but also with subconscious and involuntary responses to the environment.

Most of the sensory cells seem to be descended from ciliated primitive cells that would have been unusually active and became included in associations to take advantage of their responsiveness. There are no simple senses that directly interact with consciousness.

The functioning of the brain will never be revealed by the scalpel, balance and micro-electrode.

The senses cannot be understood except by careful separation of the physical and objective stimulus from the mental and subjective perception. We cannot be directly aware of the properties and qualities of external objects, though our language and thinking often identifies an object with its perception. An object cannot, of itself, be red, nor a solution of sugar sweet: these are essential perceptions within ourselves

The subjective experiences of the consciousness are created by dynamic mental activity based on sensory information combined with memory, and all of these three factors are necessary. This includes things like colors, smells, tones, flavors, recognition of faces, and pain, and indeed the world we see. All the senses are simultaneously in action, and our consciousness is dominated by perceptions. How these perceptions arise is completely unknown, a mystery. If it were known, we would be able to describe what red is, how salt tastes, and what a major chord sounds like. All we can do now is assume we all have the same sensations and describe things in terms of them. This is probably a pretty good assumption, and we can even detect slight anomalies between individuals when they occur, but it leaves a nagging doubt and a thirst for knowledge.

## Hints of Reality

As we know, there are known known’s; there are things we know we know. We also know there are known unknowns; that is to say we know there are some things we do not know. But there are also unknown unknowns—the ones we don’t know we don’t know. Donald Rumsfeld

There are certain fundamental questions, very fascinating, but far from reaching a conclusive truth. Each of the answers hold keys to the actual or ultimate reality.

What is reality, what is that one truth of which we all been derived?

None of the popular science book or article ever given me a straight answer.
Questions like

1. Why we exist?
2. Who (or What) has created us/ who (what) has created everything?
3. Who (or What) has created the creator?
4. Creation of everything from nothing!! Why there is something rather nothing?
• Who am I?
1. What is the true nature of all the objects we experienced every day.
2. how matter gets mass?
3. How gravity works? (yeah not fully understood even after more than 100 years of general &special relativity been put forwarded )
4. Why the values of all the fundamental constants in physics possessed the values been measured in laboratory?

And I have realized there is no shortcut to it, to know the fundamental truth you have to learn and understand fundamentals of human understanding so far, though our understandings has basic flaws, but that’s what you have and that’s where you have to start.

Pieces of the answers has been scattered around various places…Upanishads, Special & General relativity, Quantum Physics etc… You will find a very strong sense of similarity, something out there constantly trying to hide the reality.Which has made things very interesting, an never ending exponential growth of human awareness and collective elevation as an unique species.

Its becoming an addiction for me to see how close we are, are we asking the right questions.How do we know an answer is right?

So before we grasp the true potential of the facts, one needs to redefine the regular concept of knowing, different ideas of knowing will give you different level of awareness. To keep it simple, best way of knowing would be to divide it in 3 different phases-

1. Listening or Receiving- the approach should be how bizarre the content is keep receiving, never stop the source of knowledge being reaching to you.And be patience,
2. Digest & Convinced– try to convince yourself with the new idea knowledge you just received, ask question no matter how stupid it is, experiment, argue and finally agree or disagree.
3. Realization &Conceive -And if you agree with the new idea backed up by solid logic and experiment start the process of realization.

Most of our knowing ends in the 2nd phase, you can’t never realize 4th dimension or can you picture it?

With this understanding of knowing, let me tell you what I have found..

## Creating SharePoint 2013 dev environment in an hour

Creating SharePoint 2013 development environment in a hour.
Please consider this write-up as a step by step guide to jump start SharepOint 2013 development with the help of windows azure.

Definitely this is not the best way of doing things and certainly best practice has not been followed, but it will help you to roll things fast.

There are several things needed to create a Sp 2013 development environment.

Software:

1. SharePoint 2013
2. Windows server 2012
3. SQL Server 2012 or later
4. Visual Studio 2013

Hardware:

1. A proper development domain (if not a standalone installation)to create very basic SharePoint farm.
1. A V-Lan
3. Database server And
2. Machines with more Ram than you have used with your sharepoint 2010 environment, but I am not going to give much detail, because it isn’t require.

And Windows Azure Subscription, it’s best if your orgnization can provide you with a MSDN subscription.

Steps to create development environment

Creating the Sharepoint Farm

1. You need to go to https://manage.windowsazure.com and login with your live id associated with the windows azure subscription/account.
You will be presented with a screen like this
2. Then we need to create a Virtual Network

Next it’s time to provide your DNS server information

GO ahead and provide DNS server information, but there is a little trick here…
in the next page you need to provide the ip range for the network and you don’t know what is the IP address going to be associated with you DNS!!
Simple way of doing this isto assume that the first machine you are going to join into the network will be your DNS , if you calculate the address space starting IP prior to enter the IP for the dns it will be an easy guess.

This is the next page how it going to look like

Here is the actual network configuration I have used to keep thing simple.

You can see the the Starting IP is 10.0.0.0 and I have kept Subnet starting IP same so I can safely assume that the first machine which I am going to add to the network will pick up the ip 10.0.0.4 (look into the usable IP range between 10.0.0.4-10.255.255.254).

Please be little careful once a V-Lan is created and machines  been provisioned it’s hard to modify the DNS IP.

Next create a storage account which is required to provision virtual machines

and now it’s time to create your first VM which you are going to configure as DNS (as well as AD to keep thing simple and small).
Go to the image gallery and pick an image, I just needed a small instance of Windows 2008 R2.

Then fill up a list of information in the next page

Let me explain all the fields and it’s little different than what is been shown in the picture.

Cloud service DNS name is basically asking for a unique domain name which will resolve a VIP-virtual IP, which will remain same throughout the lifespan of the machines you are creating.

Virtual network subnet as per my network configuration will be 10.0.0.0/16 and certainly you have to specify the virtual network name you have just created.

If you scroll down you can see a place to give username/password, which will allow you to remote login to the machine as administrator.

And hit the ok button of the wizard you are done it will start provisioning your machine and within next 5 minutes your machine will be up and running.
Waite until all the tasks finishes successfully and try to connect to the machine.

If you press the connect button it will let you download an .rdp file. And you can use that rdp file to remote login into the VM.

But do remember if your machines (laptop/desktop) are under a firewall (corporate) you need to open the outbound connection to the ports used by the endpoints of the VM.

Do an ipconfig and check if the IP assigned to the machine is as you have expected.

Creating & configuring DNS and AD is as usual just choose the specific roles for the server and follow the wizard. Put a domain name suitable for you, my domain name is myexperiment.dev.com.
Google it and you will find lot of good article for that but do not follow all the options mentioned, only follow the default minimum to go along with the wizard.

Now it’s time to provision another VM to the network as database server, we have to provision the machine and then we can domain join it.

Go to the image library and choose any of the options mentions in sql server category.
I have chosen sql server 2014 RTM.

Once it’s been provisioned login into the machine and replace the default domain (workgroup) with the domain you have created just now and restart.

Enable the network discovery and printer sharing option.

And do not forget to create an inbound rule for 1433 port in the firewall.

It’s better to create domain user other than default local administrator in the AD and add that user to the sql server logins and give the user proper permission to the master db.
And now finally it’s time to create the last VM which we are going to use as our development machine and certainly it requires that this machine should have Visual Studio 2013, SP 2013 with all the pre-requisite and patch properly installed,

For that we just need to choose another very useful image from the gallery

In fact this image is alone enough to kick start your development environment for SP 2013, please read the short write-up in the right.

Once this VM will be provisioned and domain joined you just need to run the SharePoint 2013 configuration wizard for a farm installation and since then it will be very straight forward, once you will remote login you can see a SP configuration wizard link has been kept in the desktop along with a link to open visual studio 2013.

Voila!! Fire the configuration wizard put the db server name and db user credentials you have created in last couple of steps and wizard will do the rest for you.

Note: to keep the cost low once you are satisfied with your quest just shut down the machines from windows azure portal (not from the VM’s itself) and it will stop charging against your account.