By using AWS re:Post, you agree to the Terms of Use

AWS Console - Network ACL - Inbound/Outbound Rules


Is there a way in which I can Export the Inbound Rules for a network ACL?? Currently everytime a new server is created on AWS, and we setup the rules we have to manually key in the inbound rules each time? sometimes they have up to 18 entries on them. Is there a way so export and import these on the console???

1 Answer

You can from within the console use CloudShell to get a CLI for your account. From this CLI you can use the describe network ACLs to get the current, and then use the create-network ACL with the previously exported json to create the ACL programmatically.

In all reality the console should be a last resort for implementing things. Instead I would leverage the CLI or CloudFormation for repeatable infrastructure tasks.

Here's the example for ACLs in CloudFormation:

profile picture
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions