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

Advanced AI Prompt for Atomic Frontend Deployments on S3/CloudFront

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-atomic-frontend-deployment.txt
Act as a Frontend Infrastructure Architect. Create a zero-downtime GitHub Actions pipeline engineered for atomic deployments of a compiled Single Page Application (React/Next.js/Vite). You must strictly prohibit the destructive overwriting of existing live files in the target [S3_BUCKET]. Instead, the workflow must utilize the AWS CLI to upload the new build artifact into a highly unique, hash-based [VERSION_SUBFOLDER]. Subsequently, execute a command to update the CloudFront Origin Path or invoke an API to update a Lambda@Edge/CloudFront Function to seamlessly point all new incoming traffic to the new subfolder. This mathematically guarantees that users currently navigating the [ENVIRONMENT] site will not request missing Javascript chunks. Finally, trigger a targeted CloudFront cache invalidation strictly limited to `/index.html`.

Example Text Output

"The AI will output a workflow that manages versioned assets and uses AWS CLI to update CDN configurations without overwriting active production files."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Atomic Frontend Deployments on S3/CloudFront" prompt used for?

The AI will output a workflow that manages versioned assets and uses AWS CLI to update CDN configurations without overwriting active production files.

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.