Skip to main content

Python 中的编排和配置管理

项目描述

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

Touchdown 是一个 Python 的服务编排框架。它提供了一个 Python“DSL”,用于声明复杂的云基础设施并以幂等的方式配置这些蓝图。

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

这是一个示例Touchdownfile

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],
    ),
)

然后,您可以使用以下配置应用此配置:

touchdown apply

发布历史 发布通知| RSS订阅