FQDN for EC2

0

Hi,

I have troubles in accessing EC2 machines from a network behind a firewall because the IP is keep on changing and we cannot allow unrestricted access.
Could you please give me the FQDN or the list of FQDN for EC2?

Thank you,
Cristina

질문됨 6년 전1175회 조회
3개 답변
0

The public DNS name is the FQDN for an EC2 instance.
You can use describe-instances API to get the public DNS name of an EC2 instance:
https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html

답변함 6년 전
0

Hi fengaws,

Do you refer to public dns? This would not help at all since it contains the ip inside - so every time the ip changes, also the dns name will change. The public DNS name has the format: ec2-ip.region.compute.amazonaws.com.

Do you have the FQDN of EC2? So the possible ip list for the EC2 machines? I am interested to know when an Ec2 machine starts that this is the ip list where the machine can chooses its ip from.

Thank you,
Cristina

답변함 6년 전
0

Hi Cristina,

As this question concerns best practices for EC2 specifically, you will be able to get the best support on the AWS EC2 forums here: https://forums.aws.amazon.com/forum.jspa?forumID=30

I would recommend opening this thread over there and they can help you out.

답변함 6년 전

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

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

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

관련 콘텐츠