Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Scaling: support associatePublicIpAddress in Launch Configuration #1603

Closed
otterley opened this issue Jan 23, 2019 · 2 comments · Fixed by #1604
Closed

Auto Scaling: support associatePublicIpAddress in Launch Configuration #1603

otterley opened this issue Jan 23, 2019 · 2 comments · Fixed by #1604
Labels
@aws-cdk/aws-elasticloadbalancing Related to Amazon Elastic Load Balancing feature-request A feature should be added or improved.

Comments

@otterley
Copy link
Contributor

I can't seem to figure out how to set the associatePublicIpAddress value in the Launch Configuration associated with an Auto Scaling Group. If it's not currently settable, we should add a way to set it.

(Currently, Auto Scaling Group instances only receive an public IP address if the subnet they're placed in has the AssociatePublicIPAddress flag enabled.)

@sam-goodwin sam-goodwin added feature-request A feature should be added or improved. @aws-cdk/aws-elasticloadbalancing Related to Amazon Elastic Load Balancing labels Jan 23, 2019
@rix0rrr
Copy link
Contributor

rix0rrr commented Jan 23, 2019

Does specifying public subnets in vpcPlacement not work?

@otterley
Copy link
Contributor Author

@rix0rrr Only if the subnet has the AssociatePublicIPAddress property set to true. Not all public subnets do, for safety reasons.

rix0rrr pushed a commit that referenced this issue Jan 24, 2019
Allow AssociatePublicIpAddress property to be specified in ASG Launch
Configuration.

Fixes #1603
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-elasticloadbalancing Related to Amazon Elastic Load Balancing feature-request A feature should be added or improved.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants