简体   繁体   中英

How to deploy django with Kubernetes on AWS

I have a web app with the following stack: Django + MySQL + Celery + Redis.

Do you know some good explanation about how to deploy this stack on Amazon with Kubernetes.

I'm looking for some guidance covering the following topics:

1.) Creating containers for the components from my stack

2.) Explaining what can be a persistent solution for MySQL in the containers world (maybe http://vitess.io/ ?)

3.) Creating Kubernetes cluster on AWS

4.) Configure Kubernetes / handle network

5.) Deploy

This is a pretty broad question to expect a complete answer, but I can try to touch a couple things.

Kubernetes should already work on AWS, so simply running kube-up.sh should work. This includes the network.

Kube on AWS has support for EBS volumes, so you can store your MySQL data there.

Creating containers for your components - I would start by looking at the Docker library for useful base images.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM