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 (https://console.aws.amazon.com/cloudformation).
  2. Click on Create Stack.
  3. 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.
  4. We will then pick a stack name such as HelloWorld.
  5. 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.
  6. On the next screen, we have the ability to 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 Next.
  7. 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 Create.
  8. 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.
  9. When the creation of the template is complete, click on the Outputs tab, which will reveal information we generated through the Outputs section of our template:
  1. Click on the link in the value of the WebUrl key, which will open up our HelloWorld page.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset