This device is not compatible.

PROJECT


Deploy Highly Available Serverless Django Applications on AWS

In this project, we’ll use Zappa to deploy a Django-developed e-learning course catalog website to the AWS cloud. We'll use different AWS commands on the CLI. We'll learn to create AWS Lambda functions, IAM users, and API Gateways through this project.

Deploy Highly Available Serverless Django Applications on AWS

You will learn to:

Apply the concepts of infrastructure as code (IaC).

Explore the basics of serverless architecture.

Configure and restructure a Django application to make it ready for deployment.

Use AWS and Zappa commands to build and deploy a serverless application to the cloud.

Skills

Cloud Deployment

Web Frameworks

Serverless Application Model

Prerequisites

Basic understanding of Django

Basic understanding of serverless applications

Basic understanding of AWS CLI

Basic understanding of AWS cloud formation

Technologies

Django

AWS SAM

AWS Lambda

Project Description

Serverless computing is a cloud computing execution model in which the cloud provider allocates machine resources on-demand and manages the servers for its clients. In this project, we’ll deploy a highly available serverless Django application over AWS using the Serverless Application Model (SAM). The utility we’ll use for deployment is Zappa. Zappa makes it easy to deploy a serverless and event-driven Python application on AWS.

Note: AWS provides 1 million free requests per month with the AWS free tier.

In this project, we’ll use the pre-built Django application of the course catalog. We’ll run it locally to see how the application works, and then deploy that application on AWS. After deploying the Django application on AWS, we’ll fix the API call issues in the application and finalize the highly available serverless deployment of the Django application on AWS.

Project Tasks

1

Configurations

Task 0: Initial Setup

Task 1: Start the Django Application

Task 2: Configure AWS

2

Deployment

Task 3: List All Deployments

Task 4: Initialize Zappa

Task 5: Deploy Zappa

Task 6: Check the Deployment

Task 7: Update the Template

Task 8: Update Zappa

Task 9: Delete Deployment

Congratulations!