Skip to main content

Easier Docker based deployments to AWS.

Project description

Requirements:

  • Python 3.6
  • ssh
  • ssh-agent
  • gpg
  • psql
  • awscli
  1. Configure your AWS credentials as usual (aws configure).
    1. fuku profile ls to see available profiles.
    2. fuku profile sl <name> to select your profile.
  2. fuku profile bucket <bucket> to set a workspace for Fuku.
    1. fuku region ls to see available regions.
    2. fuku region sl <region> to select a region.
    1. fuku cluster ls to see available clusters.
    2. fuku cluster sl <cluster> to select a cluster.
    3. Enter password to access cluster key file.
    1. fuku app ls to see available apps.
    2. fuku app sl <app> to select an app.
    1. fuku pg ls to see available DBs.
    2. fuku pg sl <db> to select a DB.
    3. 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 save <name>

fuku session load <name>

To download the current database:

fuku pg dump

To overwrite a database with new content (CAUTION):

fuku pg restore <filename>

To access one of the nodes in the cluster directly:

fuku node ssh <name>

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.5
Filename, size File type Python version Upload date Hashes
Filename, size fuku-0.0.5.tar.gz (36.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