Settings

Theme

Resources to learn Docker/containerization of an monolithic web-application

3 points by DDerTyp 3 years ago · 2 comments · 1 min read


Hey :)

I developed a software which is a plain simple monolithic web application. Pretty basic: ASP.NET with angular and SQL Server as a database. Currently I use one windows server for each customer. I do this to make sure, that no software bug accidently shows data of customer A to customer B (privacy is the most important priority).

I am considering containerizing the application. From what I have heard, the handling and updating of the software is easier.

Do you know of any good resources to learn more about this topic? I am still missing the conceptual basics.

I appreciate any help you can give me! Regards!

limakzi 3 years ago

I am pretty sure recent versions .NET (especially .NET Core) are fully containerisable. For this very specific technology, this is the start:

https://docs.docker.com/samples/dotnetcore/

https://docs.microsoft.com/en-us/dotnet/core/docker/build-co...

https://code.visualstudio.com/docs/containers/quickstart-asp...

Be sure you really know what your are doing and understand basic security and containers concepts; there are tons of write ups and articles with the basics.

https://docs.microsoft.com/en-us/visualstudio/docker/tutoria...

Regarding security, I made a blog post years ago on a technology agnostic approach to Docker image security. It seems to be still up to date.

https://sysdogs.com/articles/how-to-secure-container-image

jjice 3 years ago

I'd start with any old Docker tutorial (probably the official docs). Since your case is so simple, I bet you'll be able to pick up the concepts very quickly.

Another user recommended this, but I'd like to repeat it: https://docs.docker.com/samples/dotnetcore/

It'll hopefully end up being something like the first example in that link. A simple build step, a copy, and then running.

For SQL Server, you can either use a managed DB like RDS, or also run it in a Docker container. Up to you. Without knowing your situation, I'd personally lean towards RDS, but do some research for yourself to see what you think.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection