Skip to content

Commit

Permalink
feat: Updated bot machine specs (#7903)
Browse files Browse the repository at this point in the history
This PR reduces the machine specifications for the bot instances
  • Loading branch information
PhilWindle authored Aug 12, 2024
1 parent 1459360 commit 7f0e57b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions yarn-project/aztec/terraform/bot/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ EOF
resource "aws_launch_template" "bot_launch_template" {
name = "${var.DEPLOY_TAG}-launch-template"
image_id = "ami-0cd4858f2b923aa6b"
instance_type = "m4.4xlarge"
instance_type = "c6a.2xlarge"
vpc_security_group_ids = [data.terraform_remote_state.setup_iac.outputs.security_group_private_id]

iam_instance_profile {
Expand Down Expand Up @@ -111,13 +111,13 @@ resource "aws_ec2_fleet" "bot_fleet" {
override {
subnet_id = data.terraform_remote_state.setup_iac.outputs.subnet_az1_private_id
availability_zone = "eu-west-2a"
max_price = "0.4"
max_price = "0.15"
}

override {
subnet_id = data.terraform_remote_state.setup_iac.outputs.subnet_az2_private_id
availability_zone = "eu-west-2b"
max_price = "0.4"
max_price = "0.15"
}
}

Expand Down Expand Up @@ -150,7 +150,7 @@ resource "aws_ecs_task_definition" "aztec-bot" {
command = ["start", "--bot", "--pxe"]
essential = true
cpu = 8192
memoryReservation = 30720
memoryReservation = 14336
portMappings = [
{
containerPort = 80
Expand Down

0 comments on commit 7f0e57b

Please sign in to comment.