From 9920c07dcb287254d8a85d72c3401af02c81806a Mon Sep 17 00:00:00 2001 From: Valentin Berlier Date: Mon, 3 Jun 2024 00:34:41 +0200 Subject: [PATCH] infra: switch to t3.micro with amazon linux 2023 --- infra/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/index.ts b/infra/index.ts index bbcaa05..56e5f19 100644 --- a/infra/index.ts +++ b/infra/index.ts @@ -92,8 +92,8 @@ const cloudConfig = pulumi.all({ // Create instance for running the bot const instance = new aws.ec2.Instance('beet-bot', { - instanceType: 't2.micro', // Available in the AWS free tier - ami: 'ami-0022f774911c1d690', // Latest amazon linux AMI + instanceType: 't3.micro', // free tier + ami: 'ami-00beae93a2d981137', // Amazon Linux 2023 AMI vpcSecurityGroupIds: [group.id], iamInstanceProfile: new aws.iam.InstanceProfile('beet-bot-profile', { role: policy.role }), userData: cloudConfig,