且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Opsworks部署到自定义层

更新时间:2022-12-11 11:38:48

这里的问题是您使用的是自定义层,这绝对可以,您只需要一个自定义部署配方即可告诉opsworks如何部署您的应用程序

The issue here is that you're using a custom layer, which is absolutely ok, you just need a custom deploy recipe which tells opsworks how to deploy your application.

要将应用程序部署到自定义层,必须实现自定义部署配方,这些配方将从存储库中下载应用程序的文件到实例上的适当位置.但是,您通常可以使用内置的部署指南来处理部署的某些方面,从而限制必须编写的代码量.

To deploy apps to a custom layer, you must implement custom Deploy recipes that download the app's files from a repository to the appropriate location on the instance. However, you can often limit the amount of code you must write by using the built-in deploy cookbook to handle some aspects of deployment.

http://docs.aws.amazon. com/opsworks/latest/userguide/create-custom-deploy.html

希望这会有所帮助.