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 ??
The basis for this article stemmed from the notion of getting a mac book for myself majorly due to its unmatched performance ( looks aside !! ). I was obsessed by the way it did things. It woke up from hibernation from within seconds where as my Thinkpad T420 running Ubuntu was taking north of 1 minute.
I recently did an upgrade to my Thinkpad T420 (Read the post ) . During the upgrade , I replaced my HDD for a SSD. The performance had improved drastically and I am completely happy about the upgrade.
Now the issue is that the SSD is of a lower capacity ( 120 GB ) and does not have my music and videos. They are still in my HDD. So I will need to have constant access to them. Now the question is how to make use of the currently obsolete HDD.