<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cdk on $&gt;sh 'hello-friend.sh'</title><link>/tags/cdk/</link><description>Recent content in Cdk on $&gt;sh 'hello-friend.sh'</description><generator>Hugo</generator><language>en-us</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener"&gt;CC BY-SA 4.0&lt;/a&gt;</copyright><lastBuildDate>Mon, 01 Jan 0001 00:00:00 +0000</lastBuildDate><atom:link href="/tags/cdk/index.xml" rel="self" type="application/rss+xml"/><item><title>Fail-closed VPC</title><link>/blog/2026/09/02_aws-network-setup/</link><pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate><guid>/blog/2026/09/02_aws-network-setup/</guid><description>&lt;blockquote&gt;
&lt;p&gt;IPTABLES(8)&lt;/p&gt;
&lt;p&gt;Each chain is a list of rules which can match a set of packets. Each rule specifies what to do with a packet that matches. This is called a `target&amp;rsquo;, which may be a jump to a user-defined chain in the same table.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hello there!&lt;/p&gt;
&lt;p&gt;I have been using this setup to deploy VPCs in my own projects and dev environments for a while. It did the job, so at some point I decided to clean it up, make it better, and pull it out into its own project. That is &lt;a href="https://github.com/trucoit/cdk-vpc-vpn-gw"&gt;cdk-vpc-vpn-gw&lt;/a&gt;. It is a VPC with public subnets, optional private subnets, and an optional egress gateway that can carry a VPN. This is a brief comment on how it works and why it looks the way it does. The &lt;a href="https://github.com/trucoit/cdk-vpc-vpn-gw#deploy"&gt;README&lt;/a&gt; has the deploy steps, so I am not repeating them here.&lt;/p&gt;</description></item></channel></rss>