DCA Hardened Images

NGINX Web Server (Hardened) on Amazon Linux 2023

NGINX on Amazon Linux 2023, security-hardened for production: minimal package set, SSH key-only access, IMDSv2-only, server_tokens disabled, firewall pre-configured for HTTP/HTTPS, and continuously patched images. This product has charges associated with it for image hardening, maintenance, and support.

View on AWS Marketplace

Why this image

About

This is a repackaged open source software product wherein additional charges apply for image hardening, ongoing maintenance, and support from Derek Coleman & Associates Inc.

NGINX is the world's most widely used web server, reverse proxy, and load balancer. This image delivers NGINX on Amazon Linux 2023 with a production-oriented security baseline applied at build time: the OS package set is minimized, all packages are updated at image build, SSH is restricted to key-based authentication with root login locked, the instance metadata service is enforced at IMDSv2, the firewall ships enabled with only HTTP/HTTPS exposed, and NGINX version disclosure (server_tokens) is disabled. Images are rebuilt and re-scanned continuously so new deployments always start from a currently patched base.

Launch it as a standalone web server, a reverse proxy in front of application tiers, a TLS termination point, or a load balancer for horizontal scale-out.

Pricing (hourly usage, AWS Marketplace)

Instance typeSizeSoftware price
c7i.xlarge4 vCPU / 8 GiB$0.46/hr
c7i.2xlarge8 vCPU / 16 GiB$0.92/hr
c7i.4xlarge16 vCPU / 32 GiB$1.84/hr

Recommended: c7i.2xlarge. AWS infrastructure charges are separate and billed by AWS. Charges stop when instances are terminated. No subscription, no minimum.

Getting started

1. Launch from AWS Marketplace (1-Click or EC2 console).
2. Connect via SSH with your EC2 key pair: ssh -i <key> ec2-user@<public-ip>. Root login is disabled; use sudo.
3. Verify the web server: curl -I http://<public-ip> returns HTTP 200 (NGINX welcome page). Manage the service with: sudo systemctl {status|reload|restart} nginx.
4. Configuration lives under /etc/nginx (add server blocks in /etc/nginx/conf.d); web content under /usr/share/nginx/html.
5. To enable HTTPS, install your TLS certificate and key (e.g. under /etc/pki/nginx), add a server block on 443, and reload; port 443 is already open in the firewall.
6. Sensitive data: there are no passwords or secrets anywhere in this product. Logs under /var/log/nginx may contain client IPs - treat as personal data.
7. Backup: snapshot the EBS volume (it contains all configuration and data).
8. Resources: a single instance uses 1 EC2 instance and 1 gp3 EBS volume; no other AWS resources are created.
9. Support: support@dcassociatesgroup.com.

Support

Email support@dcassociatesgroup.com — business-day response. Covers image operation, the hardening baseline, and launch issues. See support.

Migrating from Bitnami?

This image is a marketplace-native alternative for teams leaving the retired free Bitnami NGINX image. It is not a drop-in copy of Bitnami's layout: Bitnami installs under /opt/bitnami and is controlled with ctlscript.sh, while this image uses the standard Amazon Linux 2023 paths and systemctl shown in the getting-started steps above.

Bitnami is a trademark of Broadcom, Inc. Used for identification only; no affiliation or endorsement implied.