Frequently Asked Questions

Product Information & Setup

What is Sedai and how does it optimize AWS EKS deployments?

Sedai is an autonomous cloud optimization platform that uses AI to optimize cost, performance, and availability for AWS EKS (Elastic Kubernetes Service) deployments. It analyzes resource usage, traffic patterns, and application behavior to make safe, gradual optimizations—such as adjusting CPU and memory allocation—without requiring manual intervention. Sedai's patented approach ensures continuous validation and safety checks, minimizing the risk of incidents or SLO breaches. Note: Sedai requires integration with supported monitoring tools like Prometheus for full functionality. Learn more.

How do I set up Sedai with AWS EKS and Prometheus?

To set up Sedai with AWS EKS, start by creating a free Sedai account and selecting AWS EKS as your resource type. You'll connect your AWS account using IAM roles and can deploy the Sedai agent via Helm or kubectl. For monitoring, integrate Prometheus by installing it in your Kubernetes cluster and connecting it to Sedai. The process typically involves launching a CloudFormation stack, copying the ARN, and following guided prompts in the Sedai UI. Initial onboarding takes about 15 minutes. Note: Additional setup may be required for complex environments or integrating with other tools. See the Getting Started Guide.

What monitoring and integration options does Sedai support?

Sedai supports integration with popular monitoring and APM tools such as Prometheus, Datadog, Cloudwatch, and Azure Monitor. It also integrates with Kubernetes autoscalers (HPA/VPA, Karpenter), CI/CD tools (GitHub, GitLab, Bitbucket, Terraform), ITSM platforms (ServiceNow, PagerDuty, Jira), notification systems, and serverless platforms like AWS Lambda and AWS Fargate. Note: Some integrations may require additional configuration steps. See all integrations.

Features & Capabilities

What are the key features of Sedai for AWS EKS optimization?

Sedai offers autonomous optimization for AWS EKS, including dynamic resource allocation, pod scaling, and network configuration tuning. It continuously learns from application behavior, adapts to traffic changes, and optimizes for both cost and performance. Key features include safety-by-design (continuous health verification, automatic rollbacks, incremental changes), release intelligence (tracking cost and latency per deployment), and full-stack coverage across compute, storage, and data. Note: Sedai's learning period is typically two weeks, during which it adapts to your environment. Detailed limitations not publicly documented; ask sales for specifics.

How does Sedai ensure safe optimizations in production environments?

Sedai's patented approach to autonomous optimization emphasizes safety by making gradual, incremental changes and continuously validating system health. It features automatic rollbacks, health verification, and SLO enforcement to prevent incidents or outages. Unlike tools that make all-at-once changes, Sedai's optimizations are designed to avoid SLO breaches and maintain application reliability. Note: For highly regulated environments, consult Sedai's security documentation for compliance details. See security details.

What technical documentation is available for Sedai users?

Sedai provides a comprehensive Getting Started Guide, a Kubernetes Optimization Guide, and a platform overview. These resources cover onboarding, setup, and best practices for optimizing Kubernetes and AWS EKS environments. Access the documentation at docs.sedai.io/get-started and the resources page at sedai.io/resources. Note: Some advanced topics may require direct support from Sedai's technical team.

Performance & Results

What measurable results can I expect from using Sedai with AWS EKS?

In a hands-on tutorial with the AWS Retail Demo App, Sedai reduced EKS deployment costs by 52%, increased CPU utilization by 21%, and decreased memory usage by 28%. Latency improvements included reducing response time from 373 ms to 82 ms under low traffic, and from 6070 ms to 4624 ms under very high traffic (a 25% reduction). These results were observed over a two-week optimization period. Note: Actual results may vary based on workload and traffic patterns. See the full tutorial.

How long does it take to implement Sedai and see initial optimizations?

Initial onboarding for Sedai takes approximately 15 minutes for agentless or agent-based deployment to begin reading metrics from your environment. There is a two-week learning period during which Sedai adapts to your application's behavior and starts making optimizations. Initial improvements can be observed during this period, with further gains as Sedai continues to learn. Note: Integrating with CI/CD or other tools may require additional setup time. See onboarding guide.

Pricing & Plans

What is Sedai's pricing model for AWS EKS optimization?

Sedai uses a volume-based pricing model, charging based on the specific resources optimized (such as Kubernetes pods, ECS tasks, VMs, etc.). There is a free tier and a 30-day free trial available, allowing you to evaluate the platform before committing. All costs are transparently listed on the Sedai pricing page. Note: For Kubernetes environments, it is recommended to book a demo to discuss your unique needs and determine the best pricing structure. Book a demo.

Security & Compliance

What security and compliance certifications does Sedai have?

Sedai is SOC 2 certified, demonstrating adherence to stringent security requirements for data protection and compliance. This certification ensures Sedai meets industry standards for handling sensitive information. For more details, visit the Sedai Security page. Note: For additional compliance needs, contact Sedai's support team.

Use Cases & Success Stories

What types of companies and industries use Sedai for AWS EKS optimization?

Sedai is used by companies in cybersecurity (e.g., Palo Alto Networks, KnowBe4), financial services (Experian), healthcare, e-commerce (Wayfair, Campspot), IT and technology (HP, Freshworks), consumer goods (Belcorp), and digital commerce (Informed). These organizations use Sedai to optimize cloud costs, improve application performance, and automate operational tasks in AWS EKS and other environments. Note: Some industries may require additional compliance or integration steps. See customer stories.

Can you share specific customer success stories with Sedai?

Yes. For example, KnowBe4 achieved up to 50% cost savings and saved $1.2 million on AWS bills using Sedai. Palo Alto Networks saved $3.5 million in cloud costs. Belcorp reduced AWS Lambda latency by 77%, and Campspot achieved a 34% reduction in Lambda latency. These results demonstrate Sedai's ability to deliver measurable cost and performance improvements. Note: Results may vary by environment and workload. Read KnowBe4's story | Read Palo Alto Networks' story.

Pain Points & Problems Solved

What common pain points does Sedai address for AWS EKS users?

Sedai addresses pain points such as high cloud costs, operational toil (manual scaling and configuration), performance and latency issues, lack of proactive issue resolution, and complexity in multi-cloud or hybrid environments. It automates repetitive tasks, rightsizes workloads, and proactively resolves issues before they impact users. Note: For organizations with highly custom or legacy environments, some manual tuning may still be required. See solution briefs.

Support & Implementation

What support resources are available for Sedai users?

Sedai provides technical documentation, onboarding guides, and a resources page with solution briefs and case studies. For additional support, users can contact Sedai's technical team or schedule a demo for personalized assistance. Note: Some advanced troubleshooting may require direct engagement with Sedai's support engineers. See resources.

Sedai Logo

Optimize AWS EKS Cost & Performance using AI: Hands on Tutorial with AWS Retail Demo App & Sedai

AS

Arjun Sahney

Content Writer

August 18, 2023

Optimize AWS EKS Cost & Performance using AI: Hands on Tutorial with AWS Retail Demo App & Sedai

Featured

Overview

Sedai, an AI-powered cloud optimization software, is a powerful tool any developer can easily use. Assuming one has an AWS account (if not, see tutorial here),

Setting up the Retail Demo App

For this example, we are optimizing a sample e-commerce store that is built for an Elastic Kubernetes deployment as part of the EKS workshop. The EKS workshop is linked here and to deploy it, one simply needs to follow the steps through the Introduction to Fundamentals module.

64de5b2d2d84e112268b1abc_7LhSS9zr4GipgIkY2dpJ3PX4T4-cFQxd7-Nb03JFOPl8yuXWmR6QWstjncMrH1vj2Z6meehHo0-f9BOt_uoKiDNbWORYtNi40HosX7RRxufbLYTweCyaYiJcGIbHTAI4U_CVTNB0yTQgruxokUUWBtE.webp

Set up Sedai 

The first step is to go to the Sedai website at sedai.io and begin by clicking the Start Free button as displayed below.

64d50cca724443736a03a41f_wdHlK7Ak1K370i_OYTZcrW1JQCUOMtn7u8HDjY7sPjsTfDvnZQA6qcQVjbxXasIRe_WchcdRKSYvqR4DTBWqUf6OK2GxvX_AnGDNzAg0pMTWpLFE-ysl2Ji-jwqf1806c0NeTV-tFsDGIRrPPz83hQo.webp

Once you click the button, you are prompted to a simple account creation page to input your basic information for a one-month free trial. After signing up, you will begin an introduction to the autonomous tools used. Here, you can easily specify your goals and resource type for your application (ECS, EKS, Lambda, and Kubernetes compatible). As we’re deploying a Kubernetes application, we are going to select AWS EKS as seen below.

64de5b2d7e9cc9b0f04304ab_bEegeoK89BmzpNpO7YJUwuu7nfX7Ah2P12MhrKIS8oWGdU6K92zJDet1hW3i24zgwzEopr3HF9Nn4WGuv0d4XgfkCSxzEpLVnBDQ6b9G5axnblFq4ZLnAsgjJWOKsJcZmQt5vwVObhTxM46di2tc2xM.webp64d50d0c903e06cc05df8757_Oc6yn4VaDun6mYXbVvrlNGDREC1h36yuOTFuDfyxD9RbP0UBnQ0XI4_KgYqlNppTCqNjk3pZGBO9rIwCqumPNyUIeWqGIvqA29lhKIrzcTusbDpcsBbC48aBw2o3inTBnD6uYKOqmqQDQFE0Uks2mWg.webp

 The next step involves connecting to your cloud account through the AWS Identity and Access Management pins on your account. If you are slightly unfamiliar with this, simply click the “Launch CloudFormation” button to create a stack in your AWS account, which will prompt you to create a stack – press create.

After that, simply go to your stack and copy and paste the ARN in the outputs tab.

Once this is done, you will receive instructions to connect a Sedai agent to your AWS account either through the helm or kubetcl command. Simply copy and paste your command of choice to your terminal or Cloud9 IDE.

Once this is done, you will be prompted to select a monitoring platform. For the sake of ease, we will be selecting the Prometheus monitoring platform, which is easy to integrate with AWS. We will cover the steps to integrate Prometheus below.

Integrating Prometheus

When using the Elastic Kubernetes Service with Sedai, one needs to integrate a monitoring platform into your AWS account. There are many options that Sedai supports, but for the sake of ease, we will install Prometheus. The first step is to download Prometheus locally from the website. Once this is done, you should follow the steps from the blog post linked here.

66b5f54dc61aa90288902280_64de62baa28afb080d46e289_Command.webp

After Prometheus is connected (check progress through kubectl get pods command) and the server is running, connect your local endpoint to Sedai. 

64de5b2de707c6804be0b462_sRdc2Lv8235VKEk3HJb2ymMiEFsZLtEvLqmnbuWrFOYUYS6TOK04-26Onf8W0wfw4e7fucJ4ICE08vlXx9vCbFUrPNkLcnG-NDLx-vn5rwJnH2xXSiLU9u4CniXKNr28mQNT5i3yijzsa_UI80GC5KE.webp

The final step is connecting the Sedai smart-agent through the helm or kubectl command the interface provides and wait for the pods to be ready. 

64de5b2dda47ad1d31fbd497_zp_Brwx7eng09UBI3A7Z4HMCr2C_uibrBtxFdCONmiF64x5FEiTxJbccB0-fLimr-JoWS-WqtShlAF5MPMPpS3uXaFUQSf9qMTjJKpQFYFQrWRvG9qTd51dc7yaNPVQiUHCI0RL8MbD4IzXQWz5Kqqo.webp

Congratulations – once you complete this step, you are ready to launch Sedai! Once you launch the UI, you will be prompted to a homepage with a directory bar on the left to specify the different tools and modes you can access, while the main page will simply display your activity on the application. 

Once you are ready to begin your optimization process, click on the Topology tab and specify the cloud name.

64d50d54aa6dfbb87d8e059e__RcOBFPKdvGtOQ7Qyov4VxImy9IV1sqTuCKodIInk89cEswurMNzkl3pWH1uUUYRi1WzpLnw8bZfLr-lwhCtEdFVJTsJD4UJtv4TJXIyKsAr22fVk5wUKlL3pzqjHyGJHCRmRcJejW4jBmGj8rLWsxQ.webp

Simulating Traffic

To effectively simulate the software for a variety of different-sized e-commerce stores, we simulated four different loads of traffic/engagement for the e-commerce site: new startup (low), growth company (medium), established (high), and market leader (very high). This was done through the Locust framework, where each traffic bot engaged with the website’s product and payment functionality. The GitHub repository for the traffic simulation is linked here.

Optimizing with Sedai

When you have selected your desired cloud, cluster, application, etc., you can see the optimization/availability actions. Once you are ready to optimize your resource, first look at the optimization opportunities to see the projected impacts of optimization.

64de5b2ec8b0021f45e5fac7_5W7B9X26bnbkkBnEXBzVxwu3QtElkGTWRjtcVeHFi61ski2gY1byS-gjI7uTPE0mB8KkBZolKFqeQ3HcgFxis3tvi9K7QeIWXq_QTYlYHOPQXIELlJosLcb4jnFbk56zjC5ItGybgIaJ8pCkviO6Dnw.webp

Then, you can specify your optimizations and availability if you go to the settings and topology page as seen below: 

64de5b2e2115f4c8d5127eec_ifbfHuwkPKFYIVfyndjfYWbl01skeZfXhPGtt0wtFpJCKIt2Xz2dfmw8_OE9tM-s2KyELGFXDbaFgYJsULnK6X8-3-vm-3DLDEGKQosnC2zhBB7ob1LlcThKDELwdTAj0bbpC5NasBa9MMTGlG7RaHc.webp

After specifying your optimizations, you should be all set! Sedai does have a two-week learning period based on the data it ingests; however, there will be initial optimizations, where you can begin to see differences

Reviewing Results

We ran Sedai for cost and latency optimization for a two week period and saw significant results that will be described below. The EKS Demo Store underwent 4 different traffic levels -- low, relatively low, medium-high, and  high. For the sake of brevity, we will focus on the relatively low, medium-high, and extremely high traffic levels as we review the results.

The most significantly affected metric throughout all of the traffic levels was cost. Sedai's optimization tools managed to optimize cost and reduce it by 52% -- a profound change to the cost configurations. The autonomous software did this by increasing CPU utilization by 21% and decreasing memory use by 28%. This combination, in addition to the node group configuration, which was optimized at its current level of 1, led to a significant cost decrease in overall traffic levels as we can see below.

66b5f54fc61aa9028890233e_651635fb463a304f3e1fb870_Sedai.webp

Furthermore, we can see evidence of this CPU and Memory optimization (in turn affecting cost) below. Specifically, we can see the different components of the app decreasing or increasing in CPU and Memory. In turn, we can see the effect on savings as seen on the far right.

66b5f54fc61aa9028890229d_651636d3a170ca9b5b35a0be_Sedai%25201.webp

Now, as we move on to latency, we can observe the difference in latency between the different traffic levels:

66b5f54fc61aa902889022bb_6516467ea368e1dec4c3310c_Low.webp

In the context of low traffic conditions, the comparison between optimized and unoptimized software performance reveals significant disparities. Despite the modest user count, the unoptimized state exhibited a notably higher failure rate, suggesting inefficiencies in handling even minor traffic fluctuations. Moreover, the optimization process yielded a substantial improvement in response time, reducing it from 373 ms to a swift 82 ms. This stark contrast underscores the critical importance of software optimization, even when dealing with limited traffic, to ensure reliability and enhance user experience.

66b5f54fc61aa902889022aa_6516468e419a26abc69a503d_High.webp

Under high-traffic scenarios, the comparison between optimized and unoptimized software performance yielded interesting insights. While the optimization didn't significantly reduce the number of failures, suggesting the system's inherent robustness, it did lead to a notable enhancement in response times. Specifically, the response time was trimmed down from a lagging 3169 ms to a more efficient 2208 ms post-optimization. This improvement emphasizes the value of optimization in ensuring timely responses, crucial for maintaining user satisfaction and engagement during peak traffic periods.

66b5f54fc61aa902889022ad_651646a36fb9882d90c94c03_Extremley%2520High.webp

In situations of very high traffic, the software's performance metrics presented some remarkable outcomes. Despite facing a significantly increased number of requests, optimization efforts proved their worth by achieving a marked reduction in latency. The response time was effectively brought down from a prolonged 6070 ms to a more manageable 4624 ms, translating to a decrease of over 25%. This substantial improvement, even under intense traffic loads, underscores the pivotal role of optimization in enhancing system responsiveness and ensuring a smoother user experience.

Conclusion 

The performance and reliability of EKS deployments can be significantly influenced by specific configurations and deployment strategies. Minor optimizations in EKS configurations can lead to substantial improvements in cluster response times and resilience. For instance, a study by Google showed that a 1% reduction in page load time can result in a 2% increase in conversions. Amazon discovered that a 100ms decrease in response time can elevate customer satisfaction by 1%. Additionally, Microsoft's research indicates that a 10% reduction in latency can boost productivity by 5%.

Sedai, with its advanced optimization capabilities, has been especially successful in enhancing the performance of EKS deployments. By optimizing pod scaling, resource allocation, and network configurations within EKS, Sedai ensures faster application response times and minimizes cost significantly. This not only improves user experience for applications hosted on EKS but also drives customer satisfaction and potentially higher revenue. With streamlined server-side processes within the Kubernetes cluster, applications become more responsive, ensuring efficient access to required resources. The true value of Sedai lies in its potential to offer a robust and seamless experience on EKS deployments, fostering increased trust and loyalty among end-users. Adopting Sedai is imperative for businesses that aspire to lead in the dynamic world of cloud-native applications and EKS deployments.