Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.
/ c2-autoscaling Public archive

autoscaling based on awx and croc cloud

Notifications You must be signed in to change notification settings

Ubun1/c2-autoscaling

Repository files navigation

Prerequesits

  • Terrafor 0.10.x - 0.11.x
  • Terraform aws provider > 2.x
  • aws cli > 1.1x

Installation

# Tested on Fedora 28
git clone https://github.com/Ubun1/c2-autoscaling.git
cd c2-autoscaling
mkdir .venv
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
# install terraform
# create ./terraform/terraform.tfvars file with appropriate values
# install aws-cli and configure aws cli profile in .aws/config

Usage

make deploy
make tags
make alarms
# check instances up and running:
AWS_PROFILE=<profile> make ping # whait untill all ping passed
# deploy and configure awx
AWS_PROFILE=<profile> make deploy 
# in case of errors run again:)

Monitoring

./monitor.sh

About

autoscaling based on awx and croc cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published