MOUNT DIRECTORY TO A NEW PARTITION As per our requirement that we discussed in the previous article we need to now mount directory /opt/devdata to a new storage size of 5GB. So, to do this, we will have to create a volume...
In the previous article, we have seen the introduction to AWS Elastic Block Store and also set up our EC2 instance. In this article, we are going to learn some interesting concepts. We will be covering the below...
Amazon Elastic Block Store (Amazon EBS) provides persistent block storage volumes for use with Amazon EC2 instances. Each EBS volume is automatically replicated within its Availability Zone to protect you from the component...
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It allows you to obtain and configure capacity with minimal friction. Amazon EC2 provides developers the...
A playbook contains a lot of things like tasks, handlers, templates, files, variables, etc. So, over a period of time, it grows in size and then it becomes really difficult to understand. For example, when you have songs on...
In the previous article, we created locally NTP configuration files for Debian and RedHat OS based servers and there, we updated the NTP related lines as seen below. Now, suppose if we have multiple data centers in...
This is in continuation to the articles of Ansible. In the previous article, we have seen how we can set up the local NTP configuration file and how we can deploy it to the servers to get the benefit of setting up the...
Here we are going to write a playbook to deploy NTP service. NTP keeps the system time in check so that it doesn’t drift because if the servers time is not in sync, then there could be a lot of issues as all our log files...
Before we discuss variables, why do you think we need variables? Re-usability is one of the most important reasons for using variables in a playbook. We are going to update the existing playbook show above and we will...
Create database and add a user in MariaDB database In this, we are going to see how we can create a database and add a user in the MariaDB database. There are lots of database modules in Ansible that we can use and they can be...