Authenticate requests using HTTP signature

A while ago we presented basic authentication as a mechanism to authenticate HTTP calls in your microservice. Today, we are going to discuss another mechanism that solves the same problem: a digital signature that can be used to validate the sender identity. The entire implementation is again available in a Github repository and it’s based […]

Basic authentication in Spring Boot

Today we want to present you a very simple mechanism to secure your API using an authentication mechanism known as basic authentication, described in this RFC. The implementation is very simple: a servlet filter that intercept calls and reads the authentication header, decodes it and compares with value set in the properties file. As always, […]

Mechanism to interact with cloud application for non-tech guys

Few days ago we met a friend who works as a independent accountant. He described us that most of his work means downloading Excel attachments he receives on email from his clients. Well, for us this kind of work doesn’t  look exciting. Hereupon, we were thinking how to help him to reduce the manual work. […]

Load service configuration details from AWS S3

Recently, we worked on a microservice that handles many queues for retrying failed tasks, each having different configuration properties. Until we calibrate our application, we had to adjust those configuration properties almost daily and that was quite painful for us: code changes, code review, deployment and tomorrow from the beginning. In order to make our […]

What Beanstalk environment tier is the best?

Recently we were involved in a debate: if my service processes messages from a queue, is it better to create a worker environment or a web tier environment? Without pretending that there is only one correct answer, we argued that is better to create from the beginning an environment that has a web server behind. […]

Distributed locking with AWS ElastiCache

It’s been a long time since we published an article about how to integrate AWS SWF in your microservice in order to have a mechanism for distributed locking. Distributed locking is a feature necessary in certain situation when one and only one entity from a mass has to perform a given task like generate a […]

Sending messages through AWS ElastiCache

A while ago we published an article to demo how to use AWS ElastiCache as a data store for a throttling mechanism. AWS ElastiCache is the “in cloud” version of Redis framework: an in-memory key-value datastore, distributed across multiple nodes, that offers sub-milliseconds latency. In this post we are going to present another use case […]