Create VPN Server with CDK Go
- VPC
- 1 public subnet
- EC2
- t4g.nano instance
- EIP
- IGW
- Create KeyPair
- AWS CLI credentials configure
- run
make bootstrap PROFILE=your_profile_name REGION=your_region ACCOUNT_ID=your_aws_account_id
- edit
PSK
andUSERS
inresources/scripts/user_data.sh
VPN Setting https://support.apple.com/ja-jp/guide/mac-help/mchlp2963/12.0/mac/12.0
make diff PROFILE=your_profile_name REGION=your_region
make deploy PROFILE=your_profile_name REGION=your_region