DEV Community

Discussion on: How would you keep the same Python 2.7 app running for years to come?

 
vadorequest profile image
Vadorequest

Yes, you're right, it could work if the container itself is frozen (everything already installed), so that nothing changes even if it's needed to launch a new container at some point.

Only temporary files would be a concern, like logs and so. (if transitioning)

Thread Thread
 
jingxue profile image
Jing Xue

For files produced by the app, if you need to post-process/archive them, perhaps consider the Sidecar Pattern. Basically you keep the main app container frozen, and put the post-processing logic in a separate container - it could be as simple as backing up the log files to S3.