首页 > 代码库 > Lab_7_Automating_v2.5
Lab_7_Automating_v2.5
System Operations - Lab 7: Automating Deployments with CloudFormation - 2.5==================================================================================================================Using this command reference.==================================================================================================================1. Locate the section you need. Each section in this file matches a section in the lab instructions.2. Replace items in angle brackets - < > - with appropriate values. For example, in this command you would replace the value - <JobFlowID> - (including the brackets) with the parameter indicated in the lab instructions: elastic-mapreduce --list <JobFlowID>. You can also use find and replace to change bracketed parameters in bulk.3. Do NOT enable the Word Wrap feature in Windows Notepad or the text editor you use to view this file.++++1. Change and Run the AWS CloudFormation Template ++++==================================================================================================================1.1 Add AMI ID Lookup to Template==================================================================================================================1.1.1 https://d2lrzjb0vjvpn5.cloudfront.net/sys-ops/v2.5/lab-7-automating/static/Lab-7-Start-CF.template1.1.4 Copy the new ImageId property code from the command reference file { "Fn::FindInMap" : [ "AmazonLinuxAMI", { "Ref" : "AWS::Region" }, "AMI" ] }==================================================================================================================1.2 Run the Template==================================================================================================================1.2.7 https://d2lrzjb0vjvpn5.cloudfront.net/sys-ops/v2.5/lab-7-automating/static/Lab-7-Completed-CF.template ++++2. Update Stack with New Template ++++==================================================================================================================2.1 Add InstanceType Parameter to Template==================================================================================================================2.1.1 Copy the BastionInstanceType parameter, "BastionInstanceType" : { "Type" : "String", "Description" : "The size of the instance to use for the bastion host." }2.1.4 Copy the Ref parameter{ "Ref" : "BastionInstanceType"}++++3. Challenge Solution: Debugging a CloudFormation Template++++==================================================================================================================3 Challenge Overview==================================================================================================================URL to download the debug templatehttps://us-west-2-aws-training.s3.amazonaws.com/awsu-ilt/sys-ops/v2.5/lab-7-automating/static/CFDebug.template==================================================================================================================3.2 Fixing the Resource Error==================================================================================================================3.2.4 Replace the ImageId parameter "ImageId" : { "Fn::FindInMap" : [ "AmazonLinuxAMI", { "Ref" : "AWS::Region" }, "AMI" ] }© 2016 Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lab_7_Automating_v2.5
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。