This demo will do a CDK demo guide you how to share a VPC cross various CDK projects.

How AWS Lambda works with SSM Secure string
Env: VScode, Mbpr, aws-cdk:1.25.0, Typescript Implementation By default I hope I can inject SSM secure string to a Lambda, unfortunately,…

Fix node-gyp error on Mac
MacOS version: 10.15.3 CatalinaNode: 12.x LTS If you got this node gyp error, then here will be you solution. Reinstall…

Allowing AWS Lambda reaching Internet via NAT and VPC
Here is the example show you that how to route AWS Lambda to internet through VPC and NAT

Debian buster setup Openconnect VPN with valid SSL certificate
A short and easy step by step tutorial about how to setup your own Openconnect VPN on Debian with SSL

CURL 101 on Linux
Curl using Dns-over-HTTPS ( DoH) If the site only accept tls1.3 If the site only accept tls1.2 Upload a file…

Raspberry Pi auto-start script
There are three ways to start a script or program on startup. Env: Raspberry Pi 3, 4 (Debian 10 or…

Prevent BaiduSpider from crawling your site
Method 1: User-agent block Method 2: robots.txt Method 3: Block IP Method 4: .htaccess Photo by Nicolas Picard on Unsplash

Ocserv self-signed Certs
Deploy your own CA ENV: Debian 10 Buster 64bitDependencies: GnuTLS Install GnuTLS and Generate key Make a CA Template Let’s…

Resize network storage on Hetzner VPS
Debian 10 64bitStorage format: ext4 As you see here, I have old network storage currently is 20GB I changed from…