Sunday 10 a.m.–10:55 a.m.

Deploying your Django Application to AWS ECS

Ernst Haagsman

Audience level:
Intermediate

Description

Have you written a Django application which runs perfectly using manage.py runserver, but you'd like to know how you can share it with a couple thousand of your closest friends? Come learn how to use AWS's Elastic Container Service to host your application.

Abstract

Why ECS

There are many ways to deploy your application, what are the pros and cons of ECS? Let's have a look at some of the alternatives, and see why ECS could be a good fit for your project.

Designing an Architecture

AWS is really powerful because it lets you design your entire infrastructure as code. This is also a disadvantage, as you now need to design an infrastructure. Let's look at a common infrastructure which uses containers together with RDS and load balancing, and discuss some ways to expand on this basic infrastructure.

Well, that's nice, so how do I do this?

Let's go through the various ways to configure things on AWS. There's the web interface, the CLI tool, and the SDK. We'll have a look how to see some basics on the web interface, and then how to augment that with the command line.

Let's supercharge this with Python!

By using the AWS SDK, we can write our own deployment tools in Python, and use these to configure our stack. This way we can make AWS easy to use for others in our team, and put infrastructure changes in our repository.

Sponsors


Site powered by Symposion.
"Python" and the Python logos are trademarks or registered trademarks of the Python Software Foundation, used by PyTennessee with permission from the Foundation