[PYTHON] Build your Django app on Docker and deploy it to AWS Fargate

Introduction

Python is attracting attention in AI, machine learning, big data analysis, and so on. As the number of web applications using Python is expected to increase in the future, we will post a series of steps from creating an application using Django, which is a Python framework, to deploying it in a container to AWS Fargate. I will.

Based on my development experience at the Fintech startup I belong to, the configuration of Django + Docker + AWS Fargate is

  1. Low learning cost
  2. Easy to jointly develop
  3. Easy to scale We believe that it is a best practice for web application development by individuals and startups.

Please refer to each post for details as we will post each item in small pieces. Please use this page as a table of contents as we will post articles every day and add the links to this page.

table of contents

  1. Why Python now
  2. About Django
  3. About Docker (1) Hello, World with Docker
  4. Run your Django application on Docker (1) Start Django in a virtual environment using Pipenv (2) Start Django on the Docker container using docker-compose up 5.PostgresSQL (1) Using PostgreSQL with Docker + Django
  5. Creating an application (1) Implementing Custom User Model in Django  (2)URLs  (3)Views (4) Authentication function (5) Environment variables
  6. Email settings
  7. Upload file
  8. Authority
  9. Search 11.Perfomance
  10. Security
  11. Deploy

Recommended Posts

Build your Django app on Docker and deploy it to AWS Fargate
How to build a Django (python) environment on docker
Deploy your Django application on Heroku
How to deploy a Django app on heroku in just 5 minutes
Deploy the Django app on Heroku [Part 2]
Deploy the Django app on Heroku [Part 1]
Deploy a Python app on Google App Engine and integrate it with GitHub
Deploy Django apps on Ubuntu + Nginx + MySQL (Build)
Build a flask app made with tensorflow and dlib to work on centos7
How to run a Django application on a Docker container (development and production environment)
I tried to use Twitter Scraper on AWS Lambda and it didn't work.
Quickly create a Python data analysis dashboard with Streamlit and deploy it to AWS
Memo A beginner tried to build a Java environment and Japaneseize it on Ubuntu 18.04.2 LTS.
Deploy a Python 3.6 / Django / Postgres web app on Azure
How to deploy a Django application on Alibaba Cloud
Publish your Django app on Amazon Linux + Apache + mod_wsgi
Deploy a Django application on Google App Engine (Python3)
Memo of deploying Django × Postgresql on Docker to Heroku
Deploy an existing app with docker + pyenv-virtualenv + uwsgi + django
Single sign-on to your Django application with AWS SSO
Install Docker on Arch Linux and run it remotely
How to use Django on Google App Engine / Python
Deploy a Django app made with PTVS on Azure
How to use Decorator in Django and how to make it
Initialize your Django app
Install Docker on AWS
When I deploy a Django app with Apache2 and it no longer reads static files
Steps to set up Pipenv, create a CRUD app with Flask, and containerize it with Docker
Put Jupyter and Docker Compose on your Chromebook and use it as a light development environment!
Introducing Kaggle's Docker Image on Windows to build an environment
Deploy your Go app on Google App Engine with GitHub Actions
Create a Todo app with Django ① Build an environment with Docker
Django --Overview the tutorial app on Qiita and add features (2)
How to return the data contained in django model in json format and map it on leaflet
Deploy masonite app on Heroku 2020
Install Django on your Mac
Deploy django project to heroku
How to install OpenCV on Cloud9 and run it in Python
Build a Python environment on your Mac with Anaconda and PyCharm
# 3 Build a Python (Django) environment on AWS EC2 instance (ubuntu18.04) part2
Create and deploy a Django (PTVS) app using Azure Table storage
Take an image with Pepper and display it on your tablet
Make a scraping app with Python + Django + AWS and change jobs
I want to create a pipfile and reflect it in docker
Launched a web application on AWS with django and changed jobs
[AWS / Tello] Build a system to operate the drone on the cloud
Deploy Flask servers on virtual machines such as Azure and AWS
[DynamoDB] [Docker] Build a development environment for DynamoDB and Django with docker-compose
[AWS lambda] Deploy including various libraries with lambda (generate a zip with a password and upload it to s3) @ Python
Upload data to s3 of aws with a command and update it, and delete the used data (on the way)