⚙️
Integrated Digital Engineering on AWS
  • 🚀First Time Users
    • What is IDEA?
    • Install IDEA
      • Pre-Requisites
      • Standard Installation
    • Access your IDEA cluster
      • APIs
      • Virtual Desktops (Linux/Windows)
      • Web Interface
      • SSH
    • File Browser
    • Let's get started
    • Cluster operations
      • Uninstall IDEA
      • Update IDEA cluster
        • Patch IDEA module (idea-admin.sh patch)
        • Update IDEA configuration (idea-admin.sh config)
        • Update IDEA backend resource (idea-admin.sh deploy)
  • 🤖Modules
    • What is a module?
    • Virtual Desktop Interfaces
    • HPC Workloads
    • Cluster Manager
    • Shared Storage
  • 👑Best Practices
    • Analytics
      • OpenSearch
        • Configure your OpenSearch
        • Create your own analytics visualizations
    • Budget
      • Review your AWS spend
      • Control your AWS spend
      • Set up budget per project
    • Security
      • Backup IDEA environment
  • 🧱Architecture
    • High Level Overview
  • 🛠️Developer Portal
    • IDEA CLI utility
    • Developer Onboarding
  • 🚨Help and Support
    • FAQ
    • Raise a bug
Powered by GitBook
On this page
  • Create a new AWS Budget
  • Map your AWS Budget to an IDEA project
  • Map the project to a queue
  • Test the integration
  • Valid Budget
  • Invalid Budget
  • Integration with
  1. 👑Best Practices
  2. Budget

Set up budget per project

PreviousControl your AWS spendNextSecurity

Last updated 2 years ago

On this page, we will demonstrate how to configure a budget for a given project and reject jobs if you exceed the allocated budget

Create a new AWS Budget

Go to AWS Billing, click "Budgets" on the left sidebar and create a new budget

Click "Create Budget" and choose "Customize (Advanced)" to create a "Cost Budget" and configure the Period/Budget Scope based on your requirements.

We recommend you to set up a email notification when your budget exceed 80%

Map your AWS Budget to an IDEA project

You now need to map the AWS Budget to an IDEA project (click here to learn more about project management on IDEA)

On your IDEA web interface, click "Projects" and "Create a New Project". Fill out the form and make sure to "Enable Budget for this Project". Enter the AWS budget name for your project (must match the name of your budget configured on AWS Budget)

You should now see the budget on your IDEA project. Make sure to select your project and click "Actions" > "Enable Project"

Map the project to a queue

Now that you have your IDEA project linked to AWS Budget created, you need to specify which queue(s) you want this configuration to apply. Navigate to IDEA Queue Profile

Select the queue profile and click "Actions" > "Edit Queue Profile" then map your project to the profile.

Test the integration

Valid Budget

With a valid budget, job(s) will be submitted successfully

Invalid Budget

Let's now pretend we ran out of money for a given budget.

Job submission will then be impossible on IDEA

Allow 15 minutes for IDEA to be fully in sync with AWS Budget

Integration with Virtual Desktop Interface (VDI)

IDEA projects can be consumed by multiple modules. In a similar way where HPC WorkLoads will be rejected if a budget has expired, IDEA users won't be able to provision their Virtual Desktop Interface (VDI) until additional budget is available to them.

Example of a project with a monthly budget of $3500
Make sure the name match your AWS Budget
Validate your AWS Budget directly within IDEA
Your IDEA project is now applicable to all queues configured to "compute" profile
No money left for the project assigne to the queue
Unable to submit job because of AWS Budget