AWSTemplateFormatVersion: 2010-09-09 Description: Cribl LogStream Existing VPC QuickStart Deployment x86_64 (qs-1skh1tk5g) Metadata: QuickStartDocumentation: EntrypointName: Deploy into an existing VPC Order: 1 LICENSE: Apache License, Version 2.0 'AWS::CloudFormation::Interface': ParameterGroups: - Label: default: Network configuration Parameters: - vpcId - subnetIds - webAccessCidr - Label: default: Amazon EC2 configuration Parameters: - instanceType - Label: default: AWS Quick Start configuration Parameters: - QSS3BucketName - QSS3KeyPrefix - QSS3BucketRegion ParameterLabels: instanceType: default: EC2 instance type vpcId: default: VPC ID subnetIds: default: Subnet ID webAccessCidr: default: Web Access CIDR QSS3BucketName: default: Quick Start S3 bucket name QSS3KeyPrefix: default: Quick Start S3 key prefix Parameters: vpcId: Description: (Required) ID of your existing VPC. Type: AWS::EC2::VPC::Id subnetIds: Description: (Required) ID of two of your existing Subnet IDs. Subnets must be in the same VPC as the VPC ID." Type: List webAccessCidr: Type: String AllowedPattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$ ConstraintDescription: CIDR block parameter must be in the form x.x.x.x/x Description: (Required) The CIDR IP range permitted to access the LogStream web console. We recommend you set this value to a trusted IP range. instanceType: Description: EC2 instance type to provision the LogStream instance. If none specified, c5.2xlarge is used. Type: String Default: c5.xlarge AllowedValues: - c5.large - c5.xlarge - c5d.large - c5d.xlarge - c5a.large - c5a.xlarge - c5ad.large - c5ad.xlarge ConstraintDescription: Must contain valid instance type QSS3BucketName: AllowedPattern: ^[0-9a-zA-Z]+([0-9a-zA-Z-]*[0-9a-zA-Z])*$ ConstraintDescription: The Quick Start bucket name can include numbers, lowercase letters, uppercase letters, and hyphens (-). It cannot start or end with a hyphen (-). Default: aws-quickstart Description: Name of the S3 bucket for your copy of the Quick Start assets. Keep the default name unless you are customizing the template. Changing the name updates code references to point to a new Quick Start location. This name can include numbers, lowercase letters, uppercase letters, and hyphens, but do not start or end with a hyphen (-). See https://aws-quickstart.github.io/option1.html. Type: String QSS3BucketRegion: Default: 'us-east-1' Description: 'AWS Region where the Quick Start S3 bucket (QSS3BucketName) is hosted. Keep the default Region unless you are customizing the template. Changing this Region updates code references to point to a new Quick Start location. When using your own bucket, specify the Region. See https://aws-quickstart.github.io/option1.html.' Type: String QSS3KeyPrefix: AllowedPattern: ^([0-9a-zA-Z-.]+/)*$ ConstraintDescription: The Quick Start S3 key prefix can include numbers, lowercase letters, uppercase letters, hyphens (-), and forward slashes (/). Default: quickstart-cribl-logstream/ Description: S3 key prefix that is used to simulate a directory for your copy of the Quick Start assets. Keep the default prefix unless you are customizing the template. Changing this prefix updates code references to point to a new Quick Start location. This prefix can include numbers, lowercase letters, uppercase letters, hyphens (-), and forward slashes (/). End with a forward slash. See https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html and https://aws-quickstart.github.io/option1.html. Type: String Conditions: UsingDefaultBucket: !Equals - !Ref QSS3BucketName - 'aws-quickstart-cribl-logstream' Resources: CriblDeploy: Type: AWS::CloudFormation::Stack Properties: TemplateURL: !Sub - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}templates/cribl-single-x86.workload.template.yaml - S3Bucket: !If - UsingDefaultBucket - !Sub '${QSS3BucketName}-${AWS::Region}' - !Ref 'QSS3BucketName' S3Region: !If - UsingDefaultBucket - !Ref 'AWS::Region' - !Ref 'QSS3BucketRegion' Parameters: webAccessCidr: !Ref webAccessCidr vpcId: !Ref vpcId subnetIds: !Join - ',' - !Ref subnetIds instanceType: !Ref instanceType Outputs: Postdeployment: Description: See the deployment guide for postdeployment steps. Value: https://fwd.aws/e6Jk3?