Reputation: 1507
Does anyone know how to connect to an AWS Cloud9 Node.js application from the internet?
I have set up the Security Group and the Subnets as per the instructions.
I just don't know how to bind the server to the EC2 instance public DNS and port.
Any help appreciated.
Upvotes: 0
Views: 320
Reputation: 75
If you mean getting the Public IP, you would first make one using these steps based on if you need a permanent one or not.
Auto-Assigning Public IPv4 Address (Temporary IPv4 Address) (instructions here). This normal type of public IP will be changed upon every EC2 stop or termination, so if you want a permanent public IP, you would need to make an Elastic IP.
Elastic IPv4 (Permanent IPv4 Address) (instructions here). Do keep in mind that Elastic IP's have requirements that need to be met in order to remain free (requirements here)
To get your public IPv4 for your EC2 instance afterward, you would:
Please let me know if this isn't what you meant.
Upvotes: 1