ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Chef vs. Ansible

    IT Discussion
    chef ansible open source devops
    4
    18
    3.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dafyreD
      dafyre
      last edited by

      A lot of folks tend to think that an agentless setup is easier. I could go either way, depending on what the product does. For things like backups, provisioning, and server monitoring, I prefer an agent. I don't have any experience with Ansible or Chef, so I can't speak to those. But you can count me in the "Agent, please" camp.

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        In both cases, one would hope that the setup would be automated so that the effort of either would be zero. Once the engineering is done, anyway.

        Spiceworks offers both and the agent based is like 100x easier than the agentless. The agentless is what results in 99% of the support issues.

        1 Reply Last reply Reply Quote 0
        • stacksofplatesS
          stacksofplates
          last edited by stacksofplates

          heres one way with just using a jump box as an ssh proxy

          http://alexbilbie.com/2014/07/using-ansible-with-a-bastion-host/

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates
            last edited by

            You can also do ansible pull, which I haven't looked into yet. It pull in config files and runs them locally.

            1 Reply Last reply Reply Quote 1
            • stacksofplatesS
              stacksofplates
              last edited by

              From their docs:

              Ansible-Pull

              Should you want to invert the architecture of Ansible, so that nodes check in to a central location, instead of pushing configuration out to them, you can.

              The ansible-pull is a small script that will checkout a repo of configuration instructions from git, and then run ansible-playbook against that content.

              Assuming you load balance your checkout location, ansible-pull scales essentially infinitely.

              Run ansible-pull --help for details.

              There’s also a clever playbook available to configure ansible-pull via a crontab from push mode.

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @stacksofplates
                last edited by

                @johnhooks said:

                heres one way with just using a jump box as an ssh proxy

                http://alexbilbie.com/2014/07/using-ansible-with-a-bastion-host/

                That helps for single, big sites, but not for supporting lots of unique sites, like you would get with many SMB shops sharing a server.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @stacksofplates
                  last edited by

                  @johnhooks said:

                  From their docs:

                  Ansible-Pull

                  Should you want to invert the architecture of Ansible, so that nodes check in to a central location, instead of pushing configuration out to them, you can.

                  The ansible-pull is a small script that will checkout a repo of configuration instructions from git, and then run ansible-playbook against that content.

                  Assuming you load balance your checkout location, ansible-pull scales essentially infinitely.

                  Run ansible-pull --help for details.

                  There’s also a clever playbook available to configure ansible-pull via a crontab from push mode.

                  Doing this, there would be no need for the Ansible server at all, I presume.

                  stacksofplatesS 1 Reply Last reply Reply Quote 0
                  • stacksofplatesS
                    stacksofplates @scottalanmiller
                    last edited by

                    @scottalanmiller said:

                    @johnhooks said:

                    From their docs:

                    Ansible-Pull

                    Should you want to invert the architecture of Ansible, so that nodes check in to a central location, instead of pushing configuration out to them, you can.

                    The ansible-pull is a small script that will checkout a repo of configuration instructions from git, and then run ansible-playbook against that content.

                    Assuming you load balance your checkout location, ansible-pull scales essentially infinitely.

                    Run ansible-pull --help for details.

                    There’s also a clever playbook available to configure ansible-pull via a crontab from push mode.

                    Doing this, there would be no need for the Ansible server at all, I presume.

                    Ya looks like you could just pretty much create a git repo and they pull from it.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      Chef can do that too. A lot of people do that. You lose reporting, but it scales like crazy and is very easy to manage.

                      1 Reply Last reply Reply Quote 0
                      • stacksofplatesS
                        stacksofplates
                        last edited by stacksofplates

                        Ya I think it's more suited to central deployments, or small local dev.

                        I'm assuming tower addresses this. It has job scheduling and reporting with some other stuff, but it's fairly expensive.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          Yes, the cost of these hosted management solutions seems unrealistic. I know no one that pays for them and they are priced way out of the scope of the SMB. They only make sense for shops with huge numbers of servers which are also the shops that can easily afford to figure out how to run the systems for free. The people who need it hosted are the ones for whom the value is low.

                          1 Reply Last reply Reply Quote 1
                          • stacksofplatesS
                            stacksofplates
                            last edited by

                            You don't think $5,000 a year for 100 nodes is reasonable?

                            scottalanmillerS DashrenderD 2 Replies Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @stacksofplates
                              last edited by

                              @johnhooks said:

                              You don't think $5,000 a year for 100 nodes is reasonable?

                              Not so much, no. When you consider that the assumption is that many of those nodes are $5/mo to operate. That could be nearly 10% of your entire server budget!

                              stacksofplatesS 1 Reply Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender @stacksofplates
                                last edited by

                                @johnhooks said:

                                You don't think $5,000 a year for 100 nodes is reasonable?

                                That's $5000 for what? updates?

                                I hear you guys talking about Chef and Ansible all the time, but haven't dug into it at all.

                                stacksofplatesS 1 Reply Last reply Reply Quote 0
                                • stacksofplatesS
                                  stacksofplates @scottalanmiller
                                  last edited by

                                  @scottalanmiller said:

                                  @johnhooks said:

                                  You don't think $5,000 a year for 100 nodes is reasonable?

                                  Not so much, no. When you consider that the assumption is that many of those nodes are $5/mo to operate. That could be nearly 10% of your entire server budget!

                                  lol plus thats the base price with only 30 days of support and no SLA ....

                                  scottalanmillerS 1 Reply Last reply Reply Quote 1
                                  • stacksofplatesS
                                    stacksofplates @Dashrender
                                    last edited by stacksofplates

                                    @Dashrender said:

                                    @johnhooks said:

                                    You don't think $5,000 a year for 100 nodes is reasonable?

                                    That's $5000 for what? updates?

                                    I hear you guys talking about Chef and Ansible all the time, but haven't dug into it at all.

                                    Pretty graphs and help installing.

                                    You do get remote job running though, but still.

                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @stacksofplates
                                      last edited by

                                      @johnhooks said:

                                      @scottalanmiller said:

                                      @johnhooks said:

                                      You don't think $5,000 a year for 100 nodes is reasonable?

                                      Not so much, no. When you consider that the assumption is that many of those nodes are $5/mo to operate. That could be nearly 10% of your entire server budget!

                                      lol plus thats the base price with only 30 days of support and no SLA ....

                                      Exactly. Those prices get a bit crazy. $5/year/server would make a lot more sense. There are many cases where I would pay more for Ansible than I would for the server itself!

                                      1 Reply Last reply Reply Quote 1
                                      • 1 / 1
                                      • First post
                                        Last post