Passer au contenu

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 !!

demandé il y a un an220 vues
4 réponses
0
Réponse acceptée

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

EXPERT
répondu il y a un an
EXPERT
vérifié il y a un an
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 !!

répondu il y a un an
  • 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 !!

répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.