Secure copy files ( SCP ) between two EC2 instances in AWS

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 ).

Keep Reading

Advertisements

IntelliJ IDE Pro Tips and useful features

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.
Keep Reading

Java spring auto deployment to Tomcat 8 using Jenkins 2.0 in AWS cloud

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.
Keep reading

Analyzing & monitoring application logs using ELK stack

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 ??

Keep Reading

Additional hard disk in laptop CD-Drive ( Ultrabay)

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.
Keep Reading