How to run Graylog on Ubuntu Server in Hyper-V

I wanted to set up Graylog log management tool on an Ubuntu Server running in Hyper-V. It has been a while since the last time I did this, and couple of things have changed…