Hi guys,
We have 2 ec2 instances lets call them ServerA (old instance) and ServerB (new instance). ServerB is image of ServerA and have identical permissions, security groups and configuration as ServerA and use the same network and VPN.
Now we want to shut down the old server and start using the new one.
On the old server SQS/SNS services seems to work partly, at least we can list the topics, which we can't do with ServerB. The only difference between these instances is that, the old server use the old endpoint URL's and the new one the new endpoints. Locally with ServerB we can use the AWS CLI and run commands, but from the new instance the SNS/SQS connection is timing out without any error. I can confirm other services like ec2, IAM, VPC and so on works fine from the server.
Do we miss something to configure or have to update for the new instance to be able to connect with SNS/SQS services?
Below you can find more information about the OSs:
ServerA:
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
$ aws --version
aws-cli/1.16.300 Python/2.7.16
ServerB:
NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
SUPPORT_END="2028-03-01"
$ aws --version
aws-cli/2.11.20 Python/3.11.3
I can't provide with any error because there isn't.
Regards,
Ivo