This release is a pre-release and may not be stable for production use.
The CGCloud plugin for Mesos lets you setup a fully configured Apache Mesos cluster in EC2 in just minutes, regardless of the number of nodes.
Prerequisites
The cgcloud-mesos package requires that the cgcloud-core package and its prerequisites are present.
Installation
Read the entire section before pasting any commands and ensure that all prerequisites are installed. It is recommended to install this plugin into the virtualenv you created for CGCloud:
source ~/cgcloud/bin/activate pip install cgcloud-mesos
If you get DistributionNotFound: No distributions matching the version for cgcloud-mesos, try running pip install --pre cgcloud-mesos.
Be sure to configure cgcloud-core before proceeding.
Configuration
Modify your .profile or .bash_profile by adding the following line:
export CGCLOUD_PLUGINS="cgcloud.mesos:$CGCLOUD_PLUGINS"
Login and out (or, on OS X, start a new Terminal tab/window).
Verify the installation by running:
cgcloud list-roles
The output should include the mesos-box role.
Usage
Create a single t2.micro box to serve as the template for the cluster nodes:
cgcloud create -IT mesos-box
The I option stops the box once it is fully set up and takes an image (AMI) of it. The T option terminates the box after that.
Now create a cluster by booting a master and the slaves from that AMI:
cgcloud create-cluster mesos -s 2 -t m3.large
This will launch a master and two slaves using the m3.large instance type.
SSH into the master:
cgcloud ssh mesos-master
… or the first slave:
cgcloud ssh -o 0 mesos-slave
… or the second slave:
cgcloud ssh -o 1 mesos-slave
Metadata
Release files for cgcloud-mesos 1.3.1a1.dev200
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cgcloud-mesos-1.3.1a1.dev200.tar.gz | 6.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cgcloud_mesos-1.3.1a1.dev200-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 21.9 kB
Release files / cgcloud-mesos-1.3.1a1.dev200.tar.gz
| Download URL | cgcloud-mesos-1.3.1a1.dev200.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21dbf70a7b932202230f226ed856664224b491303cd407d3bf0646de1c73ea93
|
|
BLAKE2b-256 checksum How to use checksums |
9faad684ba8feba00b1344c0cec099b25d6934f200ade5e8c6a8e733e5bbff69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cgcloud_mesos-1.3.1a1.dev200-py2.7.egg
| Download URL | cgcloud_mesos-1.3.1a1.dev200-py2.7.egg |
|---|---|
| Size | 15.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
1bf42a3db3f0b7f142340a801fb626bcd93758ee769f3eed7a0e755ec77b0add
|
|
BLAKE2b-256 checksum How to use checksums |
21f8aff638d727fcb909f6f01d550e3e6626a2a195d8dd273573e6596617b807
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cgcloud-mesos 1.3.1a1.dev200
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.