aws:vpc
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
aws:vpc [27/01/2022 11:33] – created - external edit 127.0.0.1 | aws:vpc [31/07/2025 13:08] (current) – andrew | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Virtual Private Cloud (VPC) ====== | ====== Virtual Private Cloud (VPC) ====== | ||
+ | |||
+ | FIXME intro blurb on VPC, AZ, subnets, IG / NAT gateway | ||
+ | |||
+ | {{aws: | ||
+ | |||
===== Show unused Security Groups ===== | ===== Show unused Security Groups ===== | ||
Line 19: | Line 24: | ||
rm security_groups.txt | rm security_groups.txt | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== Get subnets in VPC ===== | ||
+ | |||
+ | |||
+ | < | ||
+ | $ aws ec2 describe-subnets | jq .Subnets.[].SubnetId | ||
+ | " | ||
+ | " | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== IPv4 Regex ===== | ||
+ | |||
+ | |||
+ | This works in Cloudformation to tempate the allowed digits in and IPv4 address. Not exhaustively tested. | ||
+ | |||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | |||
+ | CF Template example:- | ||
+ | <code yaml> | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | This may bea better example:- [[https:// | ||
+ | |||
+ | |||
+ | ===== IPv6 Regex ===== | ||
+ | |||
+ | FIXME | ||
aws/vpc.1643283196.txt.gz · Last modified: by 127.0.0.1