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

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.
主站蜘蛛池模板: 宁波市| 迭部县| 温州市| 乐昌市| 石台县| 鲁山县| 越西县| 剑河县| 达州市| 桓仁| 游戏| 惠安县| 富顺县| 桐庐县| 霍邱县| 泽库县| 湟中县| 呈贡县| 图木舒克市| 长治市| 定兴县| 阿拉善左旗| 兰州市| 阳谷县| 嘉义市| 宁武县| 塔城市| 大兴区| 肃南| 金堂县| 绥化市| 祥云县| 汉阴县| 乐东| 龙陵县| 阆中市| 山丹县| 德清县| 清丰县| 北安市| 浙江省|