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

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: Prevent a server from spamming out

Your server can somehow be compromised and used to spam (email): if it’s a cloud or a dedicated server subscribed from a decent provider, they will notify you about that (i speak from experience here :-))

Any way to prevent yourself from that or to block back in case you are facing it already, here are simple iptables rules 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

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