RDS InvalidParameterCombination - Combination working before

0

When trying to create a DB instance with Terraform, I'm getting the following error:

Creating RDS DB Instance (xxxxx): InvalidParameterCombination: RDS does not support creating a DB instance with the following combination: DBInstanceClass=db.t2.micro, Engine=postgres, EngineVersion=12.17, LicenseModel=postgresql-license. For supported combinations of instance class and database engine version, see the documentation.

I have successfully created PostgreSQL instances with this combination (db.t2.micro, PostgreSQL 12.17) numerous times in the past, and I still have several of them running smoothly. According to the documentation, this setup should be supported, as t2.micro instances are compatible with PostgreSQL versions up to 12.x.

Additionally, the Terraform code I am using has been tested and was fully functional as of a month ago. I am running the same code again, but with a different instance name, to create another instance identical to the previous one.

Any tips? Thanks

1개 답변
1
수락된 답변

Hello.

Can you check "db.t2.micro" by running the command below?
By the way, I checked "us-east-1" and "us-east-2", but "t2.micro" did not appear in the output.
In other words, "t2.micro" cannot be used.
I think the documentation is probably not up to date.
Therefore, I think it is necessary to use something like "t3", which is the successor of "t2.micro".
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#Concepts.DBInstanceClass.RegionSupport

aws rds describe-orderable-db-instance-options --engine postgres --engine-version 12.17 --query "*[].{DBInstanceClass:DBInstanceClass,StorageType:StorageType}|[?StorageType=='gp2']|[].{DBInstanceClass:DBInstanceClass}" --output text --region "your used region" | grep "t2"

If you have an RDS that uses “t2.micro”, you should have received an email from AWS stating “[Action required] End-of-life date is approaching for Amazon RDS for PostgreSQL database instances on M4, R4 , T2 instance types” from AWS.
The email stated that starting March 11, 2024, you will no longer be able to launch RDS instances using "t2".

profile picture
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
  • Thank you very much for the response! Indeed, I had an email about it. As of March 11, the creation of RDS instances with M4, R4, or T2 was disabled. As you said, it seems that the documentation is outdated regarding this issue. Thank you again for the help

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인