Im using LAMP stack droplets. Im looking for automated deployment tool or method to push my code on multiple servers at once. Im using Load balancer for 2 droplets. When i push some code to droplet1, it should also be auto deployed to server2. I tried using Git hooks 2014 answer from DO Community, but was not successful. Or how to use RSYNC or any method? Actively looking for answers.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @lalithaxlrose,
There are multiple ways of doing this and using rsync to copy files over is a really good idea however there are tools generated exactly for configuration management like Ansible, Puppet and many others. I’ll recommend checking out the two I mentioned and seeing which one would you like more.
Ansible is the new technology while Puppet as a little older one however based on your needs, you’ll decide which one to use as they have some differences.
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.