Skip to content

Commit

Permalink
Bumping instance specs to new series (#723)
Browse files Browse the repository at this point in the history
* Bumping instance specs to new series

* Bump the defaults in config as well
  • Loading branch information
agnivade authored Apr 5, 2024
1 parent b6c2933 commit 4a0b1c7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions config/deployer.sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"ClusterVpcID": "",
"ClusterSubnetID": "",
"AppInstanceCount": 1,
"AppInstanceType": "c5.xlarge",
"AppInstanceType": "c7i.xlarge",
"AgentInstanceCount": 2,
"AgentInstanceType": "c5.xlarge",
"AgentInstanceType": "c7i.xlarge",
"ElasticSearchSettings": {
"InstanceCount": 0,
"InstanceType": "r6g.large.search",
Expand All @@ -18,10 +18,10 @@
},
"JobServerSettings":{
"InstanceCount": 0,
"InstanceType": "c5.xlarge"
"InstanceType": "c7i.xlarge"
},
"EnableAgentFullLogs": true,
"ProxyInstanceType": "c5.xlarge",
"ProxyInstanceType": "c7i.xlarge",
"SSHPublicKey": "~/.ssh/id_rsa.pub",
"TerraformStateDir" : "/var/lib/mattermost-load-test-ng",
"S3BucketDumpURI" : "",
Expand All @@ -30,7 +30,7 @@
"TerraformDBSettings": {
"InstanceCount": 1,
"InstanceEngine": "aurora-postgresql",
"InstanceType": "db.r6g.large",
"InstanceType": "db.r7g.large",
"UserName": "mmuser",
"Password": "mostest80098bigpass_",
"EnablePerformanceInsights": true,
Expand Down
8 changes: 4 additions & 4 deletions deployment/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ type Config struct {
// Number of application instances.
AppInstanceCount int `default:"1" validate:"range:[0,)"`
// Type of the EC2 instance for app.
AppInstanceType string `default:"c5.xlarge" validate:"notempty"`
AppInstanceType string `default:"c7i.xlarge" validate:"notempty"`
// Number of agents, first agent and coordinator will share the same instance.
AgentInstanceCount int `default:"2" validate:"range:[0,)"`
// Type of the EC2 instance for agent.
AgentInstanceType string `default:"c5.xlarge" validate:"notempty"`
AgentInstanceType string `default:"c7i.xlarge" validate:"notempty"`
// Logs the command output (stdout & stderr) to home directory.
EnableAgentFullLogs bool `default:"true"`
// Type of the EC2 instance for proxy.
Expand Down Expand Up @@ -132,7 +132,7 @@ type TerraformDBSettings struct {
// Number of DB instances.
InstanceCount int `default:"1" validate:"range:[0,)"`
// Type of the DB instance.
InstanceType string `default:"db.r6g.large" validate:"notempty"`
InstanceType string `default:"db.r7g.large" validate:"notempty"`
// Type of the DB instance - postgres or mysql.
InstanceEngine string `default:"aurora-postgresql" validate:"oneof:{aurora-mysql, aurora-postgresql}"`
// Username to connect to the DB.
Expand Down Expand Up @@ -201,7 +201,7 @@ type JobServerSettings struct {
// Job server instances count.
InstanceCount int `default:"0" validate:"range:[0,1]"`
// Job server instance type to be created.
InstanceType string `default:"c5.xlarge"`
InstanceType string `default:"c7i.xlarge"`
}

// DBParameter contains info regarding a single RDS DB specific parameter.
Expand Down

0 comments on commit 4a0b1c7

Please sign in to comment.