Skip to content

Commit

Permalink
Replace Ubuntu 18.04 with 20.04 Arm
Browse files Browse the repository at this point in the history
  • Loading branch information
gregbreen committed Apr 21, 2023
1 parent 1840bc9 commit 7119504
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The fleet of instances deployed is as follows.
| Ubuntu Server 22.04 LTS | x86_64 (amd64) | t3.micro |
| Ubuntu Server 22.04 LTS | aarch64 (arm64) | t4g.micro |
| Ubuntu Server 20.04 LTS | x86_64 (amd64) | t3.micro |
| Ubuntu Server 18.04 LTS | x86_64 (amd64) | t3.micro |
| Ubuntu Server 20.04 LTS | aarch64 (arm64) | t4g.micro |
| Windows Server 2022 | x86_64 (amd64) | t3.small |
| Windows Server 2019 | x86_64 (amd64) | t3.small |

Expand Down
4 changes: 2 additions & 2 deletions lib/greengrass-ec2-device-farm-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class GreengrassEC2DeviceFarmStack extends cdk.Stack {
const ami_ubuntu_2204_x86_64 = this.getUbuntuAmi('22.04', 'amd64');
const ami_ubuntu_2204_arm_64 = this.getUbuntuAmi('22.04', 'arm64');
const ami_ubuntu_2004_x86_64 = this.getUbuntuAmi('20.04', 'amd64');
const ami_ubuntu_1804_x86_64 = this.getUbuntuAmi('18.04', 'amd64');
const ami_ubuntu_2004_arm_64 = this.getUbuntuAmi('20.04', 'arm64');

// Windows first because it's slowest to come up
this.createInstance('windows-server-2022', ami_windows_server_2022);
Expand All @@ -51,7 +51,7 @@ export class GreengrassEC2DeviceFarmStack extends cdk.Stack {
this.createInstance('ubuntu-22-04-x86-64', ami_ubuntu_2204_x86_64);
this.createInstance('ubuntu-22-04-arm-64', ami_ubuntu_2204_arm_64);
this.createInstance('ubuntu-20-04-x86-64', ami_ubuntu_2004_x86_64);
this.createInstance('ubuntu-18-04-x86-64', ami_ubuntu_1804_x86_64);
this.createInstance('ubuntu-20-04-arm-64', ami_ubuntu_2004_arm_64);

new cdk.CfnOutput(this, 'Key Pair Name', { value: this.keyPair.keyName });
new cdk.CfnOutput(this, 'Download Key Command', {
Expand Down

0 comments on commit 7119504

Please sign in to comment.