AWS Cognito SRP Login in C# / .NET 13

AWS Cognito SRP Login in C# / .NET
In my latest project I decided to use AWS Cognito User Authentication instead of rolling my own or using something like Cloudfoundry’s UAA. My application is written in C# and is using the AWS SDK for .NET. AWS Cognito supports two ways to authenticate a user, either via SRP or sending the plain credentials to AWS. The ...

MacOSX Bash / Shell Snippet: Convert time between timezones

Today I made a few API calls to debug something and took a look at the timestamps the objects were created at. The time was saved in ISO-8601 UTC but I needed it in my own timezone so I wrote a little shell one-liner. I however noticed that most articles online describe how it’s done ...

How to Pre-Process Logs with Logstash: Part III of “Scalable and Robust Logging for Web Applications” 13

How to Pre-Process Logs with Logstash: Part III of “Scalable and Robust Logging for Web Applications”
  This article is an introduction on how to pre-process logs from multiple sources in logstash before storing them in a data store or analyze them in real time. Some common use cases are unifying time formats across different log sources, anonymizing data, extracting only interesting information from the logs as well as tagging and ...

Log Transport and Distribution with Apache Kafka 0.8: Part II of “Scalable and Robust Logging for Web Applications” 8

Log Transport and Distribution with Apache Kafka 0.8: Part II of “Scalable and Robust Logging for Web Applications”
  This blog post will talk about how to transport logs from multiple servers to a central location for storage or analysis. Apache Kafka is chosen for this purpose to allow for easy scalability as well as for it’s versatility and community. Good and meaningful logs are the first step to be able to quickly ...

Log4r for Ruby on Rails: Part I of “Scalable and Robust Logging for Web Applications” 14

Log4r for Ruby on Rails: Part I of “Scalable and Robust Logging for Web Applications”
Logging, monitoring and the collection of metrics, be it performance metrics or important business metrics, is usually a topic that is not often discussed when building and scaling an application from garage-hack to the startup on the front page of TechCrunch. It is essential to be be aware of the current situation of the system ...