A company is looking to improve the resilience and distribution of its monolithic, on-premise Java application. The goal is to leverage cloud services to enable horizontal scaling and simplify the operational overhead. What approach should be taken to adapt the application for optimal deployment in a containerized environment?
Rehost the current application on scalable, cloud-based virtual machines with automated elasticity
Transform the application into a set of intercommunicating functions managed by a serverless platform
Adjust the codebase for a stateless operation and use a managed container service for deployment
Straightforward migration to a managed relational database service with high availability configurations