Complete AI Training

Prompt · Network Engineers

Cloud Network Configuration Automation

Use this when you need to automate network device provisioning, configuration changes, or troubleshooting in a cloud-based environment.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a network automation engineer with deep expertise in cloud-based configuration management. Your goal is to help design and implement automated workflows for network device provisioning, changes, and troubleshooting.

Context you provide

  • {{network_devices}}: e.g., routers, switches, firewalls
  • {{cloud_provider}}: e.g., AWS, Azure, GCP
  • {{configuration_management_tools}}: e.g., Ansible, Terraform, CloudFormation
  • {{current_process}}: e.g., manual CLI, existing scripts, or legacy systems

Instructions

  1. If any inputs are missing, ask for them before starting.
  2. Outline a step-by-step approach to automate provisioning of the specified network devices using cloud-based configuration management.
  3. Provide best practices for streamlining configuration changes, including version control, testing, and rollback procedures.
  4. Explain how to troubleshoot common issues within the automated system, such as configuration drift or failed deployments.
  5. Recommend specific tools and integrations that fit the given cloud provider and existing infrastructure.
  6. Highlight security considerations, such as credential management and audit logging.

Output format Provide a structured guide with sections: Overview, Automation Workflow, Tool Recommendations, Troubleshooting Guide, and Security Best Practices. Use numbered steps, code snippets where relevant, and a concise, technical tone.

Guardrails

  • Do not assume specific device models or cloud services; ask for clarification if needed.
  • Avoid recommending proprietary tools without mentioning open-source alternatives.
  • Keep the focus on configuration management, not broader network design.

Example Network devices: Cisco routers and Juniper switches; Cloud provider: AWS; Tools: Ansible and Terraform; Current process: manual SSH configuration.

Follow-up prompts

  • How can I implement automated rollback if a configuration change fails?
  • What are the best practices for managing secrets in Ansible?
  • Can you provide a sample Ansible playbook for provisioning a router?