跳转到主要内容

Python中的编排和配置管理

项目描述

https://img.shields.io/travis/yaybu/takeoff/master.svg https://img.shields.io/appveyor/ci/yaybu/takeoff/master.svg https://img.shields.io/codecov/c/github/yaybu/takeoff/master.svg https://img.shields.io/pypi/v/takeoff.svg https://img.shields.io/badge/docs-latest-green.svg

Takeoff是一个用于Python的服务编排框架。它提供了一种Python“领域特定语言”(DSL),用于声明复杂的云基础设施,并以幂等方式提供这些蓝图。

您可以在irc.oftc.net的#yaybu频道找到我们。

以下是一个示例Takeofffile

aws = workspace.add_aws(
    region='eu-west-1',
)

vpc = aws.add_virtual_private_cloud(name='example')
vpc.add_internet_gateway(name="internet")

example = vpc.add_subnet(
    name='application',
    cidr_block='192.168.0.0/24',
)

asg = aws.add_autoscaling_group(
    name='example',
    launch_configuration=aws.add_launch_configuration(
        name="example",
        ami='ami-62366',
        subnets=[example],
    ),
)

然后您可以使用以下命令应用此配置

takeoff apply

项目详情


由以下机构支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面