Code Monkey home page Code Monkey logo

carbon-aware-serverless-jobs-quarkus's Introduction

Carbon Aware Serverless Jobs - Quarkus Edition

This projects demonstrates how to decarbonize your batch jobs. It utilizes API to find the best execution time window with minimal grid carbon intensity and combines it with serverless AWS services.

The infrastructure is deployed using AWS CDK.

Architecture

architecturecarbonawareserverless

What do I need in order to deploy this?

  1. An AWS account.
  2. An API key for https://carbon-aware-computing.com, see API-Docs
  3. Store API Key from Step 2 in your AWS accounts Parameter-Store with type=SecureString under the name /carbon-aware-computing/api-key

How do I deploy this?

  1. Install JDK 21 or newer (for example Temurin)
  2. Clone this project
  3. Build it using gradlew build
  4. Login to your AWS Account using the AWS CLI
  5. Go to the infrastructure subfolder and run this cdk stack with npx run cdk deploy
  6. Execute the step function CarbonAwareServerlessCACBatchJobsSchedulerQuarkus

carbon-aware-serverless-jobs-quarkus's People

Contributors

wtfjoke avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.