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

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.
主站蜘蛛池模板: 进贤县| 喜德县| 陆川县| 六盘水市| 仪陇县| 噶尔县| 饶平县| 永定县| 平谷区| 原阳县| 观塘区| 佛山市| 江山市| 宣武区| 英德市| 临猗县| 米易县| 增城市| 科技| 蒙山县| 得荣县| 三都| 农安县| 靖宇县| 邹平县| 潮州市| 东海县| 铜陵市| 洪泽县| 南宫市| 茂名市| 邻水| 阿城市| 东丰县| 富蕴县| 阳泉市| 涿州市| 柳林县| 安康市| 灵宝市| 四子王旗|