Skip to content

VasylSamoilov/ecore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECORE

Full featured Mesos sandbox

###Objectives

  • The easiest way to learn, rollout and maintain mesos platform
  • No closed artifacts, track everything from source code.
  • Cross cloud / cross region cluster
  • Run all workloads on single pool resources ( no static partitioning )

###Implemented Features

  • Easy for modification and development, since everything, including infrastructure is immutable and managed via the same repository.
  • Security applied starting from DEV
  • Scallability and HA out of the box
  • Mesosphere DCOS cli compatible
  • Automatic OpenVPN tunnel provisioning during cluster bootstrap

###Build blocks

  • Packer same templates to build any server
  • Terraform for real infrastructure as a code
  • CoreOS as a minimalistic basement of any host
  • Docker for anything else
  • Mesos a distribuited cluster kernel
  • Marathon a distribuited cluster kernel

###To be implemented

Quickstart (OS X)

###Prerequesits:

###Get the code:

git clone [email protected]:nixlike/ecore.git 

For Vagrant Local environment

  1. Add vagrant box and start
$vagrant box add nixlike/ecoreallinone   
$cd envtype/vagrant/ && vagrant up  
  1. Wait until the instance up up

  2. Add Openvpn client config:

Double click /tmp/vagrantshare/ADMIN.ovpn in Finder  
  1. Connect Tunnelblick to ADMIN VPN

  2. Test:

$ ping master.mesos   
PING master.mesos (172.17.8.101): 56 data bytes    
64 bytes from 172.17.8.101: icmp_seq=0 ttl=64 time=0.380 ms    
64 bytes from 172.17.8.101: icmp_seq=1 ttl=64 time=0.266 ms   

Via a browser

Urls: http://master.mesos:8080 and http://master.mesos:5050

####If you have DCOS installed, just use ./cli script

$ cd envtype/vagrant/
$ ./cli --help

For AWS (use eu-west-1 region, since ami created there as of now!)

  1. Run
    $cd ecore/envtype/aws/ && make apply

  2. Wait until the environment is up

  3. Add Openvpn client config

Double click /tmp/ADMIN.ovpn in "Finder"
  1. Connect Tunnelblick to ADMIN VPN
$ping master.mesos  
PING master.mesos (10.100.1.234): 56 data bytes  
64 bytes from 10.100.1.234: icmp_seq=0 ttl=62 time=103.687 ms  
64 bytes from 10.100.1.234: icmp_seq=1 ttl=62 time=86.273 ms  
64 bytes from 10.100.1.234: icmp_seq=2 ttl=62 time=87.391 ms  

Via a browser

Urls: http://master.mesos:8080 and http://master.mesos:5050

####If you have DCOS installed, just use ./cli script

$ cd ecore/envtype/aws/  
$ ./cli --help

####Most Terraform template variables can be amended in vars.tf !

About

Mesos Cluster in easy way!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published