Giter Site home page Giter Site logo

Comments (3)

mahmoudimus avatar mahmoudimus commented on August 22, 2024

Related to #7

from ansible-base.

mjallday avatar mjallday commented on August 22, 2024

http://serverfault.com/questions/599721/how-do-i-create-dns-entries-for-ec2-instances-created-by-auto-scaling

This is not something you can do with CloudFormation, as its involvement stops at defining the auto-scaling groups - it doesn't got to see the instances started by the ASG. Auto-scaling groups don't give you any way to do this either.
Instead, you could ensure your instances run something on startup to register themselves in Route 53. This post talks about using Chef to do it, but you could do the same thing in a standalone script.

That's assuming no new functionality has been added since then.

The question could be, what's the point of DNS entries? Can we just change the local hostname and be done with it?

from ansible-base.

bninja avatar bninja commented on August 22, 2024

agree w/ this. ansible roles ideally know nothing about aws and so should not be creating aws resources (*-infra does that using cfn and ansible plugins). there may be ways to do this (scaling event to r53 or something) but imo are not worth it (ansible host matching is simple).

from ansible-base.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.