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

CloudFormer

CloudFormer is a tool that lets you create CloudFormation templates by looking at pre-existing resources. If you have a set of resources that you have already created on an ad hoc basis, as we have done so far in the book, then you can use CloudFormer to group them under a new CloudFormation template. You can then later customize the template that CloudFormer generates using a text editor or even CloudFormation designer, making it fit your needs. Unlike most AWS tools and services, CloudFormer isn't completely managed by AWS; it's a self-hosted tool that you can instantiate on demand using CloudFormation. To do so, follow the given steps:

  1. Open https://console.aws.amazon.com/cloudformation in your browser.
  2. Now, scroll down the AWS console screen, select Create a Template from your Existing Resources option, and click on the Launch CloudFormer button.
  3. In the Select a sample template drop-down menu, choose the CloudFormer option and click on the Next button, as shown in the following screenshot:

  1. On that screen, at the top, you can provide a stack name (feel free to keep the default name, AWSCloudFormer) and in the bottom part, you are asked to provide three additional parameters, a Username, a Password and VPC Selection. This username and password will be used later to log into CloudFormer. Pick a username and a password, select the Default VPC, and click on the Next button.
  2. On the next screen, you can provide extra tags and more advanced options, but we will simply continue by clicking on the Next button.
  3. This brings us to the review page, where we will check the checkbox to acknowledge that this will cause AWS CloudFormation to create IAM resources. Click on the Create button.
  4. This will bring us back to the main screen of the CloudFormation console, where we can see our AWS CloudFormer stack being created . Once the Status column goes from CREATE_IN_PROGRESS to CREATE_COMPLETE, select it and click on the Outputs tab at the bottom. At that point, you have created the resources needed to use CloudFormer. In order to create a stack with it, do the following: in the Outputs tab (which illustrates the Outputs section of CloudFormation), click on the website URL link. This will open up the CloudFormer tool. Log in using the username and password provided in the fourth step of the previous set of instructions, and you should see something like the following:

  1. Select the AWS region where you want to create the template and then click on the Create Template button. The following screen will then appear:

  1. Follow the workflow proposed by the tool to select the different resources that you want for your CloudFormation template, as far as the last step.
  2. In the end, you will be able to download the generated template or save it directly in S3.

The CloudFormation template generated by CloudFormer will usually need a bit of editing, as you will often want to create a more flexible stack with input parameters and an Outputs section.

主站蜘蛛池模板: 宁国市| 南阳市| 梁平县| 邻水| 堆龙德庆县| 古丈县| 陆川县| 漳平市| 临高县| 百色市| 木兰县| 黄浦区| 吉安市| 赫章县| 峨眉山市| 乌什县| 江口县| 龙江县| 西畴县| 津市市| 正定县| 色达县| 哈巴河县| 赤水市| 庆元县| 榕江县| 嘉定区| 大竹县| 辛集市| 册亨县| 沙河市| 宜都市| 油尖旺区| 南丹县| 大化| 武义县| 郁南县| 安达市| 义马市| 中方县| 南宁市|