degica / barcelona

PaaS built on top of AWS
MIT License
52 stars 6 forks source link

Instance type M6 and Volume gp3, AMI update to Amazon Linux 2 2.0.20230628. #789

Closed matafc closed 1 year ago

matafc commented 1 year ago

Changes

This has been tested on a local instance of Barcelona with the sre-sandbox AWS account.

How to roll out

We can update the instance type and volume type at the same time. Both changes require a bcn district apply, and Cloudformation change set execution. These steps will allow you to only perform it once.

AMI Update

This PR will also update the AMIs of the container instances as described in this guide:

Release notes

Amazon ECS-optimized AMIs - Amazon Elastic Container Service

ECS AMI SSM path: https://ap-northeast-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2/recommended/image_id/description?region=ap-northeast-1 https://ap-northeast-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2/recommended/description?region=ap-northeast-1

And it also updates the AMI for the bastion image.

Bastion AMI SSM path: https://ap-northeast-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2/description?region=ap-northeast-1

degikko commented 1 year ago

@essa can you help us review this PR, please?