I am lucky enough to be back at PyCon UK again this year, https://2018.pyconuk.org/. Lots of talks, workshops and there are sprints to follow. One of the most inclusive and friendly technical conferences I have ever attended, I am glad to be back again this year. I will be adding write ups for the sessions I attend here: https://asset.blogs.bris.ac.uk/tag/pyconuk2018/
Tag: PyConUK
PyCon UK 2017
Yay. I have made it to PyCon UK again this year.
I’m starting on day 2 this year but still glad to be here.
As usual the friendly Python community are making everyone feel welcome.
I shall be posting notes and tips I pick up over the next few days.
Visit the conference site for more information about PyConUK.
Look out for the video uploads of the talks post conference too.
Self-Contained Deployment (Rach Belaid)
Notes taken during a presentation given by Rach Belaid at PyConUK
1620 on Friday
Look up immutable server concept
Docker for devs and administration
Packer https://www.packer.io/
Vagrant docker
Ansible http://www.ansible.com/
He shows various ways to deploy the docker app
Supervisord used in docker to run many processes
Baby steps approach to moving to docker. Normally one container per process
Isolation / sandbox
Docker
James
Google input
Even finance companies are considering it
Only a young project
What
Packaging
1 app = 1 container
What’s the diff
Uses less space, only store what is necessary
Start instantaneously
Use cases :
Development
Test prod architecture
Can combine with Jenkins CI CD
Can use base images
And then keep the docker configuration file clean
Is command line tool, but can use other tools to make simpler
Fig is a helpful tool for creating an infrastructure
Possible mention to http://deis.io/overview/ and Heroku
Almost no down time, if upgrading a component
Look at mounting volumes for running local dev code
Can use another app to orchestrate the dockers apps
textwrap.dedent
Handy util when writing Python code that includes multiline strings: textwrap.dedent