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

configure public subnet to map public ip on launch #21

Closed
wants to merge 4 commits into from

Conversation

philvarner
Copy link

since the public subnet will be used most often for batch jobs

Related issue(s)

  • n/a

Proposed Changes

  1. modify the public subnet to auto-assign public IP addresses, so that they can be used in Batch. The main use case in a FilmDrop deployment for EC2 instances is as compute for Batch jobs. Putting these in the private subnet works, but incurs NAT Gateway costs for data transfer. Putting them in the public subnet does not incur these costs, but also doesn't work with Batch unless public IPs are assigned.

Testing

This change was validated by the following observations:

  1. This change was made in the Earth Search deployment, and ECS-created EC2 instances were able to be used by Batch.

Checklist

  • I have deployed and validated this change (as part of Earth Search Cirrus)
  • Changelog
    • I have added my changes to the changelog
    • No changelog entry is necessary
  • README migration
    • I have added any migration steps to the Readme
    • No migration is necessary

…subnet will be used most often for batch jobs
@philvarner
Copy link
Author

closing, needs to be re-worked after recent changes

@philvarner philvarner closed this May 24, 2024
@philvarner philvarner deleted the pv/public-subnet-map branch May 24, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants