Monday, 25 March 2019

Cloud Computing: The Downpour of Career Opportunities




Salut! As the article indicates, the cloud computing is booming field for Computer Engineers and Scientists. Cloud Computing is witness of its rapid development of journey from buzzword to ground breaker. What is actually Cloud Computing? In simple words, it is the combination of Distributed computing with backbone support of Virtualization. Speaking in terms of technology, it is mainly composed of three components:

Compute: Ability to give resources i.e. Memory, Disk Space, CPU Cores; for performing operations similar to that of physical machines.
Storage: To give storage capability for storing the large data in form of Object storage and Block storage.
Network: To link users among the network to create manual network and assignment of IP related to user defined networks.

These three things mainly work with each other through API communication.  Generally, most of us stuck at how to get started with Cloud computing as there are lots of Cloud floating around the Market. Before classification, we have to remember two things; Service and Source Code. So here are the types of cloud which can be classified mainly as:
     Private Cloud - Totally accessible only by user i.e. Service and Source Code
     Public Cloud -  Only able to use Services
     Hybrid Cloud - Having combination of features of Private and Public Cloud 
     Community Cloud - Cloud infrastructure that shares among many organizations.
Examples of Private Cloud:
   Eucalyptus, Openstack, Cloudstack, OpenNebula.
Examples of Public Cloud:
   Amazon Web Services, Rackspace.
Examples of Hybrid Cloud:
   Eucalyptus.
Examples of Community Cloud:
   Meghdoot; especially a community cloud by C-DAC.  
After this classification, I will prefer to use the Private cloud as it is having total user control from development to deployment. If anyone just wants to use services, the better choice will be the AWS (Amazon Web Service). If you want to make changes according to your taste into the cloud, you have to use Private Cloud like Eucalyptus, Openstack etc. The reasons I am supporting to Private Cloud are:
1.    User controlled behaviour i.e. setup  number of machine according to infrastructural capacity.
2.    Greatly economic.
3.    If open source in nature, gives flexibility to develop according to devloper choice.
4.    If used in an organization, user gets protection behind the firewall of that organization to their data.
5.    Deploy your code in your own infrastructures.
For examples of private cloud, we are going to see IaaS based Cloud examples. As it is not possible to explain in depth about each cloud, I will take overview of them on the basis of:
*      Foundation
*      Components
*      Developed in Programming Language It will help you get the things easily to move ahead.
A) Openstack:
In today’s world, leading private cloud service provider is the Openstack. Keeping pace of consistent and regular interval releases strategy, Openstack has now become rapidly developed cloud in short span of time. This cloud has been founded by joint venture of NASA and Rackspace to give a solid foundation of Private Cloud. After release of this, Openstack has attracted developers around the world due to which it has established significance of modular and collaborative development among IT companies. Among list of contributors for Openstack, following are topmost companies:
-       Ubuntu
-       HP
-       Intel
-       AT&T
-       Redhat etc.
Following is the list of not full but the main components of the Openstack:

Component
Codename
Programming Language
Compute
Nova



Python
Object Storage
Swift
Block Storage
Cinder
Networking
Neutron
Orchestration
Heat
Image Management
Glance
Identity Access Management
Keystone
Dashboard
Horizon
Openstack is fully developed using Python. So if one knows python, he/she can contribute to Openstack by learning basic cloud philosophies. More info can be found at: http://www.openstack.org/software/

B) Eucalyptus: 
I am putting Eucalyptus at number 2nd considering total number of people involved around the world. It stands for Elastic Utility Computing Architecture Linking Your Platforms To Useful Systems. It has been founded by University of California, Santa Barbara. The primary goal behind building of Eucalyptus was Amazon Web Services API compatibility. At the time of writing this article, Eucalyptus has reached to the version 4.1.0 with its features. Eucalyptus Inc. has recently acquired by HP Pvt Ltd. Now it belongs to HP. 
Compared to Openstack, Eucalyptus is not heavily targeted by industry people. Rather, it has good rate of growth in Academic area.
So the list of components for Eucalyptus is:

Component
Codename
Programming Language
Compute
Node Controller (NC)
C
Networking
Cluster Controller (CC)
Orchestration

Cloud Controller (CLC)


Java
Image Management
Identity Access Management
Object Storage
Walrus (W)
Block Storage
Storage Controller (SC)
User  & Admin Dashboard
Admin & User Consoles
Python

For Eucalyptus, you have to get familiar with C, Java, Python. More info on Eucalyptus can be found at: https://www.eucalyptus.com/eucalyptus-cloud/iaas  
C) Cloudstack:
I am putting Cloudstack at number 3rd as it is very less used by academician as well as industry. It has originally founded by Citrix Pvt Ltd. After creation, Citrix has tied up with Apache and launched its open source version known as Apache Cloudstack.  If you just want service, you can go to Citrix website and buy their service. 

The list of components for Cloudstack is:
Component
Codename
Programming Language
Compute
CloudStack agent



Java
Networking


CloudStack management server
Orchestration
Image Management
Identity Access Management
Object Storage
Block Storage
User & Admin Dashboard

As we know most of the Apache Software foundation projects are heavily dependent on Java, same story for the Cloudstack. More info can be found at:  https://cloudstack.apache.org/index.html. 
After the review of Private Clouds, we will now move towards important part of the article. Career opportunities related to the Private Cloud. Currently, these are the job profiles active in Cloud area of industry:
-       Cloud Administrator: Needs to configure Cloud and admin relate stuff. Provide answers to user queries in the organization.
-       Cloud Architect:  To design architecture of Cloud according to Customer, organizations including scalability, reliability and flexibility. 
-       Cloud Solutions Engineer:  To provide solutions to user queries; to provide documentation, solutions to that of designs of Cloud architecture either existing or under development.
-       Cloud Software Engineer: To develop products using analytical tools like Hadoop, HBase; to design and implement cloud related algorithms; design UI for these services
-       User Solution:  To support user by solving problems through remote help.

The sooner you will start contributing to Cloud Development area; greater will be the job opportunities for you. Now days, open source contribution prefers more to that of any certifications.
So, I believe you are now thrilled to get started with Private Cloud and build your own cloud!! 
Remember, these keys to remember to get started with IaaS based Cloud Private Cloud:
1.  Every communication is worked through API in Cloud.
2.  Each IaaS cloud basic requirement is Compute, Network and Storage.
3.  To learn any cloud, you must be clear with basics of following things:
-  Distributed Computing
-  Virtualization
-  Programming Language (if wanted to get started as Developer)         

You can start here to understand basic fundamentals:             
I have mentioned following resources for studying clouds mentioned above.           
Spasibo.

Resources:
     1.      Openstack:
*        https://docs.openstack.org/
For code: https://wiki.openstack.org/wiki/Getting_The_Code
  
     2.   Eucalyptus:
For code: https://github.com/Corymbia/eucalyptus
  
     3.   Cloudstack:
*        http://docs.cloudstack.apache.org/
Download: https://cloudstack.apache.org/downloads.html
For code:  http://www.apache.org/dyn/closer.lua/cloudstack/releases/4.11.2.0/apache-cloudstack-4.11.2.0-src.tar.bz2

Monday, 18 June 2018

Downloads Folder crashing in Windows 7

What to do when:

> Downloads folder is crashing after every 5 secs

> If you are opening any program from Downloads, it hangs and ultimately you have to end process
  from task manager i.e. explorer.exe
 
SO WHAT IS THE SOLUTION?

VERY SIMPLE STEPS to solve this problem.


Now you can freely access files in Downloads folder.

Thanks for watching !

When updates are not working in windows 7 SP1

When updates are not working in win7:
OS: Windows 7 SP1
Arch: x64

Download: https://www.microsoft.com/en-in/download/details.aspx?id=20858

Install it

Now reboot and check for windows update.
It will start working.

Error 80073712 in windows 7
> DISM /Online /Cleanup-Image /CheckHealth
> DISM /Online /Cleanup-Image /ScanHealth
> DISM /Online /Cleanup-Image /RestoreHealth

Friday, 15 June 2018

"application was unable to start correctly 0xc0000005" Python error on windows 7

I spend 3 hours banging my head against wall to find the exact solution.

Its not b but 5 at the end so it is not graphics driver issue.

Luckily, I have three Python versions installed on my system; one 32 bits and two 64 bits.

Here, culprit is corrupted Microsoft VC++ libraries(runtime)

Simple trick is:

To repair installation of Microsoft VC++ libraries through ADD REMOVE PROGRAMS.


Try to run python shell, it should work now.

[1] https://www.microsoft.com/en-us/download/details.aspx?id=48145&751be11f-ede8-5a0c-058c-2ee190a24fa6=True

[2] https://stackoverflow.com/questions/9047072/windows-python-version-and-vc-redistributable-version/41582303



Wednesday, 13 June 2018

Solved : Solution of AmazonBasics Wired Keyboard Function keys not working

It is because windows service is turned off.  Follow the procedure and your all function keys and other shortcut keys will start working.

Restart the HID Human Interface Service

To fix this problem yourself, follow these steps:
  1. Open Microsoft Management Console (MMC) snap-in for Services.
    • In Windows Vista or Windows 7, click Start Start button, type services.msc in the Start Search box, and then press ENTER.

      User Account Control permission If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
    • In Windows XP, click Start, click Run, type services.msc in the Open box, and then click OK.
  2. In the list of services in the Details pane, double-click HID Human Interface Service, and then make sure that the Startup type is set to Automatic.
Now check the AmazonBasics keyboard you will see your keyboard working state.

Thanks for reading.








SBI and IBPS SO Topics

Data interpretation

Averages

Time,speed and distance

Mensuration

Interest

Percentage

Algebra

Time & Work

Approximation

Profit and Loss

Partnership

Ratio and Proportion

Mixture and Allegation

Saturday, 12 May 2018

Getting error while installing pip or setuptools

Python has weird as well as awesome tool known as pip.

Main precaution to take care is never ever leave half baked python packages installed as they are main reasons for dependency problems.

https://stackoverflow.com/questions/16144934/trouble-install-pip-windows

pip can be upgrde or downgrade using same command:

python -m pip install --upgrade boto3

It looks like a bug in pip where it's assuming its metadata is stored as UTF-8. Instead, your username appears to be encoded as "windows-1255".

You could try the following:

File "C:\Users\name\ AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 1616, in get_metadata
    return self._get(self._fn(self.egg_info, name)).decode("utf-8")

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf2 in position 22365: invalid continuation byte
You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

https://stackoverflow.com/questions/35510743/error-while-upgrading-pip-unicodedecodeerror-utf-8-codec-cant-decode-byte

1. Backup: C:\Users\name\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\_vendor\pkg_resources\__init__.py
2. Goto line: 1616
3. Change utf-8 to mbcs.
4. Re-run upgrade