Category: Enterprise
-
Integrating Open Policy Agent with Spring Security Reactive and JSON Web Tokens
We present a Java library that simplifies adopting the Open Policy Agent server to manage user authorization for a Spring Boot microservice, while also managing API Token (JWT) authentication. Motivation Spring Security assumes a fairly simplistic Role-Based access control (RBAC) where the service authenticates the user (via some credentials, typically username/password) and returns a UserDetails…
-
Docker for Mac and insecure registries
If you are using a private registry with a self-signed certificate, and need to connect to it from a macOS laptop, you are likely to incur in the following error: $ docker-compose up -d Pulling search (docker.registry.mydomain.io:5000/image:2.0.1)… ERROR: Get https://docker.registry.mydomain.io:5000/v1/_ping: x509: certificate signed by unknown authority it turns that (a) there is not much of…
-
A python notebook to experiment with the Apache Mesos HTTP API – Part 3 of 3
This is the third and final part of a three-part series: Part 1 describes the required setup and how to get Apache Mesos Master and Agent running in two Vagrant VMs; Part 2 shows how to connect to the HTTP API and accept resource offers. This series is an extended (and updated) version of the…
-
A python notebook to experiment with the Apache Mesos HTTP API – Part 2 of 3
This is the second part of a three-part series: Part 1 describes the required setup and how to get Apache Mesos Master and Agent running in two Vagrant VMs This series is an extended (and updated) version of the talk I gave at MesosCon Europe 2015 updated for Apache Mesos 1.0.0, which has just been…
-
A python notebook to experiment with the Apache Mesos HTTP API – Part 1 of 3
This is the first of a series of three articles that shows how to setup a Vagrant-based Apache Mesos test/development environment on your laptop; then how to run a Python notebook against the HTTP API; and finally, how to launch Docker containers on the running Agent VM. It is pretty jam-packed and requires a certain…
-
What’s up with unicorns and stockmarkets?
Recently, one may have noticed commentator wringing their hands, alternatively, about either a “tech bubble” or a “dearth of tech IPOs” – sometimes, both in the same article. It is unquestionable, however, that there is now a large number of technology private companies that raise large private funding rounds (often, in excess of $100MM – not…
-
Apache Mesos HTTP API – example IPython notebook
The new Apache Mesos HTTP API We are currently in the process of releasing Mesos 0.24 which introduces a new HTTP API for Frameworks, which are now able to interact with the Scheduler using only JSON payloads. This simplifies the interaction between Frameworks and Mesos, while maintaining the highly scalable and reliable nature of the platform:…
-
REST-based User Management web service in Scala
Today I’ve opened access to my sentinel repo which is still at a very early stage development, but I thought was worth sharing with others. I’ve been using Scala on and off for the past couple of years, since I’ve completed the Coursera Scala course (passed with 95% and distinction, obviously!); however, to really learn a language (and…
-
Hiring Great Developers
This blog entry was a good write-up of many of the hiring practices I believe in too, and that I summarized in my previous post on people; and how they do make a massive difference in the outcomes of a technology company – no matter how good (or bad) the underlying technology. A couple of points…
-
Deploying a Flask App to AWS Beanstalk
Overview Deploying an application to AWS using Beanstalk and setting up autoscaling, monitoring and a number of other super useful features is very simple, and is extremely well-documented on AWS site. However, even when following the Beanstalk and Flask Getting Started guide, there are a few gotchas and areas that are less than clear. In the…