How to assign public ip to ec2 instance
raghulkrishna opened this issue · 3 comments
raghulkrishna commented
How to assign public ip to ec2 instance
danielloader commented
This would be surprisingly helpful in some VPC situations. Can't always jam a NAT gateway in.
jpalomaki commented
As this action does not currently support associating a public IP on instance launch (see https://github.com/machulav/ec2-github-runner/blob/main/src/aws.js#L22-L32), you'd need to run the instance in a subnet that is configured for automatic public IP assignment.
See relevant AWS documentation for more information.
jpalomaki commented
@machulav @danielloader Here's a quick stab at it: #57. Let me know what you think.