How to implement a custom Spring-Boot Application HealthIndicator

For those who use Spring-Boot or even better JHipster as based stack for their Java Enterprise Application, you are probably familiar with Spring-Boot « health » endpoint within Actuator project.

springboot-health-ok Lire la suite

Publicités

Releasing on GitHub my AWS EC2Backuper: Uses Tag and Applies Retention Policy

As introduction, you can read my post a year ago about AWS EC2 backup ecosystem and needs

https://zoumana.wordpress.com/2015/04/01/aws-ec2backuper-tool/

EC2Backuper is a multi-platform (Java based with bat and shell launchers) which goal is to

Screenshot from 2016-06-12 18:20:12 Lire la suite

Iptables: how to block bunch of countries to attack your server

This weekend a friend of mine, owner of  a web site dev-hosting company told me about cPanel regular emails alerts regarding recurrent SSH failed login attempts on one of his customers servers from few IPs located in 3 countries.

He asked me about a way to block certain countries via iptables.  I wrote something that did the trick Lire la suite

OpenSource Asterisk-JMSConnector Application 1.0-GA

Telephony and IT integration/coupling is surely something that can bring power or add values in some businesses (Customers Services, Hotlines, Contact Centers, Ordering lines, CRMs, Banks, Political Campaigns, Marketing, Leads Generations/Validations…)

Asterisk being the most open source IPBX used so far, is part of many architectures: small or big, single or clustered…

Here is how Asterisk-JMSConnector fits inside this picture….

Lire la suite

Reblog: 5 error-tracking tools for Java DevOps

I found this article very interesting in my readings. Plus i was not aware about those tools:

http://www.javacodegeeks.com/2014/09/5-error-tracking-tools-java-developers-should-know.html

These tools  are about getting aware of errors occurring inside your app at runtime.

Some good tools to consider at devtime (based on static code analysis) are:
-FindBugs http://findbugs.sourceforge.net/manual/eclipse.html
-PMD http://pmd.sourceforge.net/eclipse/
Both plugins for Eclipse

AWS ELB: Zero downtime or Blue Green or Canary deployments!

In this post (https://zoumana.wordpress.com/2014/06/16/zero-downtime-deploiement-sur-tomcat7/), i talked about the Zero Downtime deployment feature inside tomcat 7 and later.

To summary this was about deploying a newer version of the same app within the same tomcat container keeping the previous WAR serving the HTTP requests until the new version is successfully deployed to take over the next users’ requests.

Today the target is the same:  avoiding to take an application off-line during an upgrade for the happiness of end users 🙂 but through one of Amazon Web Services feature: Elastic Load Balancer! Lire la suite