packaged by Chainguard
Contact our team to test out this image for free. Please also indicate any other images you would like to evaluate.
A minimal, Wolfi-based, FIPS-enabled image for the AWS Controllers for Kubernetes (ACK) service controller for Amazon Simple Notification Service (SNS).
Chainguard Containers are regularly-updated, secure-by-default container images.
For those with access, this container image is available on cgr.dev:
Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.
Chainguard's aws-sns-controller-fips image is the FIPS-enabled variant of the aws-sns-controller image and a drop-in replacement for it. It is comparable to the sns-controller image published by AWS in functionality: the controller binary is available at /bin/controller (the path the upstream image and Helm chart use) and the image runs as the nonroot user 1000.
This image is built with the go-msft toolchain, so the controller's Go standard-library cryptography is serviced by the OpenSSL FIPS provider (the image includes openssl-config-fipshardened) instead of Go's native implementations. TLS to the Kubernetes API server and to AWS therefore uses only FIPS-approved algorithms. A tampered or missing OpenSSL FIPS module does not silently downgrade to unvalidated cryptography: the toolchain falls back to its own embedded FIPS module, and where that fallback is disabled the process aborts instead of continuing. See the FIPS-enabled images guide for supported configurations and operating requirements.
The controller is deployed with the official ACK (AWS Controllers for Kubernetes) Helm chart, oci://public.ecr.aws/aws-controllers-k8s/sns-chart, published in the ACK registry within the Amazon ECR Public Gallery. Installing it creates the controller Deployment, the custom resource definitions, the service account, and the RBAC it needs.
The chart is released in lockstep with the controller, so each chart version deploys the controller of the same version. List the versions available with:
The controller exits at startup until it has AWS credentials, so give it an IAM identity before installing. On Amazon EKS, annotate the chart's service account with an IAM role that can manage SNS, as described in the ACK guide to configuring IAM permissions. Outside EKS, set aws.credentials.secretName to a Secret holding an AWS shared credentials file instead. Create a values.yaml pointing the chart at this image and that role, replacing AWS_ACCOUNT_ID and IAM_ROLE_NAME with your own:
Then install the chart:
Confirm the controller came up and registered its custom resource definitions:
Once running, the controller reconciles SNS custom resources. The chart installs CRDs for four SNS kinds: Topic, Subscription, PlatformApplication, and PlatformEndpoint, alongside the two shared ACK kinds FieldExport and IAMRoleSelector. For example, to create a topic:
The controller writes the result back onto the resource, so a successful reconcile is visible in its status:
A Subscription can refer to the topic by its Kubernetes name through topicRef, and the controller resolves it to the topic's ARN. This subscribes an existing SQS queue, whose ARN replaces the placeholder below:
The chart's deletionPolicy decides what happens to the AWS resource when its custom resource is deleted. It defaults to delete, which removes the SNS topic, subscription, or platform application along with the Kubernetes object. A PlatformEndpoint is the exception: the controller does not delete endpoints, so deleting the custom resource leaves the endpoint in SNS. Set it to retain when the Kubernetes objects are managed by a pipeline that may recreate or prune them, so that deleting a manifest cannot remove a topic that other systems still publish to:
Apply it with the same chart. helm upgrade --install both creates the release and updates an existing one, so the same command works whether or not the controller is already deployed:
Under retain the controller clears its finalizer and leaves the AWS resource in place. leaderElection is worth enabling alongside it whenever the Deployment runs more than one replica, so only one controller reconciles at a time.
To see every value the chart accepts, including the resource-specific reconcile settings:
Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.
All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.
The main features of Chainguard Containers include:
For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.
In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.
Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.
To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.
To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.
Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.
This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.
Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:
Apache-2.0
GCC-exception-3.1
GPL-3.0-or-later
MIT
NIST-PD
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreementChainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.
SLSA compliance at ChainguardThis image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.
PCI DSS at ChainguardThis is a FIPS validated image for FedRAMP compliance.
This image is STIG hardened and scanned against the DISA General Purpose Operating System SRG with reports available.
Learn more about STIGsGet started with STIGs