getting started with mantl
TRANSCRIPT
getting started with mantl
terraform > ansiblemesos | marathon | consul
+etcd/ calico / vault / docker / collectd / logstash
philcryer // @fak3r // 09.04.2015 // thanks
mantl~ aka ~
microservices-infrastructure
mantl~
getting started
DISCLAIMER: this was tested on Debian 8.1 (amd64) on Amazon Web Services on a t1.small in us-east1. As
always, ymmv and we cannot be responsible for lost or stolen articles.
Please lock your doors.
DISCLAIMER2: any system details, hostnames, internet protocol (IP)
addresses, ports, etc that you might see have all been wiped and are no
longer active or accessible. My lawyer made me say this, sorry. Moving on…
ssh to your host
ssh -i ~/.ssh/id_rsa 1.1.1.1
# your values will be different, so go ahead an use yours
install requiredapt-get updateapt-get install -y git curl unzip python-pip python-crypto-dbgpip install markupsafe
install terraform
cd ~; mkdir bin; cd binwget https://dl.bintray.com/mitchellh/terraform/terraform_0.6.3_linux_amd64.zipunzip terraform_0.6.3_linux_amd64.zip
echo "export PATH=$PATH:$HOME/bin" >> .profile ; source .profile
get mantlcd ~git clone https://github.com/CiscoCloud/microservices-infrastructure.git;cd microservices-infrastructure/
install python mods
pip install requirements.txt
mantl~
getting started
prepare aws.tfcp terraform/aws.sample.tf aws.tf
mantl~
security setup
mantl~
comment out consul_acl_datacenter
mantl~
build env
+1 minute
mantl~
deploy to env
+30 minutes
mantl~
marathon
mantl~
mesos
mantl~
consul
mantl~
run docker on marathon
mantl~
cleanup
mantl~
http://mantl.io
philcryer // @fak3r // 09.04.2015 // thanks