Category Archives: Containers

Learn freely Basics of Agile/DevOps/AWS

Folks, Greetings and welcome to this Group.

Through this group you can learn the following by self/free [there are several videos from the past sessions of IT working professionals]:

https://www.facebook.com/groups/817762795246646/announcements/

1. The concepts of Agile/Scrum
2. The concepts of DevOps
3. Git/Jenkins/Docker Installation/operation
4. AWS Basics.
1. Apart from the above learning, if you want to try the latest Cloud/DevOps positions in the global market these are not enough in the current global IT market for Cloud/DevOps Role.
2. You need to learn the complete Infrastructure design activities and its implementation. After that you need to learn the IAC Code writing. 3. Then you need to learn the Cloud related DevOps processes/tools towards deployment. You also need to learn the Kubernetes [K8] which is there for Containers Orchestration and for cluster management in Cloud and this is future focus to save the infra/deployment cost in IT. 4. All these will be coached in my advanced Course. 5. To know these details, please visit the blogs/video in URL: https://vskumar.blog/…/the-goals-for-cloud-and-devops-arch…/.
6. Interested people can contact me to join the course after studying the blogs/video in depth.
7. Please note; this is not a typical training. You will be working as a project team member to do the project tasks and give a demonstration.
8. We also evaluate the people on their keen learning/hardwork/grasping power/flexibility/adoptability/self learning.
9. This course will go upto 6 months on a weekly 4-6 hours of my sessions duration and your 10+ of self practice efforts on project tasks.
10. You will be delivering weekly some POCs along with the other members.

Good luck in your Cloud/DevOps Journey.

Cloud: What IT roles can vanish with Cloud transition ?

What IT roles can vanish with Cloud transition ? 

If you are in the below roles, in the current recession you will be targeted for pinkslip among the IT professionals as 1st exit group. What you need to do on your career replan. Please see/follow the blog/videos with patience. 

As per my observation and practice with the trending technology [Cloud], all the Cloud services vendors have inbuilt serverless computing for many services. The following roles are going to be vanished or reskilled. But if they are kept under recession staff cut, these professionals need to take care of their career.

1. DBA:–>The DBA tasks are embedded as part of these services. So the DBAs used to sit hours together in the past to perform many mundane tasks. Now these all are automated.

2. Similarly, many other tasks are related to infra roles; Network admin/Sys-Admin are also automated through Cloud services.

3. As a consolidation all these 3 roles are clubbed into one role of Cloud Engineer. This role’s major task is to automate all the Cloud setup related activities under IAC[Infrastructure As Code]. In future only the IAC will sustain to save the cost to IT by automating the cloud setup creation activity.

4. If any professional need to compete with this role means; they need to understand the Infra needs and the past roles tasks in depth. Along with the multiple Infra related architecture scenarios, with in-depth knowledge on Cloud technology. Then only they can analyze the IAC requirements clearly to write the code and test it. This is the domain analysis and design activity they need to consider apart from the Cloud technology learning.

5. We can also see the Storage engineer role. All the Cloud vendors have the Cloud Storage services. With them mundane tasks creation/maintenance is vanished. Hence this role also will not exist.

IT-infra-Roles

IT-SDLC-Roles

The below video has the discussion on: A) What IT Roles can vanish after migrating to Cloud? B) How the roles/tasks are being transformed to Cloud through serverless computing technology ? C) Why anybody can learn and do the past Infra roles with Cloud ? D) What all they need to learn ? E) How the organizations can demand an employee to convert into modern technology before taking a decision for a pink slip serving ?
Finally, what are the following roles and their tasks:
Traditional Infrastructure building roles:
1.Network Admin/Engineer
2.System Administrator
3.Database Administrator
4. Deployment Engineer

Technical Roles:
1.Developer
2.Test Engineer/Analyst

F) Among the above which role can pickup faster the Cloud/DevOps Automation technology ?
G) Then How these roles can perform in Cloud  with faster deployment ?
H) Why and how the manpower reduction happen after Cloud implementation ?

I) Why do you need to learn from the experienced IT mentors to transform into modern technology ?

K) Some people say, they can learn by self. How much they can learn and cope-up with the current market needs on various technologies to settle in modern technology ? [refer to point#5 in this blog].

L) Why do you need to spend/invest  more money to re-settle in the modern technology ?

Note: Along with this video, there are multiple blogs I have published with Videos links to make awareness to the IT Professionals. You see those blogs from this site itself.

For further understanding please read the below text:

In the current IT World Cloud computing became regular practice for any IT Professional. Any cloud services we use, we need to know the current/traditional infrastructure setup. But every IT professional may not have that background/knowledge to understand. Because in this industry each of us played  different roles.

The Infra activities handled IT Professional only will come to know this knowledge and will have experience. But the industry needs every IT employee need to know this knowledge apart from the Cloud service provider [Ex: AWS, Azure, GC, etc..] products operations. [Eventhough, if you are a certified Solutions architect with that Cloud service provider.]

Then only whoever the professionals are certified they will be able to use these products/services and implement them under cloud setup. Hence the Infra domain knowledge or experience is mandated for every IT professional who is working for Cloud services or in that infra setup. I have been hearing during Cloud professionals recruitment the interviewers are keeping some questions on this area also. If one understand the Network domain setup then only they will be able to design the Cloud architecture. Hence more employers are worried to have this domain knowledge with the Certified and recruited Cloud professionals.

I have started a Cloud Practices group to educate/share the IT professionals with this domain knowledge. The below link can be used to join/apply:

https://www.facebook.com/groups/585147288612549/about/

 

Note:

 

Why do you need to learn from Infra domain knowledge as certified Cloud Professional ?

Benefits of CloudWhy do you need to learn from Infra domain knowledge as certified Cloud Professional ?

 

In the current IT World Cloud computing became regular practice for any IT Professional. Any cloud services we use, we need to know the current/traditional infrastructure setup. But every IT professional may not have that background/knowledge to understand. Because in this industry each of us played  different roles.

The Infra activities handled IT Professional only will come to know this knowledge and will have experience. But the industry needs every IT employee need to know this knowledge apart from the Cloud service provider [Ex: AWS, Azure, GC, etc..] products operations. [Eventhough, if you are a certified Solutions architect with that Cloud service provider.]

Then only whoever the professionals are certified they will be able to use these products/services and implement them under cloud setup. Hence the Infra domain knowledge or experience is mandated for every IT professional who is working for Cloud services or in that infra setup. I have been hearing during Cloud professionals recruitment the interviewers are keeping some questions on this area also. If one understand the Network domain setup then only they will be able to design the Cloud architecture. Hence more employers are worried to have this domain knowledge with the Certified and recruited Cloud professionals.

I have started a Cloud Practices group to educate/share the IT professionals with this domain knowledge. The below link can be used to join/apply:

https://www.facebook.com/groups/585147288612549/about/

Note:

  • I also have special coaching with this domain knowledge coverage using AWS.
  • This kind of coaching you may not find everywhere.
  • Visit the discussion points from the above site to know the level of the coaching.

 

 

Why do you need to learn from Infra domain knowledge as certified Cloud Professional ?

Benefits of CloudWhy do you need to learn from Infra domain knowledge as certified Cloud Professional ?

In the current IT World Cloud computing became regular practice for any IT Professional. Any cloud services we use, we need to know the current/traditional infrastructure setup. But every IT professional may not have that background/knowledge to understand. Because in this industry each of us played  different roles.

The Infra activities handled IT Professional only will come to know this knowledge and will have experience. But the industry needs every IT employee need to know this knowledge apart from the Cloud service provider [Ex: AWS, Azure, GC, etc..] products operations. [Eventhough, if you are a certified Solutions architect with that Cloud service provider.]

Then only whoever the professionals are certified they will be able to use these products/services and implement them under cloud setup. Hence the Infra domain knowledge or experience is mandated for every IT professional who is working for Cloud services or in that infra setup. I have been hearing during Cloud professionals recruitment the interviewers are keeping some questions on this area also. If one understand the Network domain setup then only they will be able to design the Cloud architecture. Hence more employers are worried to have this domain knowledge with the Certified and recruited Cloud professionals.

Below video has the details of SAA Course with the domain knowledge expertism for you:

https://business.facebook.com/vskumarcloud/videos/642868796242922/

I have started a Cloud Practices group to educate/share the IT professionals with this domain knowledge. The below link can be used to join/apply:

https://www.facebook.com/groups/585147288612549/about/

Visit for free concepts learning:

To join DevOps Practices group visit:

https://www.facebook.com/groups/1911594275816833/about/

To join Cloud Practices group visit:

https://www.facebook.com/groups/585147288612549/about/

Note:

  • I also have special coaching with this domain knowledge coverage using AWS.
  • This kind of coaching you may not find everywhere.
  • Visit the discussion points from the above site to know the level of the coaching.

19. DevOps:How to upload your docker image to your dockerhub account ?

Docker-logo

How to upload your docker image to your dockerhub account from Ubuntu  ?

In my previous session, we have created the MySQL docker image.

Now let us assume, we need to move into a private registry of dockerhub to save it.

In this exercise we will see:
1. How to use dockerid and tag the image ?
2. How to list the images with dockerid ?
3. How to login to dockerhub with your id ?
4. How to upload your docker image to your docker account and registry ?

Pre-requisites: You need to have your dockerid from https://hub.docker.com/

======>Current mysql images====>
vskumar@ubuntu:~$ sudo docker image ls mysql*
[sudo] password for vskumar:
REPOSITORY TAG IMAGE ID CREATED SIZE
mysql latest 5d4d51c57ea8 5 weeks ago 374MB
vskumar@ubuntu:~$
==================>

1. How to use dockerid and tag the image ?

My docker id is: vskumardocker
== Using docker id into local variable====>
vskumar@ubuntu:~$
vskumar@ubuntu:~$ export DOCKERID=vskumardocker
vskumar@ubuntu:~$ echo $DOCKERID
vskumardocker
vskumar@ubuntu:~$
==================>

= Tagging with dockerid ====>
vskumar@ubuntu:~$ sudo docker image build –tag $DOCKERID/mysql .
ERRO[0301] Can’t add file /home/vskumar/.gnupg/S.gpg-agent to tar: archive/tar: sockets not supported
ERRO[0324] Can’t add file /home/vskumar/.local/share/ubuntu-amazon-default/ubuntu-amazon-default/SingletonSocket to tar: archive/tar: sockets not supported
Sending build context to Docker daemon 808MB
Step 1/2 : FROM mysql
—> 5d4d51c57ea8
Step 2/2 : CMD [“echo”, “This is Mysql done by vskumar for a lab practice of dockerfile”]
—> Using cache
—> 659477c48f0a
Successfully built 659477c48f0a
Successfully tagged vskumardocker/mysql:latest
vskumar@ubuntu:~$
== Tagged mysql image =======>

=== Let us check it ===>
vskumar@ubuntu:~$ sudo docker image ls |more
REPOSITORY TAG IMAGE ID CREATED SIZE
vskumardocker/mysql latest 659477c48f0a 4 weeks ago 374MB
mysql latest 5d4d51c57ea8 5 weeks ago 374MB
== Newly tagged image is there ====>

2. How to list the images with dockerid ?

You can also list the images with dockerid assigned as below:

= How to list the images with dockerid? ====>
vskumar@ubuntu:~$ sudo docker image ls -f reference=”$DOCKERID/*”
REPOSITORY TAG IMAGE ID CREATED SIZE
vskumardocker/mysql latest 659477c48f0a 4 weeks ago 374MB
vskumar@ubuntu:~$
=======>

3. How to login to dockerhub with your id ?

=== Login to dockerhub====>
vskumar@ubuntu:~$ sudo docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don’t have a Docker ID, head over to https://hub.docker.com to create one.
Username: vskumardocker
Password:
Login Succeeded
vskumar@ubuntu:~$
============>

4. How to upload your docker image to your docker account and registry ?

Now, let us use docker push command to push the image to dockerhub:

=== Pushing the image to dockerhub account registry ===>
vskumar@ubuntu:~$ sudo docker image push $DOCKERID/mysql:latest
The push refers to repository [docker.io/vskumardocker/mysql]
12ea28f10d69: Mounted from library/mysql
400836ab4664: Mounted from library/mysql
17d36ba94219: Mounted from library/mysql
d7758e0ab2b0: Mounted from library/mysql
921bf5c178ac: Mounted from library/mysql
3cf1630a511d: Mounted from library/mysql
b80c494a1fdc: Mounted from library/mysql
7b2001677ac9: Mounted from library/mysql
8b452d78b126: Mounted from library/mysql
292c1ee413d0: Mounted from library/mysql
014cf8bfcb2d: Mounted from library/mysql
latest: digest: sha256:09ebaab0035b1955a83646ea41f43a2cd870c934a2255da090918ff7ad37dd0f size: 2621
vskumar@ubuntu:~$
==Note, repository name, TAG should be there correctly ===>

Now, we can see this image on the web page of the docker account:
===== pushed Image onto dockerhub web page ====>
I found the image on the web page with the below name:
vskumardocker/mysql
public
=====================>

 

 

 

20. DevOps:How to Install docker for Windows 10 and use for containers creation ?

How to Install docker for Windows 10 and use for containers creation ?:

Docker-logo

 In this blog,  I have shown the steps for  docker installation on Windows10 OS.

To install the docker for windows 10 OS, you need to download the docker-install.exe from the below url:

https://github.com/boot2docker/windows-installer/releases/tag/v1.8.0

 I have copied all the screens below, while doing my installation.  

You can follow the same.

Docker-Win10-install-screens.jpg

Check on your desktop for boot2docker icon.

You can also install docker toolbox as below:

Dockertoolbox-steps.jpg

Now, go to your Boot2Dcoker icon on your desktop.

Double Click on it.

In the following screens you can see with its start process.

Start-Bootdocker-screens.jpg

You can use the below blogs for containers creation.

https://vskumar.blog/2017/11/27/4-devops-how-to-work-with-docker-containers/

https://vskumar.blog/2017/11/28/5-devops-how-to-work-with-docker-images/

https://vskumar.blog/2017/12/12/13-devops-working-with-dockerfile-to-build-apache2-container-2/

2. Graph database/Docker: How to install Neo4j on a docker container? [for Ubuntu 18.04 VM]

Neo4j                                                                                                      Docker-logo

I have shown in this blog/video on the “Installing Neo4j DB on a Docker container using Ubuntu 18.04 VM”.

Through this blog and video, I have demonstrated the below functions:

a) How to install docker on an Ubuntu 18.04 VM?

b) How to create the Neo4j container from the image ?

c) How to use the container for neo4j browser ?

d) How to login and operate the options ?

c) Then how to shutdown the neo4j container ?

On all the above steps, a practiced video is made for your lab practice.

This is attached at the end of this blog.

Step1:
Initially, we need to check whether the prerequisite packages are installed.
To check, perform the following:

sudo apt-get -y install apt-transport-https ca-certificates curl

Step2:
Then, add the docker.com keys to our local keyset:

sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –

Step3:
Next, Add the Docker repository to our system (Ubuntu users, I am assuming you have a 64-bit CPU in your VM):

sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable”

Step4:
Now, we need to work on Preparing the filesystem.
As we planned want need to keep track of the logs and be able to reuse our data, we will need to give the
Docker image some access to our filesystem.
In our home folder [~], let’s create a Neo4j folder and two subfolders named logs and data.
This below script will do it on a Linux platform:
cd ~
mkdir neo4j
cd neo4j
mkdir logs
mkdir data

Enter the above steps in a .sh script.

Step5:
How to Run Neo4j in a Docker container ?:
I need to run the below command;

sudo apt install docker.io

Now, we can run the below long command in a Terminal to run Docker with a Neo4j image.

sudo docker run –rm –publish=7474:7474 –publish=7687:7687 –volume=$HOME/neo4j/data:/data \
–volume=$HOME/neo4j/logs:/logs neo4j:3.1.2

This command triggered some downloading because our local Docker repository does not have the
Neo4j image available in its 3.1.2 version yet.

Ports used by Neo4j are 7474, 7473, and 7687, for the protocols http, https, and bolt, respectively .
In the parameters part, you can see–volume twice.
Its use is to link the folder on the local filesystem to the container filesystem.

Step6:
Providing the port numbers given as parameters were not in use,
the Terminal should display something like this:

Remote interface available at : http://localhost:7474

Now, it denotes our Docker container started for Neo4j.

This informs us that Neo4j is expecting us to connect on port 7474 as usual.
So let us fire our browser and browse to the very same
URL we saw earlier, http://localhost:7474, and go graphing!
(Make sure our data will be persisted on disk.)

Step7:
now, How to stop Docker running your image ?

In order to stop Docker , you need to pass not the name (of the image)
but the identifier of the running container (based on the image).

So, in another Terminal, let us type as follows to know the status of containers:
docker ps

This will list all the containers running, in our case, only one.
So we look at the first column, container_id, and use it as a parameter:
docker stop container_id

You can watch the terminal screen.
Docker container stopped as it should be stopped with this command.

For typical installation procedure of neo4j visit my blog:

https://vskumar.blog/2017/12/08/how-to-install-neo4j-3-2-6-graph-database-on-ubuntu/

 

 

Vcard-Shanthi Kumar V-v3

Advt-course3rd page