Deploy Squid as a caching proxy with domain-level filtering, user authentication, and ACLs to control and accelerate VPC internet access with advanced content filtering and cost optimization.
Squid Proxy Server - Caching Forward Proxy, Web Filter & Gateway
Squid Proxy Server is a production-ready, caching forward and reverse proxy for the web, supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth usage and improves response times by caching and reusing frequently requested content, while providing powerful access controls that make it an ideal secure web gateway, content filter, and outbound internet proxy for your AWS workloads.
Squid is trusted by thousands of organizations worldwide as part of the open-source Squid project community, which has been actively maintained for over two decades.
Why Choose This Pre-Configured Squid AMI?
Domain-level filtering and user authentication - Gain granular control with advanced access controls, user authentication, and content filtering beyond basic outbound connectivity.
Cost efficiency at scale - Reduce data egress costs through intelligent caching of repeated requests.
Pre-hardened and preconfigured - Eliminate hours of manual setup with sensible security defaults, optimized caching configuration, and ready-to-use ACL templates.
Common Use Cases
Outbound internet control for private subnets - Give EC2 instances in a private VPC controlled, audited internet access without exposing them directly to the internet.
Web content filtering - Block or allow websites, domains, and content types to enforce compliance and acceptable-use policies.
Bandwidth saving and acceleration - Cache static and dynamic content to reduce data egress costs and latency.
Reverse proxy / server accelerator - Offload and accelerate origin web servers.
User authentication and auditing - Require LDAP, Active Directory, RADIUS, or POP3 login and log all access for visibility and reporting.
Key Features
Caching and Performance
Cache frequently accessed websites, files, media, and dynamic content
DNS lookup caching
Load balancing with other Squid proxies
SMP CARP clustering for scale and high availability
Access Control and Content Filtering
ACL-based rules for networks, domains, IP ranges, MIME types, and time-of-day
Block or allow instant messaging, coin-mining, and torrents
Webwasher integration for virus filtering and adult content blocking
Authentication
User authentication via LDAP, Active Directory, RADIUS, POP3, database, and more
Transparent and Intercepting Proxy
Traffic interception with WCCPv2 and TPROXYv2
Multiple interception ports, NAT on private networks
Adaptation protocol support (C-ICAP / eCAP) and PHP redirectors
Security and Privacy
Hide users' internal IP addresses from external servers
SSL/TLS interception and caching of HTTPS requests
Hardened CentOS Stream 9 base with unnecessary services disabled
Deployment Details and Requirements
Operating System: CentOS Stream 9, preconfigured and hardened
Minimum Instance: t3.small (2 vCPU, 2 GB RAM) for light workloads up to 50 concurrent users
Recommended Instance: t3.medium or m5.large for production workloads with 200+ concurrent users
Disk: Minimum 20 GB root volume; allocate additional EBS storage proportional to desired cache size (e.g., 50-100 GB for active caching)
Ports: Default proxy on port 3128 (configurable); SSH on port 22
Networking: Place in a public or private subnet depending on architecture; configure security groups to allow inbound on port 3128 from your VPC CIDR
Security Hardening
This AMI is built on CentOS Stream 9 with the following hardening measures applied:
Unnecessary services and packages removed
Firewall rules configured to restrict access to essential ports only
SSH hardened with key-based authentication (password auth disabled)
Regular security patches applied at build time
Getting Started
Launch the AMI from AWS Marketplace and select your instance type
Configure your security group to allow inbound TCP 3128 from your VPC
SSH into the instance and edit /etc/squid/squid.conf to define your ACLs
Restart Squid and configure your clients or route tables to use the proxy
Verify connectivity and review access logs at /var/log/squid/access.log
Full post deployment setup guide is below under vendor resources.
Highlights
Caching web proxy & gateway speeds up browsing and cuts bandwidth/egress costs by caching frequently requested web content. Works as a forward proxy, reverse proxy, or transparent/intercepting proxy.
Access control & content filtering ACL-based rules to allow or block sites, domains, IP ranges, MIME types, and time-of-day access. Authenticate users via LDAP, Active Directory, RADIUS, POP3, or database.
Secure & ready to run hardened, preconfigured Squid deployment with sensible defaults. SSL/TLS interception, WCCP, ICAP/eCAP, and clustering supported out of the box.
AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time.
Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator to estimate your infrastructure costs.
If you are an AWS Free Tier customer with a free plan, you are eligible to subscribe to this offer. You can use free credits to cover the cost of eligible AWS infrastructure. See AWS Free Tier for more details. If you created an AWS account before July 15th, 2025, and qualify for the Legacy AWS Free Tier, Amazon EC2 charges for Micro instances are free for up to 750 hours per month. See Legacy AWS Free Tier for more details.
You pay by the hour for the EC2 instance size you choose to run this Squid proxy server on Linux. Pricing is usage-based, so your hourly software rate depends on the instance type you select. The many options span general-purpose, compute-optimized, memory-optimized, storage-optimized, GPU, and high-memory metal families, from small sizes like t3.nano up to large ones like x1e.32xlarge and u-24tb1.metal. Larger instances offer more CPU, memory, or storage and carry a higher hourly rate. Choose the size that matches your expected proxy traffic and caching load. You run it in your own AWS tenant.
Top-of-mind questions for buyers
What does one hourly charge cover, and what runs on the instance I pick?
Each hour of a running instance covers the Squid proxy software on Linux Ubuntu or CentOS. It arrives pre-configured for caching, with Webmin for web-based management and access-control tuning. You launch it in your own AWS tenant, so your bill combines this software rate with standard AWS instance charges.
Am I charged the hourly software rate when the proxy instance is stopped?
The software rate meters running time only. A stopped or powered-off instance does not accrue the hourly software charge. Underlying AWS storage fees for the disk may still apply while the instance is stopped. Charges resume once you start the instance again.
How do I choose which instance size to pay for based on my proxy load?
Match the instance to your expected traffic and caching needs. Smaller sizes suit low user counts and light caching. Larger compute-, memory-, or storage-optimized sizes handle heavier traffic and bigger cache directories. Since each size has its own hourly rate, pick the size that fits your workload to control cost.
cloudinfrastructureservices.co.uk
Helpful?
Vendor refund policy
We do not currently support refunds, but you can cancel at any time.
How can we make this page better?
Tell us how we can improve this page, or report an issue with this product.
Give us feedbackReport a problem with this product or seller
Legal
Vendor terms and conditions
Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA).
Content disclaimer
Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Latest OS updates installed, simply run 'sudo yum -y update' to install latest updates
Additional details
Usage instructions
Once deployed login via SSH to the instance.
Open up Squid config located /etc/squid/squid.conf
You will need to configure which networks are allowed access to Squid.
The Cloud Infrastructure Services team provides support for this Squid Proxy AMI to help you with deployment, configuration, troubleshooting, and ongoing operation.
Configuration guidance for squid.conf, ACLs, and authentication setup
Troubleshooting connectivity, caching, and filtering issues
Security group and VPC networking recommendations
Guidance on instance sizing and cache storage allocation
Assistance with refund requests
Getting Started After Launch
SSH into your instance using your key pair on port 22
Edit /etc/squid/squid.conf to define your access control lists
Configure your security group to allow inbound TCP on port 3128 from your VPC CIDR
Restart the Squid service and point your clients to the proxy
Monitor access logs at /var/log/squid/access.log to verify proper function
Follow our post deployment setup guide above.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.
This product has charges associated with it for AWS support & maintenance. Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.
This product has charges associated with it for support, maintenance, and pre-configuration to be instantaneously deployed on AWS Marketplace with all security and enterprise standards. Squid Proxy Server Image is packaged to leverage cost-effectiveness, scalability, and flexibility.
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.
Be the first to review this product. We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.