LogoLogo
  • ABOUT
    • πŸ‘‹Introduction
    • πŸ”Safety & Security
    • ♾️CI/CD
    • 🏁Start Here
      • What to Expect
      • Setup Checklist
      • Understanding Operation Modes
  • Get Started
    • Autonomous Cloud Management
      • Connect AWS account
      • Connect Azure account
      • Connect GCP account
      • Connect Kubernetes cluster
        • πŸ€–Sedai Smart Agent
        • EKS Agentless Setup
        • AKS Agentless Setup
        • GKE Agentless Setup
      • Connect Monitoring Data
    • Augmented FinOps
      • Connect AWS Billing Account
      • Connect Azure Billing Account
  • Platform
    • βš™οΈSettings
      • Features
        • Optimization
        • Availability
        • Tag Configuration
      • Groups
      • Schedules
    • πŸ”„Optimization
      • AWS
        • Lambda
        • ECS
        • EC2
        • Storage
      • Kubernetes
      • Azure
        • Azure VMs
      • GCP
        • Dataflow
    • πŸ’‘Release Intelligence
    • πŸ‘οΈActivity
    • 🎯Service Level Objectives
    • 🌐Integrations
      • πŸ–₯️Infrastructure as Code (IaC)
        • Resource to IaC File Mapping
      • πŸ””Notifications
      • 🎫Ticketing & Service Management
    • πŸ”‘Single Sign-On / RBAC
  • Help
    • ❓Technical FAQ
    • Contact support@sedai.io
    • Schedule onboarding call
Powered by GitBook
On this page
  • Cost Optimization for Individual VMs
  • Cost Optimization for Grouped VMs
  • Enabling Memory Metrics

Was this helpful?

  1. Platform
  2. Optimization
  3. AWS

EC2

Learn how Sedai optimizes AWS EC2 instances to decrease cost.

Sedai intelligently recommends optimizations for your EC2 instances. These recommendations are made for individual virtual machines (VMs), as well as VMs grouped by load balancers or tags.

Cost Optimization for Individual VMs

Sedai helps reduce your costs for individual VMs by generating recommendations to switch instance types. Proposed changes will reduce your average monthly spend and on-demand costs, as well as optimize CPU and memory usage.

While autonomous mode is not supported for Individual EC2 instance recommendations, you can review optimization opportunities in the Opportunities page and submit recommendations for execution. You can also make instance configuration changes in the AWS console by taking the following steps:

  1. Sign in to the AWS Management Console using your AWS account credentials.

  2. Open the EC2 Console by searching for "EC2" in the search bar and selecting it.

  3. On the left-hand sidebar in the EC2 console, click on Instances.

  4. Locate the instance you want to change, and stop the instance if it's currently running. You can do this by clicking the checkbox next to the instance name then selecting the Instance State dropdown menu and choosing Instance Settings > Stop Instance.

  5. After stopping the instance, select it again and click the Actions dropdown. Select Instance Settings > Change Instance Type.

  6. In the Change Instance Type dialog box, you will see a dropdown with a list of available instance types. Choose the instance type Sedai has recommended.

  7. Once you've selected the new instance type, click Apply.

  8. Go back to the list of instances and select the one you modified. Click the Instance State dropdown, where you can choose Start Instance to restart your EC2 instance with the new instance type.

Cost Optimization for Grouped VMs

Sedai detects VMs grouped together by either load balancers or cloud provider tags and generates recommendations to decrease costs. This is achieved by:

  1. Changing the total number of instances: Sedai may recommend changing the total number of instances in a VM group to help optimize resource allocation and costs.

  2. Switching Instance Types: Sedai may suggest changing instance types within a VM group based on workload and utilization patterns.

Autonomous execution is not currently supported for VM groups but will be available soon. Until then, you can make changes in the AWS console.

To view optimization opportunities for EC2 instances, go to Optimization > Opportunities and select the Virtual Machines tab.

Enabling Memory Metrics

Once you've installed the agent, Sedai will use memory metrics to generate optimal configurations you can apply to your instances for cost savings or performance improvements. You can view collected memory metrics from the Metrics page of your CloudWatch console.

Last updated 9 months ago

Was this helpful?

While memory metrics are not available by default for EC2, Sedai recommends enabling these metrics for improved EC2 optimizations. You can do this by installing the CloudWatch agent using the or the. You can also install the agent on new instances using a.

To learn more about using the CloudWatch agent for memory metrics, visit.

πŸ”„
command line
AWS Systems Manager
CloudFormation template
CloudWatch Agent docs