<commit_before>#!/usr/bin/env bash

STACK_NAME=$1

LICENSE="byol"
TEMPLATE_BODY="file://couchbase-server-ee-${LICENSE}.template"
REGION=`aws configure get region`

InstanceCount="4"
DiskSize="100"
InstanceType="m4.xlarge"
Username="couchbase"
Password="<PASSWORD>!"
KeyName="couchbase-${REGION}"

aws cloudformation create-stack \
--capabilities CAPABILITY_IAM \
--template-body ${TEMPLATE_BODY} \
--stack-name ${STACK_NAME} \
--region ${REGION} \
--parameters \
ParameterKey=InstanceCount,ParameterValue=${InstanceCount} \
ParameterKey=DiskSize,ParameterValue=${DiskSize} \
ParameterKey=InstanceType,ParameterValue=${InstanceType} \
ParameterKey=Username,ParameterValue=${Username} \
ParameterKey=Password,ParameterValue=${Password} \
ParameterKey=KeyName,ParameterValue=${KeyName} \
ParameterKey=SSHCIDR,ParameterValue="0.0.0.0/0"
<commit_msg>update script to reflect copy from simple<commit_after>#!/usr/bin/env bash

STACK_NAME=$1

LICENSE="byol"
TEMPLATE_BODY="file://couchbase-server-ee-${LICENSE}.template"
REGION=`aws configure get region`

ServerInstanceCount="4"
ServerDiskSize="100"
InstanceType="m4.xlarge"
Username="couchbase"
Password="<PASSWORD>!"
KeyName="couchbase-${REGION}"

aws cloudformation create-stack \
--capabilities CAPABILITY_IAM \
--template-body ${TEMPLATE_BODY} \
--stack-name ${STACK_NAME} \
--region ${REGION} \
--parameters \
ParameterKey=ServerInstanceCount,ParameterValue=${ServerInstanceCount} \
ParameterKey=ServerDiskSize,ParameterValue=${ServerDiskSize} \
ParameterKey=InstanceType,ParameterValue=${InstanceType} \
ParameterKey=Username,ParameterValue=${Username} \
ParameterKey=Password,ParameterValue=${Password} \
ParameterKey=KeyName,ParameterValue=${KeyName} \
ParameterKey=SSHCIDR,ParameterValue="0.0.0.0/0"

{'fraction_non_alphanumeric': 0.15279361459521096, 'fraction_numerical': 0.012542759407069556, 'mean_word_length': 8.385026737967914, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4200131', 'n_tokens_mistral': 569, 'n_tokens_neox': 556, 'n_words': 74}