Git Product home page Git Product logo

valpower's Introduction

Val(hiem) power!

Turns on and off an EC2 instance with a React web UI powered by a Micronaut backend.

Environment Configuration

You'll need to define the following environment variables to run this project:

AWS_ACCESS_KEY_ID=my_iam_key_id
AWS_SECRET_ACCESS_KEY=my_iam_secret
AWS_INSTANCE_ID=the_instance_id_to_control
AWS_REGION=region_of_the_instance

The IAM account you use will need permission to start, stop, and read the status of the EC2 instance

Build and run

Backend

./mvnw clean install
java -jar target/valpower-0.1.jar

Frontend

cd src/main/ui
npm install
npm start

Docker works too...

./mvn clean install
docker build .

Infrastructure

Hosted on GCP Cloud Run. Interaction will trigger start/stop in AWS ec2

valpower's People

Contributors

coffbr01 avatar

Watchers

 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.