Easier Docker based deployments to AWS.
Project description
# fuku
Fuku is a (young) system to help manage web application infrastructure using AWS. It’s aim is to replicate some of the simplicity of Heroku without the cost.
## Requirements:
Python 3.6
ssh
ssh-agent
gpg
psql
awscli
## Installation
Standard pip install:
`bash pip install fuku `
## Quickstart for new configurations
Configure your AWS credentials as usual (aws configure).
fuku profile ls to see available profiles.
fuku profile mk <name> to make the AWS groups etc required.
fuku profile bucket <bucket> to set a workspace for Fuku.
fuku region ls to see available regions.
fuku region sl <region> to select a region.
fuku cluster mk <name> to create a cluster.
## Quickstart for existing configurations
Configure your AWS credentials as usual (aws configure).
fuku profile ls to see available profiles.
fuku profile sl <name> to select your profile.
fuku profile bucket <bucket> to set a workspace for Fuku.
fuku region ls to see available regions.
fuku region sl <region> to select a region.
fuku cluster ls to see available clusters.
fuku cluster sl <cluster> to select a cluster.
Enter password to access cluster key file.
fuku app ls to see available apps.
fuku app sl <app> to select an app.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file fuku-0.0.12.tar.gz
.
File metadata
- Download URL: fuku-0.0.12.tar.gz
- Upload date:
- Size: 39.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15530b2699e65e87624d4bc6a29db328c965f6bcccced3e6b141a382fa09124b |
|
MD5 | dab4bcf4b205967dc032266c141b0be3 |
|
BLAKE2b-256 | 1dc1c2e9f587a227a781466b7dfae6efd5100f73db8044b048af46a602c1f5d0 |