Skip to main content

Easier Docker based deployments to AWS.

Project description

# fuku

Fuku is a (young) system to help manage web application infrastructure using AWS.

## Requirements:

  • Python 3.6
  • ssh
  • ssh-agent
  • gpg
  • psql
  • awscli

## Installation

Standard pip install:

`bash pip install fuku `

## Quickstart


## Quickstart for existing configurations

  1. Configure your AWS credentials as usual (aws configure).

  2. fuku profile ls to see available profiles.

    fuku profile sl <name> to select your profile.

  3. fuku profile bucket <bucket> to set a workspace for Fuku.

  4. fuku region ls to see available regions.

    fuku region sl <region> to select a region.

  5. fuku cluster ls to see available clusters.

    fuku cluster sl <cluster> to select a cluster.

    Enter password to access cluster key file.

  6. fuku app ls to see available apps.

    fuku app sl <app> to select an app.

  7. fuku pg ls to see available DBs.

    fuku pg sl <db> to select a DB.

    Enter password to access PGPASS file.

At this point you have configured your session for a particular cluster, application, and database. For convenience it’s best to cache the session for easy retrieval:

fuku session sv <name>

fuku session ld <name>

## Downloading Current DB

To download the current database:

fuku pg dump <dumpfile>

## Upload DB

To overwrite a database with new content (CAUTION):

fuku pg restore <filename>

## SSH into a node

To access one of the nodes in the cluster directly:

fuku node ssh <name>

## Run an Arbitrary Command

To run a command:

fuku service run <task> <command>

This attaches to a running container from the specified task, then runs the provided command.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fuku, version 0.0.9
Filename, size File type Python version Upload date Hashes
Filename, size fuku-0.0.9.tar.gz (37.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page