Skip to content

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

asked 2 years ago440 views

4 Answers
0
Accepted Answer

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

answered 2 years ago

EXPERT

reviewed 2 years ago

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

answered 2 years ago

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

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.