mirror of https://github.com/OpenVidu/openvidu.git
deployment: Better naming for instances in PRO
parent
08e3656c42
commit
6242b7ed77
|
@ -637,7 +637,7 @@ Resources:
|
|||
- !GetAtt 'OpenViduSecurityGroup.GroupId'
|
||||
Tags:
|
||||
- Key: Name
|
||||
Value: 'Master Node'
|
||||
Value: 'OpenVidu Pro Master Node'
|
||||
- Key: 'ov-cluster-member'
|
||||
Value: 'server'
|
||||
UserData:
|
||||
|
|
|
@ -48,7 +48,7 @@ docker run --rm amazon/aws-cli:"${AWS_CLI_DOCKER_TAG}" ec2 run-instances \
|
|||
--instance-type "${AWS_INSTANCE_TYPE}" \
|
||||
--key-name "${AWS_KEY_NAME}" \
|
||||
--subnet-id "${AWS_SUBNET_ID}" \
|
||||
--tag-specifications "ResourceType=instance,Tags=[{Key='Name',Value='Media Node'},{Key='ov-cluster-member',Value='kms'},{Key='ov-stack-name',Value='${AWS_STACK_NAME}'},{Key='ov-stack-region',Value='${AWS_DEFAULT_REGION}'}]" \
|
||||
--tag-specifications "ResourceType=instance,Tags=[{Key='Name',Value='OpenVidu Pro Media Node'},{Key='ov-cluster-member',Value='kms'},{Key='ov-stack-name',Value='${AWS_STACK_NAME}'},{Key='ov-stack-region',Value='${AWS_DEFAULT_REGION}'}]" \
|
||||
--iam-instance-profile Name="OpenViduInstanceProfile-${AWS_STACK_NAME}-${AWS_DEFAULT_REGION}" \
|
||||
--block-device-mappings "DeviceName=/dev/sda1,Ebs={DeleteOnTermination=True,VolumeType='gp2',VolumeSize='${AWS_VOLUME_SIZE}'}" \
|
||||
--security-group-ids "${AWS_SECURITY_GROUP}" > "${OUTPUT}" 2> "${ERROUTPUT}"
|
||||
|
|
Loading…
Reference in New Issue