mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2026-07-24 22:11:47 +00:00
update to v0.7.7-10
This commit is contained in:
@@ -4,11 +4,11 @@ AWSTemplateFormatVersion: "2010-09-09"
|
||||
Mappings:
|
||||
AWSRegion2AMI:
|
||||
us-west-2:
|
||||
SbcSipAmi: ami-0d5d64b630b94e10b
|
||||
SbcRtpAmi: ami-0c25ad87327d17f00
|
||||
FsAmi: ami-01953dc444a7be6b6
|
||||
WebserverAmi: ami-07c2c6351d018b7b8
|
||||
MonitoringServerAmi: ami-0a403e2e1b083d869
|
||||
SbcSipAmi: ami-0b3c491b912e285a8
|
||||
SbcRtpAmi: ami-0cc52a925157737b5
|
||||
FsAmi: ami-01cb71bf0b624bb75
|
||||
WebserverAmi: ami-06cd8ec798c6264eb
|
||||
MonitoringServerAmi: ami-00712f4c846e57045
|
||||
|
||||
Parameters:
|
||||
KeyName:
|
||||
@@ -55,7 +55,7 @@ Parameters:
|
||||
InstanceTypeWebserver:
|
||||
Description: "the EC2 instance type to use for webServer (amd64)"
|
||||
Type: String
|
||||
Default: c6gn.large
|
||||
Default: t2.small
|
||||
AllowedValues:
|
||||
- t2.small
|
||||
- t2.medium
|
||||
@@ -75,7 +75,8 @@ Parameters:
|
||||
- c5n.large
|
||||
- c5n.xlarge
|
||||
- c5n.2xlarge
|
||||
- c5n.metal InstanceTypeMonitoringServer:
|
||||
- c5n.metal
|
||||
InstanceTypeMonitoringServer:
|
||||
Description: "the EC2 instance type for the monitoring server (amd64)"
|
||||
Type: String
|
||||
Default: t2.small
|
||||
@@ -545,7 +546,7 @@ Resources:
|
||||
Description: Allow access to prometheus scrape port from VPC
|
||||
- IpProtocol: udp
|
||||
FromPort: 22224
|
||||
ToPort: 22225
|
||||
ToPort: 22233
|
||||
CidrIp: !Ref VpcCIDR
|
||||
Description: Allow dtmf events from rtpengine-sidecard in the VPC
|
||||
SecurityGroupEgress:
|
||||
@@ -576,7 +577,7 @@ Resources:
|
||||
Description: Allow Freeswitch sip from VPC
|
||||
- IpProtocol: udp
|
||||
FromPort: 22222
|
||||
ToPort: 22222
|
||||
ToPort: 22223
|
||||
CidrIp: !Ref VpcCIDR
|
||||
Description: Allow rtpengine ng protocol from VPC
|
||||
- IpProtocol: tcp
|
||||
@@ -943,6 +944,7 @@ Resources:
|
||||
max_memory_restart: '1G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
JAMBONES_MYSQL_REFRESH_TTL: 30,
|
||||
JAMBONES_LOGLEVEL: 'info',
|
||||
JAMBONES_NETWORK_CIDR: '${VPC_CIDR}',
|
||||
MIN_CALL_LIMIT: 9999,
|
||||
@@ -981,6 +983,7 @@ Resources:
|
||||
max_memory_restart: '1G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
JAMBONES_MYSQL_REFRESH_TTL: 30,
|
||||
JAMBONES_NETWORK_CIDR: '${VPC_CIDR}',
|
||||
JAMBONES_LOGLEVEL: 'info',
|
||||
AWS_REGION: '${AWS_REGION}',
|
||||
@@ -1169,6 +1172,7 @@ Resources:
|
||||
max_memory_restart: '1G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
JAMBONES_MYSQL_REFRESH_TTL: 30,
|
||||
ENABLE_METRICS: 1,
|
||||
STATS_HOST: '127.0.0.1',
|
||||
STATS_PORT: 8125,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"ami_description": "jambonz feature server",
|
||||
"instance_type": "t3.xlarge",
|
||||
"drachtio_version": "v0.8.18",
|
||||
"jambonz_version": "v0.7.7-9",
|
||||
"jambonz_version": "v0.7.7-10",
|
||||
"ami_base_image_arch": "amd64",
|
||||
"ami_base_image_owner": "136693071363",
|
||||
"install_telegraf": "yes",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"ssh_username": "admin",
|
||||
"ami_description": "jambonz monitoring server",
|
||||
"instance_type": "t2.xlarge",
|
||||
"jambonz_version": "v0.7.7-9",
|
||||
"jambonz_version": "v0.7.7-10",
|
||||
"homer_user": "homer_user",
|
||||
"homer_password": "XcapJTqy11LnsYRtxXGPTYQkAnI",
|
||||
"install_influxdb": "yes",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"ssh_username": "admin",
|
||||
"ami_description": "jambonz SBC RTP server",
|
||||
"drachtio_version": "v0.8.18",
|
||||
"jambonz_version": "v0.7.7-9",
|
||||
"jambonz_version": "v0.7.7-10",
|
||||
"ami_base_image_arch": "amd64",
|
||||
"ami_base_image_owner": "136693071363",
|
||||
"instance_type": "t3.xlarge",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"ami_description": "jambonz SBC SIP",
|
||||
"instance_type": "t3.xlarge",
|
||||
"drachtio_version": "v0.8.18",
|
||||
"jambonz_version": "v0.7.7-9",
|
||||
"jambonz_version": "v0.7.7-10",
|
||||
"ami_base_image_arch": "amd64",
|
||||
"ami_base_image_owner": "136693071363",
|
||||
"install_datadog": "no",
|
||||
|
||||
@@ -5,9 +5,9 @@ cd /home/admin/apps
|
||||
cp /tmp/ecosystem.config.js .
|
||||
|
||||
echo "building jambonz-api-server.."
|
||||
cd /home/admin/apps/jambonz-api-server && npm install
|
||||
cd /home/admin/apps/jambonz-api-server && npm ci
|
||||
echo "building jambonz-webapp.."
|
||||
cd /home/admin/apps/jambonz-webapp && npm install && npm run build
|
||||
cd /home/admin/apps/jambonz-webapp && npm ci && npm run build
|
||||
echo "building public-apps.."
|
||||
mkdir -p /home/admin/apps/public-apps
|
||||
cd /home/admin/apps/public-apps && npm install
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"ssh_username": "admin",
|
||||
"ami_description": "jambonz webserver",
|
||||
"instance_type": "t3.xlarge",
|
||||
"jambonz_version": "v0.7.7-9",
|
||||
"jambonz_version": "v0.7.7-10",
|
||||
"ami_base_image_arch": "amd64",
|
||||
"ami_base_image_owner": "136693071363",
|
||||
"install_datadog": "no",
|
||||
|
||||
Reference in New Issue
Block a user