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

ECS Fargate Networking: AWSVPC Mode and Security Group Automation

Customize the variables below to instantly engineer your prompt.

Required Variables

ecs-fargate-awsvpc-networking-security-automation.txt
Act as an AWS Network Engineer. Write a highly modular [CDK_LANGUAGE] (TypeScript/Python) script utilizing the AWS CDK to securely provision the fundamental networking layer for an isolated ECS Fargate service operating within [VPC_ID]. The architecture must strictly mandate the `awsvpc` network mode, forcefully deploying all tasks deep into the private, non-routable [SUBNET_IDS]. Automate the programmatic creation of a dedicated Task Security Group engineered with absolute least-privilege: it must only accept ingress traffic on the specific [INGRESS_PORT], and that traffic must be strictly limited to originating solely from the Application Load Balancer's distinct Security Group ID. Conclude with a technical note explaining exactly how Fargate allocates secondary IP addresses from the subnet CIDR blocks, warning against IP exhaustion.

Expected Visual Output

Expected visual output for ECS Fargate Networking: AWSVPC Mode and Security Group Automation

Example Text Output

"The CDK code provides a secure"

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "ECS Fargate Networking: AWSVPC Mode and Security Group Automation" prompt used for?

The CDK code provides a secure

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.