Permalink
Browse files

Updated the outline and slides for the 2011 version. Code/scripts to …

…follow.
  • Loading branch information...
1 parent 924cec6 commit b6ee9c15ddb48aa784dc96e767b9bb279e8b5937 @jacobian jacobian committed Mar 9, 2011
View
32 notes/changes.txt
@@ -5,6 +5,35 @@ The deployment world changes quickly, and I'm trying to keep these
examples up-to-date with recent changes. To that end, I'll explain
here all the changes I make as I update the tutorial.
+March 2011 (PyCon)
+------------------
+
+A pretty major re-work based on experience doing this class over the last
+year. The outline's different, and a few of the technologies themselves have
+changed/improved. There's more of a focus on the web servers themselves (as
+oposed to database servers and such) and more expository material (as opposed
+to demos). The big changes are:
+
+* Switched from Fumblerooski to Mingus as the example application. The need
+ for a data file to go with Fumblerooski and the additional overhead of the
+ needed Buildout config makes this a bit too much.
+
+* Because of the above switch, I've dropped Buildout in favor of
+ virtualenv/pip.
+
+* Added coverage of Gunicorn, though there's no config because Gunicorn's just
+ that easy.
+
+* Memcached and Pgpool get much briefer references, though I've kept the
+ configs around for those who want to see 'em.
+
+* Added some very basic Chef/Puppet coverage as well as an example Chef config
+ for the mini-cluster built in the example. I don't yet have the equivalent
+ Puppet setup because I'm a few years out of date in my Puppet knowledge. I'd
+ appreciate it if someone could contribute an equivalent to contrast/compare.
+
+* Added Vagrant config for using local VMs.
+
July 2010 (OSCON)
-----------------
@@ -24,4 +53,5 @@ July 2010 (OSCON)
replication/clustering story. Also, in previous classes this was the
least "interesting" part according to attendees. So, it's been dropped so
that I can spend more time on the other parts. Instead, I'll cover
- replication as part of the "what's next" roundup at the end.
+ replication as part of the "what's next" roundup at the end.
+
View
0 notes/pycon2011/pycon2011-email.txt → notes/pycon2011/email.txt
File renamed without changes.
View
55 notes/pycon2011/script.txt
@@ -0,0 +1,55 @@
+1. Getting started [9:00 - 9:30]
+ * The big picture.
+ * Overview of where we're going.
+ * Introducing Mingus.
+ * Demo: bootstrap the example app on web1.
+
+2. Database server: PostgreSQL [9:30 - 9:50]
+ * Why a separate database server?
+ * Why PostgreSQL?
+ * Basics of configuring PostgreSQL.
+ * Demo: deploy PostgreSQL on a db server.
+ * Demo: wire the Django app up to the separate server.
+
+3. Application servers: mod_wsgi, gunicorn [9:50 - 10:30]
+ * What's an application server?
+ * Introducing mod_wsgi
+ * Configuring Apache and mod_wsgi
+ * Demo: deploy the application on a single server under mod_wsgi.
+ * Introducing Gunicorn
+ * Demo: deploy the application using Gunicorn
+
+[Break: 10:30 - 10:50]
+
+4. Automation [10:50 - 11:10]
+ * Why automate?
+ * What's Fabric?
+ * Our first fabfile.
+ * Demo: re-deploy with Fabric.
+
+5. Multiple web servers [11:10 - 11:25]
+ * Why multiple web servers?
+ * "Shared nothing"
+ * Dealing with media.
+ * Demo: deploy w/Fabric onto multiple servers.
+ * Demo: crash a web server.
+
+6. Load balancers [11:25 - 11:40]
+ * Introducing nginx
+ * Using nginx as a reverse proxy
+ * Demo: set up nginx to proxy to multiple machines.
+
+7. Connection middleware [11:40 - 11:50]
+ * What's connection middleware?
+ * Connection middleware options.
+
+8. Next steps. [11:50 - 12:20]
+ * Caching, config. management, redundancy, replication, monitoring,
+ searching, queuing, …
+ * Some suggestions
+
+BONUS: Configuration management:
+ * CFM basics.
+ * Some tools.
+ * Chef vs. Puppet.
+ * Demo: intro to Chef.
View
BIN slides/pycon2011/pycon2011.pdf
Binary file not shown.

0 comments on commit b6ee9c1

Please sign in to comment.