跳至內容

Received Server.InternalError while changing the EC2 instance type

0

Hi, I received Server.InternalError when changing the EC2 instance type from r5dn.24xlarge to r5dn.16xlarge. The following is the error message I received from Instance diagnostics. I would appreciate it if you could provide me with a solution. Thanks.

"eventTime": "2025-09-20T02:06:18Z", "eventSource": "ec2.amazonaws.com", "eventName": "ModifyInstanceAttribute", "awsRegion": "us-east-1", "sourceIPAddress": "x.x.x.x.", "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36", "errorCode": "Server.InternalError", "errorMessage": "An internal error has occurred", "requestParameters": { "instanceId": "i-aaaaaaaaaaaaa", "instanceType": { "value": "r5dn.16xlarge" } }, "responseElements": null, "requestID": "3eae7164-0181-4b51-951f-7f96d63f1b95", "eventID": "702f336f-1741-4778-9fb3-75a4772e6237", "readOnly": false, "eventType": "AwsApiCall", "managementEvent": true, "recipientAccountId": "123456789012", "eventCategory": "Management", "tlsDetails": { "tlsVersion": "TLSv1.3", "cipherSuite": "TLS_AES_128_GCM_SHA256", "clientProvidedHostHeader": "ec2.us-east-1.amazonaws.com" }, "sessionCredentialFromConsole": "true"

已提問 2 個月前檢視次數 77 次
2 個答案
0
已接受的答案

If you have EFA configured with this instance. According to the instance specs [1], r5dn.24xlarge supports EFA but r5dn.16xlarge doesn't, which may cause some issues when changing the instance type.

已回答 2 個月前
0

The "Server.InternalError" you're experiencing when trying to change your EC2 instance type from r5dn.24xlarge to r5dn.16xlarge indicates an issue on AWS's side rather than a problem with your configuration or request.

Here are some steps you can take to resolve this issue:

  1. Wait and retry: Since this is an internal server error, the issue might be temporary. Wait a few minutes and try the operation again.

  2. Stop the instance first: Make sure your instance is completely stopped before attempting to change the instance type. The instance must be in the 'stopped' state to modify its type.

  3. Try a different approach: If you're using the AWS Management Console, try using the AWS CLI or SDK instead, or vice versa.

  4. Check for compatibility: Ensure that the new instance type is compatible with your current configuration. Although both instance types are in the same family (r5dn), there might be specific compatibility issues.

  5. Contact AWS Support: If the error persists after multiple attempts, reach out to AWS Support for assistance. They can investigate the specific internal error that's occurring.

Remember to back up any important data before making changes to your instance, especially if it contains data on instance store volumes. Also, if you're not using an Elastic IP address, be aware that your public IP address might change when you stop and start the instance.
Sources
Error codes for the Amazon EC2 API - Amazon Elastic Compute Cloud
Amazon EC2 instance type changes - Amazon Elastic Compute Cloud
Change EC2 instance type | AWS re:Post

已回答 2 個月前
專家
已審閱 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。