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

Automate creation of Elastic IPs #2

Open
krisdante opened this issue Feb 4, 2020 · 3 comments
Open

Automate creation of Elastic IPs #2

krisdante opened this issue Feb 4, 2020 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@krisdante
Copy link
Contributor

krisdante commented Feb 4, 2020

Background

Currently, Elastic IPs are created manually by us and provided as IP in settings.

Need

This process could be updated and a new setting to generate EIP added.

With ec2_eip and ec2_eip_info automation can discover (using tags) the proper EIP and use it or create a new one when required.

@krisdante krisdante added enhancement New feature or request good first issue Good for newcomers labels Feb 4, 2020
@krisdante
Copy link
Contributor Author

We did not do it yet, because our workflow is as follows:

  1. We generate EIP
  2. We send EIP do customer and customer assigns it to a domain
  3. We start provisioning with the domain already pointing to an IP

But if the domain would be in Route 53 we could update R53 with autogenerated IP.

We could also have a small maintenance playbook just to generate EIP so there is no need to log in to AWS Console.

@pinkeen
Copy link
Contributor

pinkeen commented Feb 10, 2020

This feature, potentially, suffers from a similar problem as #1 - the newly created EIPs need to be added to project vars (infrastructure configuration). This is a manual step that might be forgotten causing new EIPs to be created on each run.

It'd be best to find a good way to update infrastructure configuration with such runtime generated values.

@krisdante
Copy link
Contributor Author

EIP supports tags, so instead of putting EIP in settings, we can "find it" by tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants