I'm trying to create a cloud automation system using Bash scripting that enables me to manage my tasks dynamically across various cloud platforms. My key objectives are to set up automation once (possibly starting with Azure or AWS) and then apply the same logic to other clouds, like AWS and GCP, while minimizing vendor lock-in. I also want to automate tasks like VM setup, resource management, deployments, and overall operations. I'm looking for advice on architecture or best practices, along with any existing frameworks, tools, or patterns that support cloud-agnostic automation. If anyone has experience with something similar or can point me in the right direction, I would really appreciate it! Thanks!
4 Answers
Honestly, Terraform is the tool you should be checking out. It can abstract interactions with AWS, Google Cloud, and Azure effectively. It's a solid fit for what you need if you dig into it.
First things first, I'd advise against using Bash for this task. It might not be the best choice for complex cloud automation.
Have you looked into Terraform? You can definitely execute Bash commands with it too. But I'm curious why you specifically want to stick to Bash?
I prefer Bash because it's faster and works almost anywhere. Since I'm just starting out with cloud tech, I'd love your guidance on the best route.
If you're set on doing this manually, consider using Python along with the Azure SDK. It might simplify your process. Here's a helpful link for the docs: [Azure SDK for Python](https://learn.microsoft.com/en-us/python/api/overview/azure/mgmt-web-readme?view=azure-python)

Can you suggest a more suitable option for me?