【文件属性】:
文件名称:cloudformation_webserver:使用Cloudformation创建一个简单的Web服务器
文件大小:2KB
文件格式:ZIP
更新时间:2021-02-22 00:15:55
cloudformation
Cloudformation Web服务器
使用Cloudformation创建一个简单的Web服务器
使用Cloudformation通过AWS CLI创建堆栈
在使用AWS CLI创建堆栈之前,您需要知道要使用的以下各项的值
VPC ID
子网编号
密钥对名称
aws cloudformation create-stack --stack-name webserver-cli --template-body file://webserver.yaml --parameters ParameterKey=KeyName,ParameterValue=[key pair name here] ParameterKey=SubnetID,ParameterValue=[ subnet value here ] ParameterKey=VPCIP,ParameterValue=[ VPC
【文件预览】:
cloudformation_webserver-master
----webserver.yaml(2KB)
----README.md(993B)