I have started playing around with docker containers lately and was looking for a solution for container orchestration. I stumbled upon Kubernetes and started exploring it and I must say that it’s surely worth a try.
Kubernetes as per website is container orchestration at planet scale. The statement is so true when you understand that Kubernetes is derived from the same architecture used by Google for managing their containers ( which is a massive billion per week !!! )
We started dockerizing our applications ( since we have been breaking our monolith into microservices ) and have seen that docker is the best way to support a containerized and automated continuous integration with microservices.
In this post, I am going to show the details on how to have a spring boot application created as a docker container and run using docker.
Following are the points we are going to cover
We are extensively using the Amazon EC2 instances for hosting our applications and require setup of the communication between two of more instances for file copy or service discovery. In this post, I am going to show how to setup two instances to communicate each other and do a SCP ( Secure copy from one instance to another ).
I have been a developer from last 10 years and have used a wide variety of IDEs ranging from Notepad ( Yes, I wrote my first java program in notepad !! ) to Netbeans. But when I started using Intellij , there is a visible difference in the way I used to work with Java projects. Unlike other IDE’s out there, this one is paid .But trust me , you will not regret the decision of paying for this IDE.
Continuous Integration ( CI ) is a step forward in the software development life cycle targeted for faster delivery and early detection of issues. CI requires integration of the code to main repository at least once daily. This demands an automated deployment process which would generate the build and deploy to the container with the latest code changes of stable branch. We can achieve this automation using a CI server and Jenkins is one of most popular tool in this category.
In this post, I will be discussing the steps for setting up Jenkins and configuring auto deployment.
I have been setting up our servers in Amazon AWS and found that installing JDK is not as straightforward as I thought it would be 🙂
I had to do some googling before I could settle down on a method to setup and run tomcat 8 using jdk 1.8 in centos. Putting the steps below for reference to anyone who is trying to achieve the same in AWS: Keep reading
One of major issues faced by modern day enterprise applications are the management and monitoring of application logs. During the phase of development, the application logging is overlooked as a rather unimportant part. But once the application is live in production, we realize that the first level of understanding to what is happening in the system is generated logs. With the modern day architecture , the components are independent and they all have their own logging. It becomes very cumbersome to have all these checked and analyzed when the system is very huge. This is where the ‘ELK’ stack comes to the rescue.
What is ELK ??