Code Monkey home page Code Monkey logo

rde's People

Watchers

 avatar  avatar

rde's Issues

Figure out secret management

There are 3 main types of secrets that need to be managed:

  • an ssh key to get into the instance
  • access to github (could be the ssh key or github access tokens)
  • API keys for projects.

First idea is to try to use one password cli (op) for as much as we can, but otherwise can look into doppler or other managed services if needed.

Install dependencies

  • Docker
  • Node.js
  • Terraform
  • AWS CLI
  • SSH key
  • packer
  • jq
  • op (1password)
  • zsh
  • fzf.sh
  • z
  • pure prompt
  • gh

Create CI/CD pipeline

This should be executed on a GH action instead of my local machine. That way I
can ensure it doesn't rely on any magic knowledge already available on my
machine (ssh keys, AMI id...)

Delete AMI if it exists

At the moment we're creating an AMI with a given hardcoded name (rde-ami).
To make the script idempotent, we want to make sure that image is deleted if it
exists.

Add Readme

Explain:

  • [] What this is
  • [] What problem it solves
  • [] Structure (directories, tools)
  • [] How to run
  • [] Status

Create tracer bullet

The end goal is to have a cloud machine that I can spin up and down on demand
with all my tools and configuration ready. Some thoughts:

  • I should be able to turn instance on and off, ideally from the ipad (so can't assume cli). I wonder if this can implemented intuitively with github actions, or maybe a lambda and a simple web form.
  • On accessing, I should be able to access any gh repos, machines... etc that I'm working on. We could take this a step further and play with the idea of pre-built repos from gitpod.
  • All state should be kept outside of the image. This includes secrets (ssh keys, API keys...), assets. I should be able to recover state at any point.
  • Image configuration should ideally be automated, as in if I install a tool or change something in my machine, this should trigger a packer build so it's ready for next time.

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.