How Can I Build a Cloud-Agnostic Bash Automation System?

0
8
Asked By CloudyDayz99 On

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

Answered By CloudHopper99 On

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.

Answered By TechieTommy On

First things first, I'd advise against using Bash for this task. It might not be the best choice for complex cloud automation.

BashNinja23 -

Can you suggest a more suitable option for me?

Answered By DevGuru89 On

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?

CloudyDayz99 -

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.

Answered By CodeWizard45 On

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)

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.