ec2 windows server with working public ip .

-1

Hello, I have set up a new ec2 windows server 2022 with a public ip . the rdp worked fine but the public ip is not windows ip. hopefully if possible i want it without a nat . ( this is not a website , it's an http/https listener and all worked at home with server 2022 with ngrok (doesnt need IIS manager) ) . I have gone to a point now where i deleted my instance , network interface , vpc .Now , setting a vpc and then creating a new instance results the rdp not answering . please write the extract steps and order for this to work . thanks .

asked 21 days ago185 views
9 Answers
0

That was a vague answer . my question is not whether the windows instance has an internet connection ( that is obvious). My question is that i want the windows ip to be a public ip . how do i set the network interfaces ? . if there still will be a a private ip , i need that the public ip will forward to the private ip , and the other way ... like ngrok .

answered 20 days ago
  • just if this had been missed ; if there still will be a a private ip , i need that the public ip will forward to the private ip , and the other way ... like ngrok .

0

why is there an option not to create a private subnet , and an option to attach the elastic ip to an instance (not to a network interface ) ?

answered 21 days ago
0

My main focus is now that i cant seem to create an instance that can be accessed on rdp .

answered 21 days ago
0

Thanks very much , Yes , that was the issue , an RDP rule for my ip that i am connecting from . But again , i messed everything trying to get a public ip recognized by windows . so my routine would be now , delete the instance , delete vpc ( and all associated ) , create a vpc with all associated ( an option for NAT) + RDP rule , not sure if now is the elastic ip creation , create the windows instance. maybe now is the elastic ip allocation step , here is where i really get lost , in this point do i have an elastic ip network interface ( that has the elastic ip ) and also a nat network interface that may have an elastic ip ? , where does the elastic ip goes ? , do i need the 2 network interfaces for the windows to recognize the public ip ?

answered 21 days ago
0

In assigning a public ip (also elastic/static ip) i have already succeeded before . Windows cant see this public ip , i guess that this is where the nat takes place ??? This is my problem .

answered 21 days ago
0

My question is that i want the windows ip to be a public ip . how do i set the network interfaces ? . if there still will be a a private ip , i need that the public ip will forward to the private ip , and the other way ... like ngrok .

answered 20 days ago
0

What about forwarding like ngrok ? public to private forwarding .

answered 20 days ago
0

What about forwarding like ngrok ? public to private forwarding .

answered 20 days ago
0

i dont want to use ngrok. this is just an example what i want to do . i want to forward the public ip to the private ip . HOW TO DO IT WITH AMAZON AWS EC2 ? if you dont know . write me that you dont know , and let other people answer . up until now all your answers regrading this issue where not to the point . This port forwarding is the whole essence existence of amazon aws . they wouldn't be if this would not be possible.

answered 20 days 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.

Guidelines for Answering Questions