title: CloudFormation error from template in marketplace
body: <p>I am using a template from aws marketplace titled &quot;Jitsi Meet 100 concurrent user video conferencing setup with recording&quot;  but an error occurs while launching it in cloudformation.</p>
  <p>Error:</p>
  <pre><code>The instance configuration for this AWS Marketplace product is not supported. Please see the AWS Marketplace site for more information about supported instance types, regions, and operating systems. (Service: AmazonEC2; Status Code: 400; Error Code: UnsupportedOperation; Request ID: 8a9eb576-7e27-41bc-a99e-86b5fc94af09; Proxy: null)
  </code></pre>
  <p>The error seems to be a problem in the type / region of the 2 ec2 instances that shall be launched through this template. Hence I tried adding more ec2 instances such as c5a.xlarge rather than just t3.small and c5.xlarge.</p>
  <p>Here is the template.</p>
  <pre><code>{
  &quot;AWSTemplateFormatVersion&quot;: &quot;2010-09-09&quot;,
  &quot;Description&quot;: &quot;This will create jitsi meet single shard setup&quot;,
  &quot;Parameters&quot;: {
      &quot;keyName&quot;: {
          &quot;Description&quot;: &quot;Name of an existing EC2 key pair for SSH access to the EC2 instance.&quot;,
          &quot;Type&quot;: &quot;AWS::EC2::KeyPair::KeyName&quot;
      },
      &quot;sshLocation&quot;: {
          &quot;Description&quot;: &quot;The IP address range that can be used to SSH to the EC2 instances&quot;,
          &quot;Type&quot;: &quot;String&quot;,
          &quot;MinLength&quot;: 9,
          &quot;MaxLength&quot;: 18,
          &quot;AllowedPattern&quot;: &quot;(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})/(\\d{1,2})&quot;,
          &quot;ConstraintDescription&quot;: &quot;Please set CIDR to x.x.x.x/32 to allow one specific IP address access, 0.0.0.0/0 to allow all IP addresses access, or another CIDR range&quot;
      },
      &quot;meetInstanceType&quot;: {
          &quot;Description&quot;: &quot;Meet EC2 instance type&quot;,
          &quot;Type&quot;: &quot;String&quot;,
          &quot;Default&quot;: &quot;c5a.xlarge&quot;,
          &quot;AllowedValues&quot;: [
              &quot;c5a.xlarge&quot;,
              &quot;t2.medium&quot;
          ],
          &quot;ConstraintDescription&quot;: &quot;must be a valid EC2 instance type&quot;
      },
      &quot;jibriInstanceType&quot;: {
          &quot;Description&quot;: &quot;Jibri EC2 instance type&quot;,
          &quot;Type&quot;: &quot;String&quot;,
          &quot;Default&quot;: &quot;c5a.xlarge&quot;,
          &quot;AllowedValues&quot;: [
              &quot;t3.small&quot;,
                &quot;t2.medium&quot;,
                &quot;c5a.xlarge&quot;
          ],
          &quot;ConstraintDescription&quot;: &quot;must be a valid EC2 instance type&quot;
      },
      &quot;jicofoSecret&quot;: {
          &quot;Description&quot;: &quot;Secret using for jicofo. This can be any strong password you want. Changing default is highly recommended&quot;,
          &quot;Type&quot;: &quot;String&quot;,
          &quot;NoEcho&quot;: true,
          &quot;MinLength&quot;: 8,
          &quot;MaxLength&quot;: 32,
          &quot;AllowedPattern&quot;: &quot;[a-zA-Z0-9_]*&quot;,
          &quot;ConstraintDescription&quot;: &quot;secret should not have special characters and length between 8 - 32&quot;
      },
      &quot;jvbSecret&quot;: {
          &quot;Description&quot;: &quot;Secret using for jvb. This can be any strong password you want. Changing default is highly recommended&quot;,
          &quot;Type&quot;: &quot;String&quot;,
          &quot;NoEcho&quot;: true,
          &quot;MinLength&quot;: 8,
          &quot;MaxLength&quot;: 32,
          &quot;AllowedPattern&quot;: &quot;[a-zA-Z0-9_]*&quot;,
          &quot;ConstraintDescription&quot;: &quot;secret should not have special characters and length between 8 - 32&quot;
      },
      &quot;jibriSecret&quot;: {
          &quot;Description&quot;: &quot;Secret using for jibri. This can be any strong password you want. Changing default is highly recommended&quot;,
          &quot;Type&quot;: &quot;String&quot;,
          &quot;NoEcho&quot;: true,
          &quot;MinLength&quot;: 8,
          &quot;MaxLength&quot;: 32,
          &quot;AllowedPattern&quot;: &quot;[a-zA-Z0-9_]*&quot;,
          &quot;ConstraintDescription&quot;: &quot;secret should not have special characters and length between 8 - 32&quot;
      },
      &quot;jibriRecorderSecret&quot;: {
          &quot;Description&quot;: &quot;Secret using for jibri recorder. This can be any strong password you want. Changing default is highly recommended&quot;,
          &quot;Type&quot;: &quot;String&quot;,
          &quot;NoEcho&quot;: true,
          &quot;MinLength&quot;: 8,
          &quot;MaxLength&quot;: 32,
          &quot;AllowedPattern&quot;: &quot;[a-zA-Z0-9_]*&quot;,
          &quot;ConstraintDescription&quot;: &quot;secret should not have special characters and length between 8 - 32&quot;
      },
      &quot;jibriS3Bucket&quot;: {
          &quot;Description&quot;: &quot;S3 bucket for jibri service&quot;,
          &quot;Type&quot;: &quot;String&quot;,
          &quot;MinLength&quot;: 3,
          &quot;MaxLength&quot;: 63,
          &quot;AllowedPattern&quot;: &quot;(?=^.{3,63}$)(?!^(\\d+\\.)+\\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])$)&quot;,
          &quot;ConstraintDescription&quot;: &quot;secret should not have special characters and length between 8 - 32&quot;
      }
  },
  &quot;Mappings&quot;: {
      &quot;RegionMap&quot;: {
          &quot;us-east-1&quot;: {
              &quot;meetAmi&quot;: &quot;ami-0974e06cbcf6dfb76&quot;,
              &quot;jibriAmi&quot;: &quot;ami-0fcb4de1b72edf7d0&quot;
          },
          &quot;us-west-1&quot;: {
              &quot;meetAmi&quot;: &quot;ami-06512f84b71b2d459&quot;,
              &quot;jibriAmi&quot;: &quot;ami-0e29abb54a887aeaf&quot;
          },
          &quot;ap-southeast-1&quot;: {
              &quot;meetAmi&quot;: &quot;ami-091e56c55ac3b2d39&quot;,
              &quot;jibriAmi&quot;: &quot;ami-0db1d73b8b670c983&quot;
          },
          &quot;ca-central-1&quot;: {
              &quot;meetAmi&quot;: &quot;ami-0a7444b6d05773cfe&quot;,
              &quot;jibriAmi&quot;: &quot;ami-0c47659f837db5948&quot;
          },
          &quot;eu-central-1&quot;: {
              &quot;meetAmi&quot;: &quot;ami-0a8b1fa6dbdcb5b1a&quot;,
              &quot;jibriAmi&quot;: &quot;ami-0003a0c781d237a34&quot;
          },
          &quot;me-south-1&quot;: {
              &quot;meetAmi&quot;: &quot;ami-020040afbf4acb977&quot;,
              &quot;jibriAmi&quot;: &quot;ami-0158778bb6b0aab1b&quot;
          },
          &quot;sa-east-1&quot;: {
              &quot;meetAmi&quot;: &quot;ami-04ae671eb43ebd5db&quot;,
              &quot;jibriAmi&quot;: &quot;ami-0192be9c63bb53c62&quot;
          },
          &quot;af-south-1&quot;: {
              &quot;meetAmi&quot;: &quot;ami-058148b749c8d241a&quot;,
              &quot;jibriAmi&quot;: &quot;ami-0d348a74fb1c0a2a9&quot;
          },
          &quot;ap-northeast-1&quot;: {
              &quot;meetAmi&quot;: &quot;ami-0d6e2747a2ff34389&quot;,
              &quot;jibriAmi&quot;: &quot;ami-07c8da06bf214eabb&quot;
          },
          &quot;ap-south-1&quot;: {
              &quot;meetAmi&quot;: &quot;ami-055a2d9027bee28dd&quot;,
              &quot;jibriAmi&quot;: &quot;ami-01825d687a739d059&quot;
          }
      }
  },
  &quot;Resources&quot;: {
      &quot;meetSG&quot;: {
          &quot;Metadata&quot;: {
              &quot;Comment&quot;: &quot;meet security group&quot;
          },
          &quot;Type&quot;: &quot;AWS::EC2::SecurityGroup&quot;,
          &quot;Properties&quot;: {
              &quot;GroupName&quot;: &quot;meetSG&quot;,
              &quot;GroupDescription&quot;: &quot;Jitsi Meet HTTP HTTPS and XMPP&quot;,
              &quot;SecurityGroupIngress&quot;: [
                  {
                      &quot;IpProtocol&quot;: &quot;tcp&quot;,
                      &quot;FromPort&quot;: 22,
                      &quot;ToPort&quot;: 22,
                      &quot;CidrIp&quot;: {
                          &quot;Ref&quot;: &quot;sshLocation&quot;
                      }
                  },
                  {
                      &quot;IpProtocol&quot;: &quot;tcp&quot;,
                      &quot;FromPort&quot;: 80,
                      &quot;ToPort&quot;: 80,
                      &quot;CidrIp&quot;: &quot;0.0.0.0/0&quot;
                  },
                  {
                      &quot;IpProtocol&quot;: &quot;tcp&quot;,
                      &quot;FromPort&quot;: 443,
                      &quot;ToPort&quot;: 443,
                      &quot;CidrIp&quot;: &quot;0.0.0.0/0&quot;
                  },
                  {
                      &quot;IpProtocol&quot;: &quot;tcp&quot;,
                      &quot;FromPort&quot;: 5222,
                      &quot;ToPort&quot;: 5222,
                      &quot;SourceSecurityGroupId&quot;: {
                          &quot;Fn::GetAtt&quot;: [
                              &quot;jibriSG&quot;,
                              &quot;GroupId&quot;
                          ]
                      }
                  },
                  {
                      &quot;IpProtocol&quot;: &quot;udp&quot;,
                      &quot;FromPort&quot;: 10000,
                      &quot;ToPort&quot;: 10000,
                      &quot;CidrIp&quot;: &quot;0.0.0.0/0&quot;
                  }
              ],
              &quot;Tags&quot;: [
                  {
                      &quot;Key&quot;: &quot;Name&quot;,
                      &quot;Value&quot;: &quot;meetSG&quot;
                  }
              ]
          }
      },
      &quot;meetRolePolicy&quot;: {
          &quot;Metadata&quot;: {
              &quot;Comment&quot;: &quot;IAM Policy for meet role&quot;
          },
          &quot;Type&quot;: &quot;AWS::IAM::Policy&quot;,
          &quot;Properties&quot;: {
              &quot;PolicyName&quot;: &quot;meetRolePolicy&quot;,
              &quot;PolicyDocument&quot;: {
                  &quot;Version&quot;: &quot;2012-10-17&quot;,
                  &quot;Statement&quot;: [
                      {
                          &quot;Action&quot;: [
                              &quot;cloudwatch:PutMetricData&quot;
                          ],
                          &quot;Effect&quot;: &quot;Allow&quot;,
                          &quot;Resource&quot;: &quot;*&quot;
                      }
                  ]
              },
              &quot;Roles&quot;: [
                  {
                      &quot;Ref&quot;: &quot;meetRole&quot;
                  }
              ]
          }
      },
      &quot;meetRole&quot;: {
          &quot;Metadata&quot;: {
              &quot;Comment&quot;: &quot;IAM role of meet&quot;
          },
          &quot;Type&quot;: &quot;AWS::IAM::Role&quot;,
          &quot;Properties&quot;: {
              &quot;RoleName&quot;: &quot;meetRole&quot;,
              &quot;Path&quot;: &quot;/&quot;,
              &quot;AssumeRolePolicyDocument&quot;: {
                  &quot;Version&quot;: &quot;2012-10-17&quot;,
                  &quot;Statement&quot;: [
                      {
                          &quot;Action&quot;: &quot;sts:AssumeRole&quot;,
                          &quot;Principal&quot;: {
                              &quot;Service&quot;: &quot;ec2.amazonaws.com&quot;
                          },
                          &quot;Effect&quot;: &quot;Allow&quot;,
                          &quot;Sid&quot;: &quot;&quot;
                      }
                  ]
              }
          }
      },
      &quot;meetInstanceProfile&quot;: {
          &quot;Metadata&quot;: {
              &quot;Comment&quot;: &quot;Instance profile of meet&quot;
          },
          &quot;Type&quot;: &quot;AWS::IAM::InstanceProfile&quot;,
          &quot;Properties&quot;: {
              &quot;InstanceProfileName&quot;: &quot;meetInstanceProfile&quot;,
              &quot;Path&quot;: &quot;/&quot;,
              &quot;Roles&quot;: [
                  {
                      &quot;Ref&quot;: &quot;meetRole&quot;
                  }
              ]
          }
      },
      &quot;meet&quot;: {
          &quot;Metadata&quot;: {
              &quot;Comment&quot;: &quot;initialize meet&quot;
          },
          &quot;Type&quot;: &quot;AWS::EC2::Instance&quot;,
          &quot;Properties&quot;: {
              &quot;ImageId&quot;: {
                  &quot;Fn::FindInMap&quot;: [
                      &quot;RegionMap&quot;,
                      {
                          &quot;Ref&quot;: &quot;AWS::Region&quot;
                      },
                      &quot;meetAmi&quot;
                  ]
              },
              &quot;InstanceType&quot;: {
                  &quot;Ref&quot;: &quot;meetInstanceType&quot;
              },
              &quot;KeyName&quot;: {
                  &quot;Ref&quot;: &quot;keyName&quot;
              },
              &quot;AvailabilityZone&quot;: {
                  &quot;Fn::Select&quot;: [
                      0,
                      {
                          &quot;Fn::GetAZs&quot;: {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          }
                      }
                  ]
              },
              &quot;IamInstanceProfile&quot;: {
                  &quot;Ref&quot;: &quot;meetInstanceProfile&quot;
              },
              &quot;SecurityGroups&quot;: [
                  {
                      &quot;Ref&quot;: &quot;meetSG&quot;
                  }
              ],
              &quot;Monitoring&quot;: true,
              &quot;UserData&quot;: {
                  &quot;Fn::Base64&quot;: {
                      &quot;Fn::Join&quot;: [
                          &quot;&quot;,
                          [
                              &quot;#!/bin/bash\n&quot;,
                              &quot;sed -i 's;jicofosecret;&quot;,
                              {
                                  &quot;Ref&quot;: &quot;jicofoSecret&quot;
                              },
                              &quot;;' /etc/jitsi/jicofo/config\n&quot;,
                              &quot;prosodyctl register focus auth.meet.jitsi &quot;,
                              {
                                  &quot;Ref&quot;: &quot;jicofoSecret&quot;
                              },
                              &quot;\n&quot;,
                              &quot;prosodyctl register jvb auth.meet.jitsi &quot;,
                              {
                                  &quot;Ref&quot;: &quot;jvbSecret&quot;
                              },
                              &quot;\n&quot;,
                              &quot;prosodyctl register jibri auth.meet.jitsi &quot;,
                              {
                                  &quot;Ref&quot;: &quot;jibriSecret&quot;
                              },
                              &quot;\n&quot;,
                              &quot;prosodyctl register recorder recorder.meet.jitsi &quot;,
                              {
                                  &quot;Ref&quot;: &quot;jibriRecorderSecret&quot;
                              },
                              &quot;\n&quot;,
                              &quot;sed -i 's;jvbpassword;&quot;,
                              {
                                  &quot;Ref&quot;: &quot;jvbSecret&quot;
                              },
                              &quot;;' /etc/jitsi/videobridge/sip-communicator.properties\n&quot;,
                              &quot;sed -i 's/current_aws_region/&quot;,
                              {
                                  &quot;Ref&quot;: &quot;AWS::Region&quot;
                              },
                              &quot;/' /root/.aws/config\n&quot;,
                              &quot;sed -i 's/current_aws_region/&quot;,
                              {
                                  &quot;Ref&quot;: &quot;AWS::Region&quot;
                              },
                              &quot;/' /home/ubuntu/.aws/config\n&quot;,
                              &quot;systemctl restart jitsi-videobridge2\n&quot;,
                              &quot;systemctl restart prosody\n&quot;,
                              &quot;systemctl restart jicofo\n&quot;
                          ]
                      ]
                  }
              },
              &quot;Tags&quot;: [
                  {
                      &quot;Key&quot;: &quot;Name&quot;,
                      &quot;Value&quot;: &quot;meet&quot;
                  },
                  {
                      &quot;Key&quot;: &quot;Group&quot;,
                      &quot;Value&quot;: &quot;jitsimeetCF&quot;
                  }
              ]
          }
      },
      &quot;meetEip&quot;: {
          &quot;Metadata&quot;: {
              &quot;Comment&quot;: &quot;meet elastic ip&quot;
          },
          &quot;Type&quot;: &quot;AWS::EC2::EIP&quot;,
          &quot;Properties&quot;: {
              &quot;InstanceId&quot;: {
                  &quot;Ref&quot;: &quot;meet&quot;
              }
          }
      },
      &quot;jibriSG&quot;: {
          &quot;Metadata&quot;: {
              &quot;Comment&quot;: &quot;jibri security group&quot;
          },
          &quot;Type&quot;: &quot;AWS::EC2::SecurityGroup&quot;,
          &quot;Properties&quot;: {
              &quot;GroupName&quot;: &quot;jibriSG&quot;,
              &quot;GroupDescription&quot;: &quot;Jibri ssh access&quot;,
              &quot;SecurityGroupIngress&quot;: [
                  {
                      &quot;IpProtocol&quot;: &quot;tcp&quot;,
                      &quot;FromPort&quot;: 22,
                      &quot;ToPort&quot;: 22,
                      &quot;CidrIp&quot;: {
                          &quot;Ref&quot;: &quot;sshLocation&quot;
                      }
                  }
              ],
              &quot;Tags&quot;: [
                  {
                      &quot;Key&quot;: &quot;Name&quot;,
                      &quot;Value&quot;: &quot;jibriSG&quot;
                  }
              ]
          }
      },
      &quot;jibriRolePolicy&quot;: {
          &quot;Metadata&quot;: {
              &quot;Comment&quot;: &quot;IAM Policy for jibri role&quot;
          },
          &quot;Type&quot;: &quot;AWS::IAM::Policy&quot;,
          &quot;Properties&quot;: {
              &quot;PolicyName&quot;: &quot;jibriRolePolicy&quot;,
              &quot;PolicyDocument&quot;: {
                  &quot;Version&quot;: &quot;2012-10-17&quot;,
                  &quot;Statement&quot;: [
                      {
                          &quot;Action&quot;: [
                              &quot;cloudwatch:PutMetricData&quot;,
                              &quot;s3:PutObject&quot;
                          ],
                          &quot;Effect&quot;: &quot;Allow&quot;,
                          &quot;Resource&quot;: [
                              {
                                  &quot;Fn::Sub&quot;: &quot;arn:${AWS::Partition}:s3:::${jibriS3Bucket}/*&quot;
                              }
                          ]
                      }
                  ]
              },
              &quot;Roles&quot;: [
                  {
                      &quot;Ref&quot;: &quot;jibriRole&quot;
                  }
              ]
          }
      },
      &quot;jibriRole&quot;: {
          &quot;Metadata&quot;: {
              &quot;Comment&quot;: &quot;IAM role of jibri&quot;
          },
          &quot;Type&quot;: &quot;AWS::IAM::Role&quot;,
          &quot;Properties&quot;: {
              &quot;RoleName&quot;: &quot;jibriRole&quot;,
              &quot;Path&quot;: &quot;/&quot;,
              &quot;AssumeRolePolicyDocument&quot;: {
                  &quot;Version&quot;: &quot;2012-10-17&quot;,
                  &quot;Statement&quot;: [
                      {
                          &quot;Action&quot;: &quot;sts:AssumeRole&quot;,
                          &quot;Principal&quot;: {
                              &quot;Service&quot;: &quot;ec2.amazonaws.com&quot;
                          },
                          &quot;Effect&quot;: &quot;Allow&quot;,
                          &quot;Sid&quot;: &quot;&quot;
                      }
                  ]
              }
          }
      },
      &quot;jibriInstanceProfile&quot;: {
          &quot;Metadata&quot;: {
              &quot;Comment&quot;: &quot;Instance profile of jibri&quot;
          },
          &quot;Type&quot;: &quot;AWS::IAM::InstanceProfile&quot;,
          &quot;Properties&quot;: {
              &quot;InstanceProfileName&quot;: &quot;jibriInstanceProfile&quot;,
              &quot;Path&quot;: &quot;/&quot;,
              &quot;Roles&quot;: [
                  {
                      &quot;Ref&quot;: &quot;jibriRole&quot;
                  }
              ]
          }
      },
      &quot;jibri&quot;: {
          &quot;Metadata&quot;: {
              &quot;Comment&quot;: &quot;initialize jibri&quot;
          },
          &quot;Type&quot;: &quot;AWS::EC2::Instance&quot;,
          &quot;Properties&quot;: {
              &quot;ImageId&quot;: {
                  &quot;Fn::FindInMap&quot;: [
                      &quot;RegionMap&quot;,
                      {
                          &quot;Ref&quot;: &quot;AWS::Region&quot;
                      },
                      &quot;jibriAmi&quot;
                  ]
              },
              &quot;InstanceType&quot;: {
                  &quot;Ref&quot;: &quot;jibriInstanceType&quot;
              },
              &quot;KeyName&quot;: {
                  &quot;Ref&quot;: &quot;keyName&quot;
              },
              &quot;AvailabilityZone&quot;: {
                  &quot;Fn::Select&quot;: [
                      0,
                      {
                          &quot;Fn::GetAZs&quot;: {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          }
                      }
                  ]
              },
              &quot;IamInstanceProfile&quot;: {
                  &quot;Ref&quot;: &quot;jibriInstanceProfile&quot;
              },
              &quot;SecurityGroups&quot;: [
                  {
                      &quot;Ref&quot;: &quot;jibriSG&quot;
                  }
              ],
              &quot;Monitoring&quot;: true,
              &quot;UserData&quot;: {
                  &quot;Fn::Base64&quot;: {
                      &quot;Fn::Join&quot;: [
                          &quot;&quot;,
                          [
                              &quot;#!/bin/bash\n&quot;,
                              &quot;sed -i '0,/meet.jitsi/s//&quot;,
                              {
                                  &quot;Fn::GetAtt&quot;: [
                                      &quot;meet&quot;,
                                      &quot;PrivateIp&quot;
                                  ]
                              },
                              &quot;/' /etc/jitsi/jibri/jibri.conf\n&quot;,
                              &quot;sed -i 's;jibriSecret;&quot;,
                              {
                                  &quot;Ref&quot;: &quot;jibriSecret&quot;
                              },
                              &quot;;' /etc/jitsi/jibri/jibri.conf\n&quot;,
                              &quot;sed -i 's;jibriRecorderSecret;&quot;,
                              {
                                  &quot;Ref&quot;: &quot;jibriRecorderSecret&quot;
                              },
                              &quot;;' /etc/jitsi/jibri/jibri.conf\n&quot;,
                              &quot;sed -i 's;jibri-recordings;&quot;,
                              {
                                  &quot;Ref&quot;: &quot;jibriS3Bucket&quot;
                              },
                              &quot;;' /opt/scripts/finalizerecording.sh\n&quot;,
                              &quot;sed -i 's/127.0.0.2/&quot;,
                              {
                                  &quot;Fn::GetAtt&quot;: [
                                      &quot;meet&quot;,
                                      &quot;PrivateIp&quot;
                                  ]
                              },
                              &quot;/' /etc/hosts\n&quot;,
                              &quot;sed -i 's/current_aws_region/&quot;,
                              {
                                  &quot;Ref&quot;: &quot;AWS::Region&quot;
                              },
                              &quot;/' /root/.aws/config\n&quot;,
                              &quot;sed -i 's/current_aws_region/&quot;,
                              {
                                  &quot;Ref&quot;: &quot;AWS::Region&quot;
                              },
                              &quot;/' /home/ubuntu/.aws/config\n&quot;,
                              &quot;sed -i 's/current_aws_region/&quot;,
                              {
                                  &quot;Ref&quot;: &quot;AWS::Region&quot;
                              },
                              &quot;/' /home/jibri/.aws/config\n&quot;,
                              &quot;systemctl restart jibri\n&quot;
                          ]
                      ]
                  }
              },
              &quot;Tags&quot;: [
                  {
                      &quot;Key&quot;: &quot;Name&quot;,
                      &quot;Value&quot;: &quot;jibri&quot;
                  },
                  {
                      &quot;Key&quot;: &quot;Group&quot;,
                      &quot;Value&quot;: &quot;jitsimeetCF&quot;
                  }
              ]
          }
      },
      &quot;dashboard&quot;: {
          &quot;Type&quot;: &quot;AWS::CloudWatch::Dashboard&quot;,
          &quot;Properties&quot;: {
              &quot;DashboardName&quot;: &quot;jitsi-meet-s1&quot;,
              &quot;DashboardBody&quot;: {
                  &quot;Fn::Join&quot;: [
                      &quot;&quot;,
                      [
                          &quot;{ \&quot;widgets\&quot;: [ { \&quot;type\&quot;: \&quot;text\&quot;, \&quot;x\&quot;: 0, \&quot;y\&quot;: 0, \&quot;width\&quot;: 24, \&quot;height\&quot;: 2, \&quot;properties\&quot;: { \&quot;markdown\&quot;: \&quot;# JVB Instances \\n## These are stats for Jvbs connecting with meet server\&quot; } },\n{ \&quot;type\&quot;: \&quot;metric\&quot;, \&quot;x\&quot;: 0, \&quot;y\&quot;: 2, \&quot;width\&quot;: 6, \&quot;height\&quot;: 6, \&quot;properties\&quot;: { \&quot;metrics\&quot;: [ [ \&quot;meet_autoscalingtf_s1\&quot;, \&quot;conferences\&quot; ] ], \&quot;period\&quot;: 60, \&quot;stat\&quot;: \&quot;Sum\&quot;, \&quot;region\&quot;:  \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          },
                          &quot;\&quot;, \&quot;title\&quot;: \&quot;Conferences\&quot; } },\n{ \&quot;type\&quot;: \&quot;metric\&quot;, \&quot;x\&quot;: 6, \&quot;y\&quot;: 2, \&quot;width\&quot;: 6, \&quot;height\&quot;: 6, \&quot;properties\&quot;: { \&quot;metrics\&quot;: [ [ \&quot;meet_autoscalingtf_s1\&quot;, \&quot;participants\&quot; ] ], \&quot;period\&quot;: 60, \&quot;stat\&quot;: \&quot;Sum\&quot;, \&quot;region\&quot;: \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          },
                          &quot;\&quot;, \&quot;title\&quot;: \&quot;Participants\&quot; } },\n\n\n{ \&quot;type\&quot;: \&quot;text\&quot;, \&quot;x\&quot;: 0, \&quot;y\&quot;: 14, \&quot;width\&quot;: 24, \&quot;height\&quot;: 2, \&quot;properties\&quot;: { \&quot;markdown\&quot;: \&quot;# Meet Instance\\n## These are stats for Meet instance\&quot; } },\n{ \&quot;type\&quot;: \&quot;metric\&quot;, \&quot;x\&quot;: 0, \&quot;y\&quot;: 16, \&quot;width\&quot;: 6, \&quot;height\&quot;: 6, \&quot;properties\&quot;: { \&quot;metrics\&quot;: [ [ \&quot;AWS/EC2\&quot;, \&quot;NetworkIn\&quot;, \&quot;InstanceId\&quot;, \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;meet&quot;
                          },
                          &quot;\&quot; ], [ \&quot;.\&quot;, \&quot;NetworkOut\&quot;, \&quot;.\&quot;, \&quot;.\&quot; ] ], \&quot;period\&quot;: 60, \&quot;stat\&quot;: \&quot;Average\&quot;, \&quot;region\&quot;:  \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          },
                          &quot;\&quot;, \&quot;title\&quot;: \&quot;Meet Network\&quot; } },\n{ \&quot;type\&quot;: \&quot;metric\&quot;, \&quot;x\&quot;: 6, \&quot;y\&quot;: 16, \&quot;width\&quot;: 6, \&quot;height\&quot;: 6, \&quot;properties\&quot;: { \&quot;metrics\&quot;: [ [ \&quot;AWS/EC2\&quot;, \&quot;CPUUtilization\&quot;, \&quot;InstanceId\&quot;, \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;meet&quot;
                          },
                          &quot;\&quot; ] ], \&quot;period\&quot;: 60, \&quot;stat\&quot;: \&quot;Average\&quot;, \&quot;region\&quot;:  \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          },
                          &quot;\&quot;, \&quot;title\&quot;: \&quot;Meet CPUUtilization\&quot; } },\n{ \&quot;type\&quot;: \&quot;metric\&quot;, \&quot;x\&quot;: 12, \&quot;y\&quot;: 16, \&quot;width\&quot;: 6, \&quot;height\&quot;: 6, \&quot;properties\&quot;: { \&quot;metrics\&quot;: [ [ \&quot;meet_autoscalingtf_s1\&quot;, \&quot;memory\&quot; ] ], \&quot;period\&quot;: 60, \&quot;stat\&quot;: \&quot;Average\&quot;, \&quot;region\&quot;:  \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          },
                          &quot;\&quot;, \&quot;title\&quot;: \&quot;Meet Memory\&quot; } },\n\n\n{ \&quot;type\&quot;: \&quot;text\&quot;, \&quot;x\&quot;: 0, \&quot;y\&quot;: 22, \&quot;width\&quot;: 24, \&quot;height\&quot;: 2, \&quot;properties\&quot;: { \&quot;markdown\&quot;: \&quot;# Jibri instances\\n## These are stats for Jibris connecting with meet server\&quot; } },\n{ \&quot;type\&quot;: \&quot;metric\&quot;, \&quot;x\&quot;: 0, \&quot;y\&quot;: 24, \&quot;width\&quot;: 6, \&quot;height\&quot;: 6, \&quot;properties\&quot;: { \&quot;metrics\&quot;: [ [ \&quot;jibri_autoscalingtf_s1\&quot;, \&quot;recordings\&quot; ] ], \&quot;period\&quot;: 60, \&quot;stat\&quot;: \&quot;Sum\&quot;, \&quot;region\&quot;: \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          },
                          &quot;\&quot;, \&quot;title\&quot;: \&quot;Jibri Recordings\&quot; } },\n{ \&quot;type\&quot;: \&quot;metric\&quot;, \&quot;x\&quot;: 6, \&quot;y\&quot;: 24, \&quot;width\&quot;: 6, \&quot;height\&quot;: 6, \&quot;properties\&quot;: { \&quot;metrics\&quot;: [ [ \&quot;jibri_autoscalingtf_s1\&quot;, \&quot;availability\&quot; ] ], \&quot;period\&quot;: 60, \&quot;stat\&quot;: \&quot;Sum\&quot;, \&quot;region\&quot;: \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          },
                          &quot;\&quot;, \&quot;title\&quot;: \&quot;Jibri Availability\&quot; } },\n{ \&quot;type\&quot;: \&quot;metric\&quot;, \&quot;x\&quot;: 12, \&quot;y\&quot;: 24, \&quot;width\&quot;: 6, \&quot;height\&quot;: 6, \&quot;properties\&quot;: { \&quot;metrics\&quot;: [ [ \&quot;AWS/EC2\&quot;, \&quot;CPUUtilization\&quot;, \&quot;ImageId\&quot;, \&quot;&quot;,
                          {
                              &quot;Fn::FindInMap&quot;: [
                                  &quot;RegionMap&quot;,
                                  {
                                      &quot;Ref&quot;: &quot;AWS::Region&quot;
                                  },
                                  &quot;jibriAmi&quot;
                              ]
                          },
                          &quot;\&quot;, { \&quot;label\&quot;: \&quot;InService\&quot; } ] ], \&quot;period\&quot;: 60, \&quot;stat\&quot;: \&quot;SampleCount\&quot;, \&quot;region\&quot;: \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          },
                          &quot;\&quot;, \&quot;title\&quot;: \&quot;Jibri InService\&quot; } },\n{ \&quot;type\&quot;: \&quot;metric\&quot;, \&quot;x\&quot;: 18, \&quot;y\&quot;: 24, \&quot;width\&quot;: 6, \&quot;height\&quot;: 6, \&quot;properties\&quot;: { \&quot;metrics\&quot;: [ [ \&quot;AWS/EC2\&quot;, \&quot;NetworkIn\&quot;, \&quot;ImageId\&quot;, \&quot;&quot;,
                          {
                              &quot;Fn::FindInMap&quot;: [
                                  &quot;RegionMap&quot;,
                                  {
                                      &quot;Ref&quot;: &quot;AWS::Region&quot;
                                  },
                                  &quot;jibriAmi&quot;
                              ]
                          },
                          &quot;\&quot; ], [ \&quot;.\&quot;, \&quot;NetworkOut\&quot;, \&quot;.\&quot;, \&quot;.\&quot; ] ], \&quot;period\&quot;: 60, \&quot;stat\&quot;: \&quot;Average\&quot;, \&quot;region\&quot;: \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          },
                          &quot;\&quot;, \&quot;title\&quot;: \&quot;Jibri Network\&quot; } },\n{ \&quot;type\&quot;: \&quot;metric\&quot;, \&quot;x\&quot;: 0, \&quot;y\&quot;: 30, \&quot;width\&quot;: 6, \&quot;height\&quot;: 6, \&quot;properties\&quot;: { \&quot;metrics\&quot;: [ [ \&quot;AWS/EC2\&quot;, \&quot;CPUUtilization\&quot;, \&quot;ImageId\&quot;, \&quot;&quot;,
                          {
                              &quot;Fn::FindInMap&quot;: [
                                  &quot;RegionMap&quot;,
                                  {
                                      &quot;Ref&quot;: &quot;AWS::Region&quot;
                                  },
                                  &quot;jibriAmi&quot;
                              ]
                          },
                          &quot;\&quot; ] ], \&quot;period\&quot;: 60, \&quot;stat\&quot;: \&quot;Average\&quot;, \&quot;region\&quot;: \&quot;&quot;,
                          {
                              &quot;Ref&quot;: &quot;AWS::Region&quot;
                          },
                          &quot;\&quot;, \&quot;title\&quot;: \&quot;Jibri CPUUtilization\&quot; } }\n] }&quot;
                      ]
                  ]
              }
          }
      }
  },
  &quot;Outputs&quot;: {
      &quot;meet&quot;: {
          &quot;Value&quot;: {
              &quot;Ref&quot;: &quot;meet&quot;
          },
          &quot;Description&quot;: &quot;Name of the meet&quot;
      }
  }
  </code></pre>
  <p>}</p>
  <p>I have tried changing the ec2 instance types from c5.xlarge to c5a.xlarge and few other changes, but nothing seems to work.
  What can be the solution?</p>
  <p>Thanks</p>