cfnbootstrap 文件夹在哪里?
Where is the cfnbootstrap folder?
我对 aws 的一些内部机制很好奇 - 这里没有实际问题,只是想了解更多相关信息。
我 运行 beanstalk 有 windows 个实例。
我在 c:\cfn 中查找一些日志,在 "C:\cfn\log\cfn-init.log" 中我发现了一些这样的行:
File "cfnbootstrap\util.pyc", line 159, in _retry
File "cfnbootstrap\msi_tool.pyc", line 100, in _msi_from_url
File "cfnbootstrap\util.pyc", line 79, in __init__
File "cfnbootstrap\util.pyc", line 573, in check_status
File "cfnbootstrap\packages\requests\models.pyc", line 834, in raise_for_status
所以我搜索了服务器的硬盘,没有找到 cfnbootstrap 文件夹或任何 *.pyc 文件。
这个文件夹和这个 python 脚本在哪里?我想看看这些脚本(甚至可能会尝试反编译 pyc 文件),看看它实际上在做什么。
编辑:所以它是一个 python 模块,但似乎 python 甚至没有安装在我的 beantalk windows 实例上? (我在任何地方都找不到它)难道 beanstalk 甚至没有将它用于 Windows 吗?
cfnbootstrap
是一个 Python 包,其中包含各种 CloudFormation 帮助程序脚本。
最新版本的Amazon Linux AMI在/opt/aws/bin
中默认安装了AWS CloudFormation helper scripts,底层cfnbootstrap
Python包可以找到OS Python 共享包目录 /usr/lib/python2.7/dist-packages/cfnbootstrap/
.
在 Windows-based Elastic Beanstalk 实例上,cfn-bootstrap
MSI package gets installed to to C:\Program Files\Amazon\cfn-bootstrap
. For the MSI package the Python files are compiled into self-contained .exe
files using py2exe,因此实例上不需要全局 Python 安装,所有 Python 源文件都是包含在包目录中 library.zip
。
有关此软件包的更多信息,请参阅 CloudFormation Helper Scripts Reference 文档。
我对 aws 的一些内部机制很好奇 - 这里没有实际问题,只是想了解更多相关信息。
我 运行 beanstalk 有 windows 个实例。
我在 c:\cfn 中查找一些日志,在 "C:\cfn\log\cfn-init.log" 中我发现了一些这样的行:
File "cfnbootstrap\util.pyc", line 159, in _retry
File "cfnbootstrap\msi_tool.pyc", line 100, in _msi_from_url
File "cfnbootstrap\util.pyc", line 79, in __init__
File "cfnbootstrap\util.pyc", line 573, in check_status
File "cfnbootstrap\packages\requests\models.pyc", line 834, in raise_for_status
所以我搜索了服务器的硬盘,没有找到 cfnbootstrap 文件夹或任何 *.pyc 文件。
这个文件夹和这个 python 脚本在哪里?我想看看这些脚本(甚至可能会尝试反编译 pyc 文件),看看它实际上在做什么。
编辑:所以它是一个 python 模块,但似乎 python 甚至没有安装在我的 beantalk windows 实例上? (我在任何地方都找不到它)难道 beanstalk 甚至没有将它用于 Windows 吗?
cfnbootstrap
是一个 Python 包,其中包含各种 CloudFormation 帮助程序脚本。
最新版本的Amazon Linux AMI在/opt/aws/bin
中默认安装了AWS CloudFormation helper scripts,底层cfnbootstrap
Python包可以找到OS Python 共享包目录 /usr/lib/python2.7/dist-packages/cfnbootstrap/
.
在 Windows-based Elastic Beanstalk 实例上,cfn-bootstrap
MSI package gets installed to to C:\Program Files\Amazon\cfn-bootstrap
. For the MSI package the Python files are compiled into self-contained .exe
files using py2exe,因此实例上不需要全局 Python 安装,所有 Python 源文件都是包含在包目录中 library.zip
。
有关此软件包的更多信息,请参阅 CloudFormation Helper Scripts Reference 文档。