Skip to content

ujjwal-kr/local-ec2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Local EC2

Spin up cloud-style EC2 right on your local setup using Docker. Perfect for test runs or flexing infra skills.

Dashboard Preview

Motivation

  • This can be used for testing within clusters without the hassle of vms.
  • We also use it personally for training people about devops.
  • Plan to implement dev environments using docker managable via a master node. How cool.

What You Need

Before you pull up:

  • Docker 20.10+
  • Python 3.8+
  • Node.js 16+ & npm

Setup

  1. Clone the repo

    git clone https://github.com/ujjwal-kr/local-ec2
    cd local-ec2
  2. Start the backend

    python -m venv env
    source env/bin/activate        # Mac/Linux
    env\Scripts\activate           # Windows
    
    pip install -r requirements.txt
    python api.py                  # Fires up on port 6969
  3. Spin the frontend

    cd ui
    npm install
    npm run dev                    # Hit it at http://localhost:3000

Roadmap

  1. Implement EC2 API compatibility.
    • Frontend Interface to do all this. [on it]
    • SSH via browser because why not.
  2. Develop a custom Elastic Kubernetes Service.
  3. Render AWS out of business.

⚠️ Disclaimer: Not affiliated in any way by AWS.

About

Run an EC2 like instances locally using docker (sort of)

Resources

Stars

Watchers

Forks

Contributors