1 個回答
- 最新
- 最多得票
- 最多評論
1
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, https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-network-acls.html and then use the create-network ACL with the previously exported json to create the ACL programmatically. https://docs.aws.amazon.com/cli/latest/reference/ec2/create-network-acl.html
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: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkacl.html
相關內容
- AWS 官方已更新 1 年前