Modernize Your Windows Legacy Applications with Habitat


Habitat, developed by Chef, is a software that provides built-in deployment and management capabilities and creates platform-independent build artifacts. Download 5 Steps to optimize your SAP on AWS costs


Core Components of  Habitat by CHEF

The software packages include all components that an app needs to run through its lifecycle. These include: 

  • Packages – the packages feature individual apps, configuration files, run-time dependencies and security policies. Additionally, they are auditable, immutable and atomic. 
  • Supervisor - this component of the software has two primary responsibilities. First, it starts and monitors the application within the package. Second, it receives and implements information from other Supervisors. The Supervisor comprises a census which keeps track of the Supervisor and a control gateway which issues commands to a remote Supervisor. 
  • Ecosystem – the ecosystem provides a build service that implements a build plan, creates the software package and deploys it to a container or server. 


Migrating Legacy Windows Applications 

Most cloud migration journeys involve migrating legacy applications from outdated versions of Windows to modern environments. Historically, companies have had two options for moving legacy applications to a new environment. These are: 
  • Rewrite the app 
  • “Lift and shift” the app 

However, migrating applications that are coupled to outdated operating systems and dependent libraries is never a simple task. With Habitat, IT staff can quickly move legacy apps to modern operating systems. The tool allows developers to package Windows applications and deploy them to any modern platform or runtime environment. 

The process involves creating a package for the application and using the open source software to automate the installation and configuration of the application. When the legacy applications are packaged with this software they become portable across different infrastructure environments and can self-configure to choose the infrastructure features that will allow the application to run smoothly. 

Here's how to migrate legacy Windows application: 


1. Create a plan 

Writing a plan allows developers to create an immutable artifact with tunable configuration values. The plan files are comprised of shell scripts and service configuration files that define how the developer installs, downloads, configures and manages the lifecycle of the legacy Windows application in the package. 


2. Build the app 

Developers can use the Builder and Builder depot features to automate their app builds and have control over their build as well as runtime and transitive dependencies. IT staff can also use the Builder to export packages into a variety of formats including ACI and Docker Image. 

it's worth mentioning that the tool leverages Chef’s experience with the automation of infrastructure to provide automated capabilities to the apps. 


3. Deploy the app 

Deploying application updates involves subscribing to Builder channels and defining the service groups’ update strategies. 


4. Run the application 

The software’s runtime automation runs the app’s lifecycle hooks allowing the app to run smoothly throughout its lifetime. Legacy applications packaged with the software are independent of supporting infrastructure and behave consistently in any runtime environment – whether it is a PaaS, container, bare metal servers or in the public cloud. 


5. Manage the app 

Developers can check the status of their services using the customizable health check API endpoint. This feature also gives developers complete control and visibility of runtime and transitive dependencies. 

Habitat is a great tool to easily migrate legacy Windows applications to any runtime environment. Additionally, it addresses the challenges IT staff face when moving containerised apps from development into production environments.


Maybe you'll find this ebook interesting:

Linke SAP on AWS

Stay tunned for more content like this.

Nueva llamada a la acción
Nueva llamada a la acción
New Call-to-action
Download Key Steps to Adopt DevOps on a Cloud-Native Company in PDF
Download The Linke AWS Connector for SAP in PDF