New-Deploy containers directly to Amazon EKS clusters with AWS Marketplace for Containers
Tags: aws, devops, containerapps, docker
Published: 2022-12-21 02:05:33

This new feature simplifies the discovery, deployment, and management of third-party software such as [Kubecost](https://aws.amazon.com/marketplace/pp/prodview-asiz4x22pm2n2?sr=0-2&ref_=beagle&applicationId=AWS-Marketplace-Console), [Teleport](https://aws.amazon.com/marketplace/pp/prodview-hd2ydsrgqy4li?sr=0-1&ref_=beagle&applicationId=AWS-Marketplace-Console#pdp-pricing), [Tetrate](https://aws.amazon.com/marketplace/pp/prodview-rm6w3vwyibt46), [FactorHouse](https://aws.amazon.com/marketplace/pp/prodview-vgghgqdsplhvc), [Upbound UXP](https://aws.amazon.com/marketplace/pp/prodview-uhc2iwi5xysoc), and [Dynatrace](https://aws.amazon.com/marketplace/pp/prodview-brb73nceicv7u). Commercial and packaged open-source software from [AWS Marketplace](https://aws.amazon.com/marketplace) can now be deployed to Amazon EKS clusters. The Amazon EKS console, APIs, Command Line Interface (CLI), or other Infrastructure as Code (IAC) tools such as Cloudformation and Terraform can be used to deploy.


Customers using Amazon EKS can now find and deploy third-party operational software to their EKS clusters via the EKS console or command-line interface (CLI), eksctl, AWS APIs, or infrastructure as code tools like [AWS CloudFormation](https://aws.amazon.com/cloudformation) and Terraform. All software in the AWS Marketplace is constantly scanned for common vulnerabilities and exposures (CVEs), giving you peace of mind when deploying software to your EKS clusters.

By default, add-ons which require access to other AWS services will attempt to use the permissions associated with the worker node IAM role. As a best practice, you can instead use IAM roles for service accounts to associate an IAM role to an EKS add-on that requires IAM permissions. You then no longer need to provide extended permissions to the node IAM role so that the add-on can call AWS APIs. You can pass an IAM role to the add-on as part of its configuration when you start it or at any time as an update.

When using IAM roles for service accounts, the trust relationship is scoped to your cluster and service account so that each cluster and add-on combination requires a unique role.

**Deploying AWS Marketplace for Containers to Your EKS Clusters**
To get started, in the Amazon EKS console, go to your EKS clusters, and in the Add-ons tab, select Get more add-ons to find new third-party EKS add-ons in the cluster setting of your existing EKS clusters.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pyqmxllqjw8hxipicvge.png)



AWS provides a list of Amazon EKS add-ons as well as a list of products from independent software vendors as AWS Marketplace add-ons. You can use the search bar to narrow down your options by categories, vendors, and pricing models. Select Next after checking your favorite add-ons.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mq5vaafpf2ifg69r46px.png)


Configure selected add-ons, such as the version and some optional settings for each add-on, in the following step. Step 3 allows you to review and add third-party add-ons to your EKS cluster.



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p628wnzvhm72gjxblnbb.png)


If you do not already have a Kubecost subscription, you will be directed to the AWS Marketplace website to complete the subscription.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/10f380083n388gzre5a1.png)


Subscribe to the software through the AWS Marketplace. Accept the end user license agreement (EULA), choose the version of software to deploy, and finally, if necessary, configure the software.



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1a3bb37r3v730rzdmyj9.png)
The Kubecost add-on is now deployed!

To check the status of the add-on at any time, you can visit the Add-Ons tab in the cluster info page.

Watch video demo

{% embed https://youtu.be/L3KY5ujOZn0 %}

For more details refer- [Amazon EKS add-ins from independent software vendors](https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html)

---