Direkt zum Inhalt

Access EC2 using public IP from the on-prime

0

I have the following: Enter image description here I need to access the EC2 in server VPC using the public IP instead of private IP, any documentations or any demo you can recommend ?

thanks so much !!

gefragt vor einem Jahr220 Aufrufe
4 Antworten
2
EXPERTE
beantwortet vor einem Jahr
EXPERTE
überprüft vor einem Jahr
EXPERTE
überprüft vor einem Jahr
EXPERTE
überprüft vor einem Jahr
0
Akzeptierte Antwort

Do you want to assign a public IP that you own to EC2? The following blog posts and documents may be helpful. Note that it is not possible to bring in only one IP address.

https://aws.amazon.com/blogs/networking-and-content-delivery/introducing-bring-your-own-ip-byoip-for-amazon-vpc/ https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html

EXPERTE
beantwortet vor einem Jahr
EXPERTE
überprüft vor einem Jahr
0

I am sorry I might not have said in a clear way. Actually I need to assign an organization Public IP to the EC2, so the on-prime users can access this EC2 with this Public IP.

Say EC2 has a public IP 4.4.4.4.

thanks !!

beantwortet vor einem Jahr
  • Hello,

    1. Allocate and associate an Elastic IP to your EC2 instance in the AWS Management Console.
    2. Set up NAT or VPN/Direct Connect with BGP in your organization to map your public IP to the EC2's Elastic IP.
    3. Ensure the security group on the EC2 allows the necessary traffic from your on-premises IP ranges.
0

thanks so much !!

beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.