ai infrastructure as code

Best AI Prompts for Brainboard AI

Generate Terraform from AWS, Azure & GCP with AI

Mike Tyson of the Cloud (MToC)
4 min readDec 22, 2023

AI technology is advancing at a remarkable pace, and so are we at Brainboard AI. Our latest feature is designed to revolutionize the initial stages of Infrastructure-as-Code (IaC) diagramming and coding. Rather than beginning from zero, our AI capabilities enable you to transform your ideas into reality more swiftly and efficiently.

terraform chatgpt

To assist you in your infrastructure endeavors, we’ve compiled a selection of prompts that you can immediately explore with Bob, our AI assistant. These prompts are tailored to jumpstart your project, making the process smoother and more intuitive.

Whether you’re working with AWS, Azure, GCP, or OCI, Bob is equipped to guide you through the complexities of IaC, simplifying your workflow and enhancing productivity. Try them out now and experience the future of infrastructure management with Brainboard AI.

AWS AI Prompts

  • Generate AKS cluster with KV and private endpoints
  • Create a Terraform script to deploy a multi-tier web application on AWS, including an RDS database, Elastic Load Balancer, and Auto Scaling Group.
  • Construct a Terraform script for an AWS serverless infrastructure, deploying AWS Lambda functions and setting up an API Gateway for HTTP endpoints.
  • Generate a Terraform script for creating an Amazon EKS cluster with managed node groups, including setup of IAM roles and security groups.
  • Design a Terraform script to create an AWS Virtual Private Cloud (VPC) with both private and public subnets, an Internet Gateway, and NAT Gateways for outbound internet access from private subnets.
  • Create a Terraform script to set up an AWS S3 bucket for active data storage and configure lifecycle policies to automatically transfer older data to Glacier for cost-effective archiving.
  • Develop a Terraform configuration for deploying a highly available AWS RDS database instance in a Multi-AZ setup, including read replicas for load balancing read requests.

Azure AI Prompts

  • Generate a Terraform configuration for setting up a virtual network and multiple subnets in Azure, ensuring network security with Network Security Groups.
  • Create a Terraform configuration to deploy an Azure App Service for a web application, integrating Azure CosmosDB as a NoSQL database service.
  • Create a Terraform configuration for automating the provisioning of Azure managed disks for VMs and setting up snapshot schedules for data backup.
  • Develop a Terraform configuration for deploying an Azure Kubernetes Service (AKS) cluster with advanced networking features, including Azure CNI and Network Policy enforcement.
  • Use Terraform to automate the deployment of Azure Logic Apps for workflow automation, integrated with Azure Event Grid for event-driven triggers and actions.
  • Generate a Terraform script for provisioning an Azure HDInsight Hadoop cluster, configuring it to use Azure Blob Storage as the underlying data storage layer.

GCP AI Prompts

  • Use Terraform to create a Google Kubernetes Engine (GKE) cluster with custom node pools and integrate Google Cloud SQL as a backend database service.
  • Develop a Terraform script to establish network peering between two GCP VPCs and configure firewall rules for secure inter-VPC communication.
  • Create a Terraform script to deploy Google Cloud Functions, configuring environment variables, and linking them with Cloud Pub/Sub for event-driven processing.

OCI AI Prompts

  • Develop a Terraform script to provision an Oracle Cloud Infrastructure (OCI) Object Storage bucket and a Compute instance with attached block storage.
  • Use Terraform to provision an Oracle Cloud Infrastructure Autonomous Database and set up a Load Balancer for distributing traffic to application servers.
  • Use Terraform to establish a secure network connection between an on-premises network and Oracle Cloud Infrastructure using FastConnect and a VPN Gateway.

Multi-Cloud AI Prompts

  • Generate a Terraform script to set up a multi-cloud network architecture, establishing connectivity and shared services between AWS, Azure, and GCP environments.

What’s next? Brainboard AI

We are excited to announce the launch of Brainboard AI’s new feature, Bob, now available to our beta testers. Bob is designed to generate diagrams and Terraform code directly from your prompts. Please note that to generate valid Terraform code, your specific configurations are required.

Our team is committed to continuously improving and expanding this innovative tool. Interested in experiencing Bob’s capabilities firsthand? Join our beta testing program here.

If you think Brainboard is a match for your organization, contact us.

Sign up to discover human stories that deepen your understanding of the world.

Mike Tyson of the Cloud (MToC)
Mike Tyson of the Cloud (MToC)

Written by Mike Tyson of the Cloud (MToC)

As a growth architect in the cloud (AKA Brainboard), I build scalable solutions to drive business growth and improve efficiency while learning to code.

No responses yet

Write a response