GithubHelp home page GithubHelp logo

kalleeh / herogate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wata727/herogate

0.0 2.0 0.0 206 KB

Heroku + AWS Fargate = Herogate :rocket: Deploy and manage containerized applications like Heroku on AWS

License: MIT License

Dockerfile 0.19% Makefile 0.37% Go 99.44%

herogate's Introduction

Herogate

GitHub release MIT License

Heroku + AWS Fargate = Herogate ๐Ÿš€ Deploy and manage containerized applications like Heroku on AWS.

Overview

Herogate wraps management services on AWS and provides a Heroku like interface. All updates are done via CloudFormation, including targeting CodePipleline, CodeBuild, AWS Fargate, CodeCommit etc.

When pushing the new source code to CodeCommit, the Pipeline executes and a new image is built on CodeBuild. Finally, CloudFormation updates Fargate's service with the created image.

For details, you can see internal section in the documentation.

Installation

Currently, you need to build from the source code when installing.

$ go get -d github.com/wata727/herogate
$ cd $GOPATH/src/github.com/wata727/herogate
$ make install

Production Ready?

No. This is a highly experimental project. It should not be used in a production environment.

Currently, we don't provide a migration path from the old version. This means that you cannot bump up version without downtime.

Quick Start

1. Create an app

You can create an app on AWS by the create command:

$ herogate create your-first-app
Creating app... 0%

This process takes about 5 minutes. After that, the remote repository is automatically added locally as herogate.

$ git remote -v
herogate ssh://git-codecommit.us-east-1.amazonaws.com/v1/repos/your-first-app (fetch)
herogate ssh://git-codecommit.us-east-1.amazonaws.com/v1/repos/your-first-app (push)

2. Open the app

You can see the created app via browser.

$ herogate open

Congratulations! ๐ŸŽ‰ Your first app is now available.

3. Create your Procfile

You can run arbitrary containers by creating Procfile.

$ cat Procfile
web: bundle exec rails server
worker: bundle exec rake jobs:work

4. Deploy new app

You can easily deploy new app with git push.

$ git push herogate master

Deployment logs can be seen with herogate logs. Unlike Heroku, git push is completed soon.

$ herogate logs

Usage

Please check the documentation for details.

Developing

This project requires Go 1.9 or higher. You can build and install with make install.

$ make install

Author

Kazuma Watanabe

herogate's People

Contributors

wata727 avatar pocke avatar

Watchers

James Cloos avatar Karl Wallbom 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.