Category Archives: Configuration Management

AWS: Interview with a Firewall Engineer

This video talks on the possible interview questions for a Firewall Engineer attended for an AWS Cloud engineer role.

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

To follow my videos visit: https://business.facebook.com/vskumarcloud/

Possible AWS Interview Questions for a Firewall Engineer experienced professional.

NOTE:

Contact for your real Cloud experiences learning and gaining with me and crack the interviews to get offers in AWS Roles globally or even you can transition to the role in the same company after facing the client interview/selection process. Which is very easy with this knowledge.

Please connect me on FB and have a discussion on your background and the needs/goals. I am looking for the serious learners only by having dedicated time. If you are a busy resource on the projects please note; you can wait to become free to learn. One need to spend time consistently on the practice. Otherwise its going to be in no-use.

AWS: What is Data Pipeline ?

This video has the outline on AWS Data Pipeline service.

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

Please follow my videos : https://business.facebook.com/vskumarcloud/

NOTE:

Let us also be aware: Due to lacks of certified professionals are available globally in the market on AWS, to differentiate them on their needs/selection, most of the clients are asking on the real experience gained or aware of IAC. They give a Console and ask you to setup a specific Infra setup in AWS.

In my coaching I focus on the candidates to gain the real Cloud Architecture implementation experience rather than pushing the course with screen operations only to complete. Through my posted videos you can watch this USP.

Contact for your real Cloud experiences learning and gaining with me and crack the interviews to get offers in AWS Roles globally or even you can transition to the role in the same company after facing the client interview/selection process. Which is very easy with this knowledge.

Please connect me on FB and have a discussion on your background and the needs/goals. I am looking for the serious learners only by having dedicated time. If you are a busy resource on the projects please note; you can wait to become free to learn. One need to spend time consistently on the practice. Otherwise its going to be in no-use.

AWS: What is CloudFormation ?

This video has the demo on Cloudformation with IAC to create a simple EC2.

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

Please note; every Cloud/DevOps/Test Engineer need to drive the infra setup tasks through IAC scripts only, when they are advanced in infra setup understanding. For every infra setup tasks they should be able to step down to develop these IAC scripts by using different tools. In AWS, we can use CF, Terraform and Ansible very easily for the medium level config scripts building.

For a jumpstart of learning process, I have started building some videos on understanding the Infra scripts process through CF Templates with POCs/demos. Following link has these videos to watch and do self practice with CF.

Please follow my videos : https://business.facebook.com/vskumarcloud/

Once you are perfect you can choose any of the Infra CM Tools to write scripts and run for automated infra setup.

The samples are made with the below infra setup scenarios:

How to Create a simple WordPress website with CloudFormation[CF] in AWS ? :
In this POC exercise, we are using the Readily available template from the CloudFormation[CF] stacks with detailed lab steps in the below attached Video. There are two categories of WP infra building CF Templates mentioned in the CF stacks. In this example initially, I have taken the simple setup without Load balancer and Autoscale setup. The specifications/guidelines are given clearly to follow through video.

How to create Lamp server setup in AWS by CF Template ?

https://business.facebook.com/vskumarcloud/videos/vl.530504917488179/2424073971155486/

You can also watch;

How to create simple EC2 creation using CF YAML Code ?

Note:
I hope you have seen my AWS Coaching specimen on the URL: https://www.facebook.com/vskumarcloud/videos/

Let us also be aware: Due to lacks of certified professionals are available globally in the market on AWS, to differentiate them on their needs/selection, most of the clients are asking on the real experience gained or aware of IAC. They give a Console and ask you to setup a specific Infra setup in AWS.

In my coaching I focus on the candidates to gain the real Cloud Architecture implementation experience rather than pushing the course with screen operations only to complete. Through my posted videos you can watch this USP.

Contact for your real Cloud experiences learning and gaining with me and crack the interviews to get offers in AWS Roles globally or even you can transition to the role in the same company after facing the client interview/selection process. Which is very easy with this knowledge.

Please connect me on FB and have a discussion on your background and the needs/goals. I am looking for the serious learners only by having dedicated time. If you are a busy resource on the projects please note; you can wait to become free to learn. One need to spend time consistently on the practice. Otherwise its going to be in no-use.

AWS: Usage of CloudFormation Templates for IAC

Through this blog I would like to demonstrate on CloudFormation [CF] templates usage with the IAC.

I have observed in Cloud and DevOps teams, many of them are non-programming background. But when the Infra setup requirement comes into their task following questions will arise:

  1. How can they write the JSON/YAML/Go programming/script coding ?
  2. How can they understand the Cloud services and the domain setup knowledge ?
  3. What are the sequence of steps they need to follow, if they are being asked to setup the environments?
  4. How the VPCs need to be built ?
  5. How the Load Balancers need to be setup ?
  6. How the autoscaling and load balancing can be done in different locations to balance the traffic and maintain the infra setup consistency with low latency ?
  7. What are steps need to be followed to learn on the above process/procedures ?

AWS has given some of the infra setup the CloudFormation templates for us to try and test them. And later on to understand the Script/code of JSON/YAML to implement with any CM Tools.

Please note; every Cloud/DevOps/Test Engineer need to drive the infra setup tasks through IAC scripts only. For every infra setup tasks they should be able to step down to develop these IAC scripts by using different tools. In AWS, we can use CF, Terraform and Ansible very easily for the medium level config scripts building.

For a jumpstart of learning process, I have started building some videos on understanding the Infra scripts process through CF Templates with POCs/demos. Following links have these videos to watch and do self practice with CF.

Once you are perfect you can choose any of the Infra CM Tools to write scripts and run for automated infra setup.

How to Create a simple WordPress website with CloudFormation[CF] in AWS ? :
In this POC exercise, we are using the Readily available template from the CloudFormation[CF] stacks with detailed lab steps in the below attached Video. There are two categories of WP infra building CF Templates mentioned in the CF stacks. In this example initially, I have taken the simple setup without Load balancer and Autoscale setup. The specifications/guidelines are given clearly to follow through video.

How to create Lamp server setup in AWS by CF Template ?

https://business.facebook.com/vskumarcloud/videos/vl.530504917488179/2424073971155486/

You can also watch;

How to create simple EC2 creation using CF YAML Code ?

Note:
I hope you have seen my AWS Coaching specimen on the URL: https://www.facebook.com/vskumarcloud/videos/

Let us also be aware: Due to lacks of certified professionals are available globally in the market on AWS, to differentiate them on their needs/selection, most of the clients are asking on the real experience gained or aware of IAC. They give a Console and ask you to setup a specific Infra setup in AWS.

In my coaching I focus on the candidates to gain the real Cloud Architecture implementation experience rather than pushing the course with screen operations only to complete. Through my posted videos you can watch this USP.

Contact for your real Cloud experiences learning and gaining with me and crack the interviews to get offers in AWS Roles globally or even you can transition to the role in the same company after facing the client interview/selection process. Which is very easy.

Please connect me on FB and have a discussion on your background and the needs/goals. I am looking for the serious learners only by having dedicated time. If you are a busy resource on the projects please note; you can wait to become free to learn. One need to spend time consistently on the practice. Otherwise its going to be in no-use.

How to change your linux virtual  machines hostname and connect with ssh?

How to change your linux virtual  machines hostname and connect with ssh?

In this blog/video, I would like to demonstrate
the following by connecting hostnames with ssh:

Sometimes, we need to have hostnames differently.
When you use deployments using Ansible, etc. SCM tools
we can connect to the hostnames directly.
Now let us analyze and use the exercise as below:

By default we can find the hostname with;
$ ls -l /proc/sys/kernel/hostname
$ cat /proc/sys/kernel/hostname

We can also look into the details by using;
$hostnamectl

To change the new name use;
$hostnamectl set-hostname ‘ans-dbserver’
Step1: Checking the current  hostname.

Step2: Checking the host details in hostnamectl.

Step3: Changing the hostname.

Step4: Looking for new host details.

Step5: Reboot the machine and check its
connection with new hostname.

Step6: Now, let us try to connect to other machines
with ssh connectivity.

Step7: Making sure the renamed machine host is
being accessed by other machines also through ping.

Step8: Install openssh-server to connect through ssh in the newly named machine.

Step9: Connect through ssh from master machine to current hosts.

The attached video has the demonstration for all the above steps on Linux Virtual machines. Proved with a connectivity through ssh.

For SSH configuration please visit my blog, it has the demonstrated video also:

https://vskumar.blog/2018/05/26/27-devopsworking-with-ssh-for-ansible-usage/

 

https://tlk.io/a19e74

 

 

 

 

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