Web应用从物理机部署到云平台的过程中步骤复杂、易于出错并难以自动实现弹性伸缩。针对这种情况,提出一种基于模板的云应用部署引擎设计。通过预定义模板将Web应用所依赖的软件环境和配置进行封装,可支持云环境下应用部署及弹性伸缩的自动化。并基于该设计实现了应用部署引擎。实验结果表明,云环境下应用部署的流程得到简化,部署所需时间大幅减少。该方法能显著地提高云应用部署的效率及质量。
There exist some challenges while deploying Web applications to the cloud from physical computers, such as complicated procedures, high error probability and difficulties in dynamic scaling. In view of this, we propose a template-based method to transplant Web applications to the cloud automatically. In this way, the software environment and configurations the Web applications depending on are packed into a pre-defined template, and the automation of Web application deployment and the resilient scalability in cloud become feasible. A supporting deployment engine is implemented based on this design, and the experimental results show that the procedures of Web application deployment in cloud are simplified and the time needed is reduced greatly. This method can markedly improve the efficiency and quality of Web application deployment in cloud.