官术网_书友最值得收藏!

Creating the stack in the CloudFormation console

At this point, we can launch our template using the following steps:

  1. Open the CloudFormation web console in your browser with the following link: https://console.aws.amazon.com/cloudformation. Click on the Create Stack button.
  2. On the next screen, we will upload our newly generated template, helloworld- cf.template, by selecting Upload a template to Amazon S3, and then browsing to select our helloworld-cf.template file.
  3. We will then pick a stack name, such as HelloWorld.
  4. After the stack name, we can see the Parameters section of our template in action. CloudFormation lets us pick which SSH key-pair to use. Select your key-pair using the drop-down menu.
  5. On the next screen, we have to ability the add optional tags to our resources; in the Advanced section, we can see how we can potentially integrate CloudFormation and SNS, make decisions on what to do when a failure or a timeout occurs, and even add a stack policy that lets you control who can edit the stack, for example. For now, we will simply click on the Next button.
  1. This leads us to the review screen where we can verify the information selected and even estimate how much it will cost to run that stack. Click on the Create button.
  2. This will bring us to the main CloudFormation console. On that screen, we are able to see how our resources are created in the Events tab.
  3. When the creation of the template is complete, click on the Outputs tabs, which will reveal the information we generated through the Outputs section of our template, as shown here:

  1. Click on the link in the value of the WebUrl key, which will open our Hello World page.
主站蜘蛛池模板: 南郑县| 博白县| 新竹县| 调兵山市| 航空| 左贡县| 湘潭县| 沈阳市| 得荣县| 三门县| 青铜峡市| 沙坪坝区| 莒南县| 河东区| 额济纳旗| 隆德县| 台南县| 丹江口市| 咸丰县| 延吉市| 蛟河市| 漯河市| 潼关县| 江口县| 海兴县| 惠安县| 桐柏县| 博白县| 雷山县| 龙海市| 汤原县| 洪江市| 汽车| 辽阳县| 沈丘县| 和政县| 磐石市| 沙湾县| 庄河市| 清河县| 陵川县|