Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#CICD

Advanced AI Prompt for Blue-Green Deployment on AWS with GitHub Actions

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-blue-green-aws-github-actions.txt
Act as a Senior DevOps Automation Engineer. Design a bulletproof GitHub Actions workflow YAML to execute a true Blue-Green deployment strategy targeting an AWS ECS Fargate cluster. The workflow must explicitly hand off the traffic shifting responsibilities to AWS CodeDeploy. Engineer the following sequential jobs: 1) Compile and push the Docker artifact to ECR. 2) Dynamically render a new ECS Task Definition. 3) Trigger the CodeDeploy `create-deployment` API using the `aws-actions/amazon-ecs-deploy-task-definition` action. 4) The CodeDeploy configuration must utilize the [LOAD_BALANCER_ARN] to route test traffic to the 'Green' target group. Implement an automated rollback trigger that instantly aborts the CodeDeploy shift and reverts to 'Blue' if the new [SERVICE_NAME] container within [ECS_CLUSTER_NAME] located in [AWS_REGION] returns 5xx HTTP codes during the bake period. Utilize strictly keyless OIDC for AWS authentication.

Expected Visual Output

Expected visual output for Advanced AI Prompt for Blue-Green Deployment on AWS with GitHub Actions

Example Text Output

"The AI will generate a YAML configuration for GitHub Actions featuring integrated AWS CLI commands"

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Blue-Green Deployment on AWS with GitHub Actions" prompt used for?

The AI will generate a YAML configuration for GitHub Actions featuring integrated AWS CLI commands

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.