Skip to content

Commit

Permalink
Replace c54xlarge with m54xlarge for Windows Docker Host (opensearch-…
Browse files Browse the repository at this point in the history
…project#417)

Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon authored Apr 15, 2024
1 parent 38613cf commit 3c34c3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packer/jenkins-agent-win2019-x64.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"encrypt_boot":"false",
"region":"{{user `build-region`}}",
"ami_regions":"{{user `aws_ami_region`}}",
"instance_type":"c5.4xlarge",
"instance_type":"m5.4xlarge",
"ami_name":"{{user `name-base`}}-{{user `build-time`}}",
"vpc_id":"{{user `build-vpc`}}",
"subnet_id":"{{user `build-subnet`}}",
Expand Down Expand Up @@ -68,7 +68,7 @@
{
"type":"powershell",
"inline": [
"C:\\Users\\Administrator\\jenkins\\winrm_max_memory.ps1 30"
"C:\\Users\\Administrator\\jenkins\\winrm_max_memory.ps1 62"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion packer/scripts/windows/winrm_max_memory.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# compatible open source license.

echo "The max amount of the winrm memory is not the same on different instance type and might cause the server unresponsive upon startup"
echo "The only examples we have now is C54xlarge can have 30/32GB on WINRM, C524large 190/192GB, M58xlarge 110/128GB without failures"
echo "The only examples we have now is C54xlarge can have 30/32GB on WINRM, C524large 190/192GB, M54xlarge 62/64GB, M58xlarge 110/128GB without failures"

$memorygb = [int]$args[0]
$memorygb
Expand Down

0 comments on commit 3c34c3c

Please sign in to comment.