Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use newer AMI and bigger instance in ec2_stage_arm.sh #4449

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

tinnywang
Copy link
Contributor

Summary

Update ec2_stage_arm.sh to use a newer AMI and a bigger EC2 instance. This will speed up build times because

  • the new AMI doesn't run yum update at launch, so the instance won't be downloading and installing packages while trying to build Agent at the same time
  • the new instance type has 2x vCPU and memory as the old instance type, and a +5 Gbps increase to network bandwidth

Implementation details

  • Update the AMI ID from ami-053b2a8c2f3e87928 (amzn2-ami-hvm-2.0.20181020.0-aarch64-gp2) to ami-01180c1a1421554af (amzn2-ami-ecs-hvm-2.0.20241120-arm64-ebs).
  • Update the instance type from a1.xlarge to c8g.2xlarge.

Testing

On dev, the script takes ~9.5 minutes.
On this branch, the script takes ~4.5 minutes.

New tests cover the changes: no

Description for the changelog

Use newer AMI and bigger instance in ec2_stage_arm.sh

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tinnywang tinnywang requested a review from a team as a code owner December 5, 2024 20:51
@tinnywang tinnywang merged commit e81257d into aws:dev Dec 6, 2024
40 checks passed
@tinnywang tinnywang deleted the tiffwang/ec2_stage branch December 6, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants