# Nitor Deploy Tools
[![Build Status](https://travis-ci.org/NitorCreations/nitor-deploy-tools.svg?branch=master)](https://travis-ci.org/NitorCreations/nitor-deploy-tools)
[![Coverage Status](https://coveralls.io/repos/github/NitorCreations/nitor-deploy-tools/badge.svg?branch=master)](https://coveralls.io/github/NitorCreations/nitor-deploy-tools?branch=master)
## Released version 1.51
Nitor deploy tools are a set of tools to implement a true Infrastructure As Code workflow
with AWS and CloudFormation.
## Rationale
We at Nitor are software engineers with mostly a developer or architect background, but
a lot of us have had to work closely with various Operations teams around the world.
DevOps has a natural appeal to us and immediately "infrastructure as code" meant for us
that we should apply the best development practices to infrastructure development. It starts
with version control and continues with testing new features in isolation and a workflow
that supports this. Our teams usually take into use a feature branch workflow if it is
feasible and we expect all of the tools and practices to support this. For infrastructure
this type of branching means that you should be able to spin up enough of the infrastructure
to be able to verify the changes you want to implement in production. Also the testing
environment should be close enough to the target environment for the results to be valid.
So the differences between testing and production environments should be minimized and
reviewable.
With the popular tools like Ansible, Terraform, Chef etc. you need to come up with and
implement the ways to achieve the goals above. As far as I know, no tool besides ndt
has at it's core a thought-out way of a branching infrastructure development model.
## What it is
nitor-deploy-tools works by defining _Amazon Machine Images_, _Docker containers_,
_Serverless services_ and deploying _[CloudFormation](https://aws.amazon.com/cloudformation/)
stacks_ of resources.
## Installation
```
pip install nitor-deploy-tools
```
On OSX you may need to add `--ignore-installed` to get around platform installed versions
of `six` and other packages.
## Getting started
To use nitor-deploy-tools you need to set up a _project repository_ that
describes the images you want to build, and the stacks you want to deploy them in. See
[ndt-project-template](https://github.com/NitorCreations/ndt-project-template)
for an example.
Here are few commands you can use. All of these are run in your project repository root.
You need to have AWS credentials for command line access set up.
* To bake a new version of an image: `ndt bake-image <image-name>`
* To build a new Docker container image `ndt bake-docker <component> <docker-name>`
* To deploy a stack:
* with a known AMI id: `ndt deploy-stack <image-name> <stack-name> <AMI-id>`
* with the newest AMI id by a given bake job: `ndt deploy-stack <image-name> <stack-name> "" <bake-job-name>`
* To undeploy a stack: `ndt undeploy-stack <image-name> <stack-name>`
For full list of commands see [here](docs/commands.md)
## Documentation
- [Command Reference](docs/commands.md)
- [ndt workspace tooling](docs/workspace.md)
- [Template Pre-Processing](docs/template-processing.md)
- [Multifactor Authentication](docs/mfa.md)
- [Common parameters](docs/parameters.md)
## Versioning
This library uses a simplified semantic versioning scheme: major version change for changes
that are not backwards compatible (not expecting these) and the minor
version for all backwards compatible changes. We won't make the distinction between
new functionality and bugfixes, since we don't think it matters and is not a thing
worth wasting time on. We will release often and if we need changes that are not comptatible,
we will fork the next major version and release alphas versions of that until we are
happy to release the next major version and try and have a painless upgrade path.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共134个文件
sh:46个
yaml:26个
py:20个
资源分类:Python库 所属语言:Python 资源全名:nitor_deploy_tools-1.51.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | nitor_deploy_tools-1.51.tar.gz (134个子文件)
lpass_ubuntu_17.04 187KB
lpass_ubuntu_16.04 187KB
lpass_ubuntu_14.04 187KB
lpass_ubuntu_16.10 187KB
setup.cfg 260B
MANIFEST.in 297B
win-userdata.txt.j2 496B
win-userdata-unclean.txt.j2 243B
delete-old-snapshots.js 3KB
delete-old-snapshots.min.js 2KB
lpass_centos_7 179KB
lpssh 2KB
README.md 4KB
not-zip-safe 1B
PKG-INFO 434B
PKG-INFO 434B
disk-by-drive-letter.ps1 767B
start-transcript.ps1 484B
prepare.ps1 463B
stop-transcript.ps1 174B
cli.py 42KB
cf_utils.py 36KB
aws_infra_util.py 36KB
cf_bootstrap.py 28KB
volumes.py 19KB
log_events.py 14KB
cf_deploy.py 13KB
profile_util.py 12KB
cloudfront_utils.py 5KB
mfa_utils.py 5KB
__init__.py 5KB
account_utils.py 5KB
ndt.py 5KB
yuuuu3332111i1l1i.py 4KB
project_util.py 3KB
ecr_utils.py 2KB
setup.py 2KB
maven_utils.py 2KB
nitor-dt-enable-profile.py 74B
nitor-dt-load-project-env.py 69B
libjpeg-turbo.repo 258B
newrelic-infra.repo 239B
logstash6.repo 215B
mongodb32.repo 211B
mongodb36.repo 200B
mysql55-community.repo 195B
mongodb34.repo 194B
mysql57-community.repo 154B
newrelic.repo 151B
varnish41.repo 147B
logstash23.repo 136B
nginx.repo 100B
letsencrypt.sh 51KB
bake-image.sh 10KB
jenkins_tools.sh 9KB
tool_installers.sh 6KB
apache_tools.sh 5KB
deploy-stack.sh 4KB
bake-docker.sh 3KB
nexus_tools.sh 3KB
deploy-terraform.sh 3KB
deploy-serverless.sh 3KB
hook.sh 3KB
deploy-cdk.sh 3KB
encrypt-and-mount.sh 3KB
undeploy-serverless.sh 3KB
undeploy-stack.sh 3KB
undeploy-terraform.sh 3KB
autocomplete-helpers.sh 3KB
undeploy-cdk.sh 3KB
ensure-letsencrypt-certs.sh 2KB
lastpass-fetch-notes.sh 2KB
common_tools.sh 2KB
cloud_init_functions.sh 2KB
list-jobs.sh 2KB
print-create-instructions.sh 2KB
fetch-secrets-lpass.sh 2KB
fetch-secrets-vault.sh 2KB
setup-fetch-secrets.sh 2KB
install_tools.sh 2KB
userdata.sh 2KB
create-shell-archive.sh 2KB
nexus-userdata.sh 2KB
ssh-hostkeys-collect.sh 2KB
lastpass-login.sh 1KB
store-secret-lpass.sh 1KB
aws_tools.sh 1KB
post_install.sh 1KB
fetch-secrets-s3.sh 1KB
ssh_tools.sh 1KB
store-secret-s3.sh 905B
assume-deploy-role.sh 891B
store-secret-vault.sh 782B
lastpass-logout.sh 702B
cloud_init_footer.sh 616B
ebs-functions.sh 599B
pre_install.sh 421B
prepare.sh 22B
fail2ban-rundir.te 283B
ssh-authorized-keys-command.te 212B
共 134 条
- 1
- 2
资源评论
挣扎的蓝藻
- 粉丝: 12w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功