On 3rd and 4th of April I attended a workshop on Artificial Intelligence over Amazon Web Services, hosted by LinuxWorld Informatics Pvt Ltd. In this workshop we learnt why we need an AI platform provided to us by CSPs like AWS. And we also learnt the capabilities these AI models can provide to us.
Amazon Rekognition service is an object detection as well as object recognition model provider. It is very highly accurate and also Amazon provide us with SDK via which a user can integrate those models into their own apps. Confidence score is a percentage score for which…
AI: Artificial intelligence (AI) is intelligence demonstrated by machines, unlike the natural intelligence displayed by humans and animals, which involves consciousness and emotionality. But, what if we can mimic the capabilities of human intelligence into a machine? What’s the great idea? Well we know how capable a machine can be if it has proper tools to work with, as it can crunch numbers like a bazillion times faster than a typical human can. But still due to ability to learn a computer, on itself, can’t ever match the superior beings us “featherless bipeds” are. We humans with our brains, are…
Ansible Role is a concept that deals with ideas rather than events. Its basically another level of abstraction used to organize playbooks. They provide a skeleton for an independent and reusable collection of variables, tasks, templates, files, and modules which can be automatically loaded into the playbook. Playbooks are a collection of roles. Every role has specific functionality.
The ansible-galaxy command has a sub-command that will create a directory skeleton for our role.
To create a role using the ansible-galaxy command, we can simply use the below syntax in our terminal:
ansible-galaxy init <ROLE_NAME>
And the Directory Structure would be:
In an Ansible, managed hosts or servers which are controlled by the Ansible control node are defined in a host inventory file as explained in. A host inventory file is a text file that consists of hostnames or IP addresses of managed hosts or remote servers.
Managed hosts can either be listed as individual entries or categorized under a group name as we shall later see. In Ansible, there are two types of inventory files: Static and Dynamic. …
In this blog we will see the solution of the given problem statement:
Create an Ansible Playbook which will dynamically load the variable file named same as OS_name and just by using the variable names we can Configure our target node ( Note: No need to use when keyword here. )
For doing this practical we require three operating systems, RHEL, Ubuntu and one for Controller Node. We need to have ansible installed and configured in our controller node.
Here, I am using the RedHat-8 and Ubuntu-20 operating systems to perform this but you can perform any type of operating…
Task Part1: Use Ansible playbook to Configure Reverse Proxy i.e. HAProxy and update it’s configuration file automatically on each time new Managed node (Configured With Apache Webserver) join the inventory.
Part 2 : Configure the same setup as part1 over AWS using instance over there.
So let’s us learn about what is HAProxy… HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for very high traffic web sites and powers quite a number of the world’s most visited ones. …
Task: Create a network Topology Setup in such a way so that System A can ping to two Systems, System B and System C but both these systems should
not be pinging each other without using any security rule e.g. firewall etc.
Since we aren’t allowed to take the help of firewalls, we’ll have to search for ways to either masquerade our IPs’, disrupt the connection between systems without actually touching the hardware (firewall would have been a great help with this), or make the IPs’ unreachable to each other. One such way to do just that, i.e. …
Task Restarting HTTPD Service is not idempotence in nature and also consume more resources suggest a way to rectify this challenge in Ansible playbook.
To solve this challenge there can be multiple solutions. For example- handlers which will notify tasks in the same play depending upon what happened to the notifying task [click here to learn more], creating your own self tailored module, or using conditions. So today we we’ll see how this use case can be solved using conditions in Ansible PlayBook.
Conditions in an Ansible PlayBook can be manipulated just like any other language, this can be done…
Task: Create a Setup so that you can ping google but not able to ping Facebook from same system.
Solution: to do so there are multiple ways in which we can manipulate our device such that it can ping/connect everything except Facebook, or just be able to connect to google. Today we are going to cover two such ways of completing our task… The following are the methods I used to achieve the goal:
The How> To connect two places via computer networking the basic requirements are…
On 8 March 2021 we at LinuxWorld had an amazing expert session with our experts as follows:
The first use-case presented by Mr. Vijit Kuntal was about how he helped a company to migrate from CVS to GIT. The company had around 1600 modules existing on CVS which were to be shifted to GIT.
To do so there are two ways