AWS CodeDeploy是AWS提供的一项服务,可以帮助客户快速可靠地将应用部署到亚马逊EC2实例或本地服务器中。想要了解此项服务的更多信息,请登录AWS CodeDeploy主页或是查阅AWS CodeDeploy文档。 当你使用AWS CodeDeploy服务部署应用时,部署过程涉及一系列预先定义好的名为deployment lifecycle events(部署周期事件)的阶段。这些事件为你提供一个机会来运行脚本(或挂钩),构成部署过程的一部分。想要了解更多关于如何指定与周期事件相对应的脚本的信息,请参见AppSpec File Reference中的hooks部分。在本博客中,我们将会聚焦于如何使用环境变量来自定义这些脚本。
客户们一直在寻求一种方法来提供关于部署的,并可被脚本使用的上下文信息。AWS CodeDeploy环境变量可以使你找到这一方法。AWS CodeDeploy目前支持以下环境变量:
1. LIFECYCLE_EVENT : This variable contains the name of the lifecycle event associated with the script. 2. DEPLOYMENT_ID : This variables contains the deployment ID of the current deployment. 3. APPLICATION_NAME : This variable contains the name of the application being deployed. This is the name the user sets in the console or AWS CLI. 4. DEPLOYMENT_GROUP_NAME : This variable contains the name of the deployment group. A deployment group is a set of instances associated with an application that you target for a deployment.
本网页所有文字内容由 imapbox邮箱云存储,邮箱网盘, iurlBox网页地址收藏管理器 下载并得到。
ImapBox 邮箱网盘 工具地址: https://www.imapbox.com/download/ImapBox.5.5.1_Build20141205_CHS_Bit32.exe
PC6下载站地址:PC6下载站分流下载
本网页所有视频内容由 imoviebox边看边下-网页视频下载, iurlBox网页地址收藏管理器 下载并得到。
ImovieBox 网页视频 工具地址: https://www.imapbox.com/download/ImovieBox4.7.0_Build20141115_CHS.exe
本文章由: imapbox邮箱云存储,邮箱网盘,ImageBox 图片批量下载器,网页图片批量下载专家,网页图片批量下载器,获取到文章图片,imoviebox网页视频批量下载器,下载视频内容,为您提供.
阅读和此文章类似的: 全球云计算