0 comments on “Stream a file to AWS S3 using Akka Streams (via Alpakka) in Play Framework”

Stream a file to AWS S3 using Akka Streams (via Alpakka) in Play Framework


In this blog post we'll see how a file can be streamed from a client (eg: browser) to Amazon S3 (AWS S3) using Alpakka's AWS S3 connector. Aplakka provides various Akka Stream connectors, integration patterns and data transformations for integration use…

1 comment on “Using Microsoft SQL Server with Scala Slick”

Using Microsoft SQL Server with Scala Slick


This blog post shows simple CRUD operations on Microsoft SQL Server using Scala Slick version 3.2.3. You might be thinking what's really great about it? Duh! But until Scala Slick 3.2.x was released, using commercial databases was within the horizon…

6 comments on “NGINX – Understanding and Setting up a reverse proxy server”

NGINX – Understanding and Setting up a reverse proxy server


Let's start by understanding what a reverse proxy server means and then I'll lay down the steps for setting up such a server using our beloved NGINX. A reverse proxy server is one which helps in directing client requests to…

0 comments on “Change AWS EC2 Instance Key Pair without stopping the Instance”

Change AWS EC2 Instance Key Pair without stopping the Instance


If you landed on this blog post then I guess you might be looking for a way to change the Key pair associated with your AWS EC2 Instance without stopping the instance or you're just following our blog posts :)…

2 comments on “Streaming data from PostgreSQL using Akka Streams and Slick in Play Framework”

Streaming data from PostgreSQL using Akka Streams and Slick in Play Framework


In this blog post I'll try to explain the process wherein you can stream data directly from PostgreSQL database using Scala Slick (which is Scala's database access/query library) and Akka Streams (which is an implementation of Reactive Streams specification on…

6 comments on “NGINX – Redirecting HTTP to HTTPS”

NGINX – Redirecting HTTP to HTTPS


Using HTTPS is highly recommended and I cannot stop when explaining the benefits of using it! Also something which is more important is to make sure when HTTPS is setup it is ensured that all traffic via HTTP is blocked…

6 comments on “NGINX – Load Balancing your application made easy”

NGINX – Load Balancing your application made easy


Often there are requirements to load balance your application in order to scale out and make your application more performant and NGINX can be used to do just that! It can distribute your traffic to several application servers. There are…

6 comments on “NGINX – Redirecting traffic between www and non-www domain”

NGINX – Redirecting traffic between www and non-www domain


Just in case you ever wondered whether the re-routing from www to non-www or non-www to www domain is possible using NGINX then you bet it is! In fact it is very simple and can be done using the following steps…

6 comments on “NGINX – Restrict access to Geographical Locations using GeoIP module”

NGINX – Restrict access to Geographical Locations using GeoIP module


In this post I'll try to explain how NGINX GeoIP module can be used to restrict access to your web-portal/website only to a specific geographical region. Begin by verifying NGINX GeoIP module is installed on the server which can be…

6 comments on “NGINX – Disable direct access (via http and https) to a website using IP address”

NGINX – Disable direct access (via http and https) to a website using IP address


For the requirements wherein direct access to a website using IP address has to be disabled/blocked, following steps can be followed To disable/block direct access to IP for port 80 create a new or add to an existing (as required)…