Even this is a very rare use case where we need to configure the container using ansible. Enabling ssh inside the container is not a good practice, but in some cases, we might need to do this.
In this article, we will write a simple role for configuring HAPorxy software for load balancing which will dynamically add backend servers.
I have also covered what is a load balancer and how to write the playbook for configuring a load balancer on AWS using a playbook.
You can refer to the blog to know more about load balancer and configuration.
In this blog, we will focus more on writing and using the ansible role. This is the continuation of the below blog which configures web servers. …
Ansible is an open-source IT Configuration Management, Deployment, and Orchestration tool. Ansible helps us to gain large productivity in a variety of automation challenges. This tool is very simple to use and also powerful enough to automate complex multi-tier IT application environments.
Ansible offers a simple architecture that doesn’t require special software to be installed on nodes. It also provides a robust set of features and built-in modules which facilitate writing automation scripts.
In this article, we are going to write an Ansible role to configure the Apache webserver. The Apache HTTP server is the most widely-used web server in…
Before understanding what is ansible tower, let's understand what is automation and how an ansible and ansible tower helps us to achieve that.
Automation happens when one person meets a problem they never want to solve again.
I would like to define it in simpler words…
when someone doesn't want to repeat the same task again and again then That's where automation happens.
Before starting how to configure the load balancer and web server let’s understand what is load balancer and webservers.
The load balancer is software by which we can distribute some tasks to a set of resources to achieve more efficiency in the overall processing.
Suppose you have a single server and it has standard hardware and software... and as you grow or suddenly traffic for your app increases. Now each server has some limitations for serving requests at a time, it can be hardware as well as software. Now you decided to add one more server and it comes with…
Ansible is an open-source automation tool by which we can automate all cloud provisioning, configuration management, application deployment,intra-service orchestration, and many more IT needs.
Ansible is an open-source community project sponsored by Red Hat, it’s the simplest way to automate IT. Ansible is the only automation language that can be used across entire IT teams from systems and network administrators to developers and managers.
You can read more about ansible in the below article and how it helps in DevOps.
Apache is an open-source and free web server software that powers around 40% of websites around the world. The official…
In this article, we will configure the Hadoop name node and data node using ansible. — Shubham Rasal
We are going to write playbooks for installing Hadoop and configuring both the name node and data nodes.
I am assuming you have installed ansible and set the inventory file path.
In this article, I have given high-level details about what is Hadoop and why it is used? Check it if you want to know more about Hadoop.
so without delay start writing our playbooks.
We will use ssh public key authentication to configure managed/target nodes. The motivation to use public-key authentication…
We are going to launch the apache webserver docker container on top of a managed node with the help of Ansible.
Before moving to the action let's take a look at what is docker, ansible, and apache server so we will get a little idea about these technologies and the need for this integration. so without waiting let's get into the introduction.
Ansible is an open-source automation tool by which we can automate all cloud provisioning, configuration management, application deployment,intra-service orchestration, and many more IT needs.
Ansible is an open-source community project sponsored by Red Hat, it’s the simplest way…
We are going to create the above architecture using AWS CLI. Let’s discuss architecture and how we are going to do it?
🔶The architecture includes-
◼️ Launch EC2 instance
◼ Create EBS volume
◼Mount EBS volume to EC2 instance
◼Create an S3 bucket
◼Upload static objects such as images, videos, or documents in the S3 bucket
◼Create a content delivery network (CDN) using aws CloudFront distribution for S3 bucket
◼️️ Configure instance as the webserver
◼Place CloudFront URL in an application for security and low latency
◼Deploy source code on EC2 instance webserver.
The final goal is to achieve all…