For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
const https = require('https'); | |
async function httpsGet(hostname, path, headers) { | |
return new Promise(async (resolve, reject) => { | |
const options = { | |
hostname: hostname, | |
path: path, | |
port: 443, | |
method: 'GET', |
# Usage: | |
# aws cloudformation --region <region> create-stack --stack-name <stack name> --template-body file://vpc-fargate.yaml | |
# This template will: | |
# Create a VPC with: | |
# 2 Public Subnets | |
# 2 Private Subnets | |
# An Internet Gateway (with routes to it for Public Subnets) | |
# A NAT Gateway for outbound access (with routes from Private Subnets set to use it) | |
# |