Should I Use Ansible or Docker for My App Deployment?

0
8
Asked By SunnyBreeze27 On

I'm trying to decide between two options for running my application: either setting up 20 identical virtual servers in each datacenter using Ansible to configure them, or using container images with Docker. Which approach is better for my needs?

3 Answers

Answered By ContainerGuru99 On

Honestly, I'd go with Docker every time. Running individual apps in virtual machines is becoming outdated. Containers are more efficient and manageable. You can use a mix of containers and Ansible to deploy them, so why not utilize both?

EarlyCareerDev -

Thanks for the insight! I'm just starting my career and can choose between containers or VMs, so this really helps. It seems like containers are the way to go in the long run.

Answered By CloudCrafter88 On

If you’re managing 20 servers, have you considered using Kubernetes? It allows you to orchestrate your containers effectively. Without it, pairing Ansible and Docker might work out well too.

Answered By TechSavvyJoe On

It's really hard to say what's better without more context. The choice depends on the specific requirements of your application. If you're just starting out, Ansible might be a feasible short-term solution, especially since you're already familiar with VMs.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.