Creating CloudFormation templates

Last Updated : Jun 13, 2022 |
Prolog information
Use CloudFormation templates to create an AWS stack. In AWS, message attachments are stored in S3 rather than on the disk. You do not need to configure a maximum size for the S3 bucket.
Important:
To create CloudFormation templates, use one of the following web browsers:
  • Google Chrome
  • Mozilla Firefox
AWS does not support Microsoft Edge.
  • To create a single-node CloudFormation template, do the following:
    1. On your web browser, run the template generator by opening the awssingle.htm file.
    2. In the Number of users  field, enter the maximum number of users.
      ADDITIONAL INFORMATION:
      Tip:
      You can also use the slider to enter the number of users.
      ADDITIONAL INFORMATION:
      The template generator displays what EC2 instance type is used. Max number of users selected determines the disk size, and the disk size is driven by message storage.
    3. Click Generate template.
      STEP RESULT:
      A template with ps-single.yaml file name is generated.
    4. Save the ps-single.yaml text file to your computer.
  • To create a multi-node CloudFormation template, do the following:
    1. On your web browser, run the template generator by opening the awsmulti.htm file.
    2. In the Number of users  field, enter the maximum number of users.
      ADDITIONAL INFORMATION:
      Tip:
      You can also use the slider to enter the number of users.
      ADDITIONAL INFORMATION:
      The template generator displays the number of nodes and type of EC2 instances that are used. Max number of users selected determines the disk size. The first two nodes hold the database and use a larger disk. Remaining nodes use a smaller disk.
    3. In the Number of subnets  field, enter the number of subnets on which the nodes are distributed.
      ADDITIONAL INFORMATION:
      Each subnet will be placed in a different availability zone (AZ), so the maximum number of subnets depend on the number of AZs in the AWS region. You can also use the existing subnets or create new subnets.
    4. Optional: If you want to create new subnets for availability zones, select the Create subnets check box.
      ADDITIONAL INFORMATION:
      If you are planning to use the existing subnets, do not select Create subnets.
    5. Click Generate template.
      STEP RESULT:
      A template with ps-multi.yaml file name is generated.
    6. Save the ps-multi.yaml text file to your computer.