Author: Ankesh K

What are all Terraform functionalities?

MORE ON TERRAFORM Welcome to linuxnix.com. In my earlier blogs, we have discussed what is HashiCorp Ecosystem and we have been through the Terraform Introduction. In this blog, we will deep dive into Terraform and understand each and every functionality of it. If you are just starting Terraform, please follow the hyperlinks above and come back here. To create your first infrastructure using Terraform, click here. Terraform is an Infrastructure as Code tool that helps you to create and improve your infrastructure. So let’s start with the configuration. Building infrastructure is easy, but building it in an automated and usable way is harder. If you are a Developer or a DevOps Engineer, you can understand the need for managing infrastructure components efficiently. Now going straight to point, we will deep dive into the Terraform. TERRAFORM CONFIGURATION Terraform uses text files to describe the infrastructure. These files are called Terraform File and end in .tf. Here in this section, we will talk about the format of these files and how Terraform understands these files and spin up the infrastructure. There are two formats of configuration: Terraform format and JSON format. The terraform format is more human readable, more declarative, supports comments and is prescribed by Terraform. Though we can use JSON templates to modify and update the infrastructure by changing the file extension as .tf.json. TERRAFORM CONFIGURATION SYNTAX The syntax...

Read More

How to Push Docker Images to Docker Hub/repository

Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud. To know about Docker in details, click here. The installation and configuration process is described in our different blog. Click here to access that. Here at linuxnix.com, we have a list of activities to be performed in this Docker series. With these tasks, we will be getting a clear picture on docker day-to-day use and the real-time scenarios we face where we need Docker the most. The lists of the activities are mentioned below: Dockerize a 2-Tier Java application by creating a Docker Image. Push the same Docker Image to Docker Hub. Run a container based version of the Application Database using the Docker-Compose file. Ensure data persistence by mounting the data outside of the containers. In this section, we are going to start the second task. To go through the first task, click here. Pushing Docker Image to Docker Hub Docker Hub vs Creating a Local Docker Registry Docker Hub is a cloud-based registry service which allows you to stores the manually pushed images and links it to the Docker Cloud. It provides a centralized resource for container image discovery. This also helps us to deploy images to our hosts in a centralized way. Docker Registry is a storage solution for Docker Images. Just think about GitHub, but for...

Read More

What is Docker-Compose and How to run multiple containers as a single service?

  Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud. To know about Docker in details, click here. The installation and configuration process is described in our different blog. Click here to access that. Here at linuxnix.com, we have a list of activities to be performed in this Docker series. With these tasks, we will be getting a clear picture on day-to-day docker use and the real-time scenarios we face where we need Docker the most. The lists of the activities are mentioned below: Dockerize a 2-Tier Java application by creating a Docker Image. Push the same Docker Image to Docker Hub. Run a container based version of the Application Database using the Docker-Compose file. Ensure data persistence by mounting the data outside of the containers. In this section, we are going to start the third task. To go through the second task, click here. Running an Application with Database via Docker-Compose In the previous blogs, we took a Java project, created a Dockerfile. Built the image using the Dockerfile, created the container, ran it and verified the running application on the port specified. We took the same image and pushed it to the Docker Hub. In this section, we are going to run a database version of this application and run both the container simultaneously via docker-compose. Docker-Compose...

Read More

Over 16,000 readers, Get fresh content from “The Linux juggernaut”

Email Subscribe

ABOUT ME..!

My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.

banner