Well if you are not locked into one cloud provider, I would recommend AWS or Azure. Both have tools that do the majority of this work for you. As you review the article, you linked to, there are multiple examples of code for you to configure. This is all done for you in AWS Textract and it auto scales. It is also a pay as you go service. So no servers or other things to mess with.
Check out an overview here.------------------------------
James Hagist
------------------------------