CoreOS on AWS - deploy repo
This repo helps you create and manage a CoreOS architecture on AWS.
It was originally created for the Jury Summons project at MoJ but it can easily be used for any other projects.
Technologies used:
- CoreOS including fleet, etcd, flannel
- Confd
- Docker
- Fabric
- AWS Cloud Formation
Architecture
- VPC containing
- Public Subnets (one per AZ) containing
- ELB
- NAT
- SSH Bastion
- Private Subnects (one per AZ) containing
- Etcd Cluster (1+ instances)
- CoreOS Cluster (1+ instances)
- RDS
- Public Subnets (one per AZ) containing
Getting started
-
create and activate a virtualenv
virtualenv --no-site-packages venv && source venv/bin/activate
-
install dependencies
pip install -r requirements.txt
-
populate your ~/.aws/credentials
-
install fleetctl locally (e.g.
brew install fleetctl
)
Now you can use fabric to create/update your stack, manage your clusters and deploy your code.