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

Example adding instances from EC2? #78

Open
vsoch opened this issue May 11, 2023 · 0 comments
Open

Example adding instances from EC2? #78

vsoch opened this issue May 11, 2023 · 0 comments

Comments

@vsoch
Copy link

vsoch commented May 11, 2023

Hi! 👋 I'm new to terraform, and I'm looking to create a set of EC2 instances that can see one another. I've done this on Google Cloud, and for that strategy I use a common module to setup networking, and then I have some logic in the startup script to use the Google metadata API to get the ips for other instances. I'm looking for a similar setup for AWS. To be specific, my questions are:

  • Is there an example using this module alongside creating instances that can easily see one another?
  • What are best practices to share ip addresses between the instances?

Thanks for your help!

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

No branches or pull requests

1 participant