与技术无关的编排框架
mac的Python项目详细描述
mac
是一个灵活的编排平台。它允许您创建、销毁和组织服务器和基础设施。把我叉到GitHub!
功能
- Orchestrate servers
- Orchestrate production ready infrastructure (golden images, autoscaling groups, load balancers, etc)
- Versioning servers and infrastructure
- Empower Continuous Delivery
- View who is the owner of the resources (servers and infrastructure)
- Interact with your servers using a Command Line Interface, REST Api or Web Interface
- Manage access to servers
- Convert your infrastructure into code
- Orchestrate servers using your existing automation codes (eg Docker, Puppet, Chef, SaltStack, etc)
- Test server configurations easily
- Integrate any technology that can be operated from the command line interface or an API
- Keep the history (including logs) of servers and infrastructure
- Trigger events via WebHooks
- Although Manageacloud is technology agnostic, we have created some shortcuts for easier operation with Amazon Web Services, Google Compute Engine, Rackspace and Digital Ocean
访问documentation或quickstart guide以了解更多信息。
安装
命令行界面
您可以通过执行以下命令来安装cli和任何必需的依赖项:
curl -sSL https://manageacloud.com/mac | bash
您还可以使用pip install:
pip install mac
manageacloud框架的社区版本
manageacloud的社区版本包括服务器后端和命令行界面。 请read here如何安装。
示例
独立应用程序
为ubuntu创建新服务器并安装apache
mac instance create -b "apt-get update && apt-get install apache2 -y" -r ubuntu:trusty
创建新服务器并安装apache for CentOS
mac instance create -b "apt-get update && apt-get install apache2 -y" -r centos:7
要安装wordpress
mac instance create -c basic_wordpress_installation
基础设施
您可以使用我们的[quickstart guide](https://manageacloud.com/quickstart)了解有关如何编排基础结构的更多信息
- 以下示例:
- 在aws中创建实例和负载平衡器
- 部署应用程序和版本version\u 2
这个基础结构有一个name和一个version,这使得它非常适合于一些场景,比如蓝绿色的部署。
mac -s infrastructure macfile https://goo.gl/ezRWx1 -p INF_VERSION=2APP_BRANCH=version_2