Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Deployment Documentation #155

Closed
wants to merge 2 commits into from
Closed

Conversation

dstufft
Copy link
Member

@dstufft dstufft commented Nov 10, 2013

No description provided.

-----------

Warehouse is deployed on Ubuntu 12.04 with the PyPy interpreter. It uses
PostgreSQL as it's database and Elasticsearch for it's search implementation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no apostrophes

@dstufft
Copy link
Member Author

dstufft commented Nov 12, 2013

You've asked a number of questions where the answer is basically "it's controlled by Chef and the Chef cookbooks". I think I'll expand out the documentation to contain more information about the chef side of things which controls the deployment and configuration of the various services that compromise a full Warehouse installation.

Essentially we use Chef to setup all the servers (Build Server which creates the deb packages, App server which hosts the Warehouse application, Search server which hosts the Elasticsearch instance) and we use Jenkins running on the build server to build the deb package that chef deploys to the App servers. All of the configuration of all of those services is controlled by Chef which makes it easy to send out an update to those configurations in a multiple server environment. This will be more important once things are setup so that there can be multiple App servers without needing to manually replicate configuration changes across servers. It also means that Warehouse requires no manual setup besides running the bootstrap command that installs chef on a server and associating the pypi role with that server.

@techtonik
Copy link

Is the server requirements, roles and quantity described in human readable form?

@dstufft
Copy link
Member Author

dstufft commented Nov 16, 2013

Closing this PR in deference to python/psf-chef#77

@dstufft dstufft closed this Nov 16, 2013
@dstufft dstufft deleted the deployment-docs branch November 16, 2013 04:12
@techtonik
Copy link

"it's controlled by Chef and the Chef cookbooks". Chef is ok for bots. If we need human contributors (and not only corporations) there should be human-oriented instruction with a "automated by chef" note. Not vice versa. Or else the system becomes exclusive and "closed" for the majority of Python folks who don't use Chef and Ruby.

@techtonik
Copy link

On importance scale, it is much worse that patent menace. =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants