Containerization of Legacy Apps

Recently, I was tasked with devising a strategy for transferring legacy apps (running on Windows 2003 and older)

Containerization Strengths

  1. A technique for packaging a service, application or job.
  2. Shares the OS Kernel => Less overhead than a hardware VM.
  3. Potential to create clean separation between infrastructure layers and applications that run on it.
  4. Potential to seamlessly transfer End of Life applications to a newer OS.

Potential Challenges

  1. Containers not necessarily more secure or isolated. Containers offer a safe way to run arbitrary code – e.g. hosting company may allow end users to upload anything to a container (as an extension for example
  2. Isolation between containers running untrusted code is key.
  3. Active Directory Integration, if needed on app, may be a challenge.

Leading Vendors

image   image

Docker

  1. Docker Engine can now run containers  natively on Windows.
  2. Docker recently released the Image2Docker tool, an open source project.
  3. Image2Docker is a PowerShell module that you can point at a virtual hard disk image, scan for common Windows components and creates a Dockerfile based on such ‘artifacts’.
  4. Image2Docker – Successfully containerized 1.0 and 2.0 .NET / IIS 5.X, 6.X applications.

AppZero

image

 

End of Life Containerization Strategy

–Install and run all pieces of Remits on a single VM

–Extract the image of the running application

–Deploy image onto a container-friendly newer OS (e.g. Windows Server 2016)

–Try running the app – and check for any runtime issues.

Summary

While End-of-Life applications was not the primary use case that Containers were designed to solve, they do end up helping with several EOL apps – including ASP.NET, PHP (LAMP stack) and other stacks. There is no guarantee that the EOL app will work flawlessly on the target system even after containerization. However, just the mere fact that this is possible is attractive to companies dealing with an End of Life portfolio.

Specializing in high volume web and cloud application architecture, Anuj Varma’s customer base includes Fortune 100 companies (dell.com, British Petroleum, Schlumberger).
Anuj’s training as a mathematical physicist followed by years of advanced computer programming is unique in the industry.

For Anuj’s popular technology seminars and science and scientific computing seminars, please visit ANUJ.COM

For Anuj’s Mathematical Models and Math Modeling related consulting , please visit anuj.com.

All content on this site is original and owned by AdverSite Web Holdings, Inc. – the parent company of anujvarma.com. No part of it may be reproduced without EXPLICIT consent from the owner of the content.

Anuj Varma – who has written posts on Anuj Varma, Technology Architect.


Leave a Reply

Your email address will not be published. Required fields are marked *