AWS CloudFormation template to create highly available Squid cluster with AWS NLB and Auto Scaling.
- Zip squid configs in a zip archive, where
squid.conf
will be in the root directory unzipped. - Upload zip archive to some S3 bucket
- Create an IAM Instance Profile and grant read access (
GetObject
) on aforementioned object to it - Create an CloudFormation stack and fill in parameters
- Update ingress rules to control access to squid
Optionally, squid-cluster can upload logs to AWS Kinesis Firehose. It installs the agent only if this feature was enabled.
MIT
- Zipped config will be extracted to
/usr/local/squid/etc/
, with /etc/squid/squid.conf linked to /usr/local/squid/etc/squid.conf - It installs squid 3.4 by default, and squid should the failed doing so