Curso Deploying Django REST Framework APIs on Google Cloud

  • DevOps | CI | CD | Kubernetes | Web3

Curso Deploying Django REST Framework APIs on Google Cloud

24 horas
Visão Geral

O curso Deploying Django REST Framework APIs on Google Cloud foi desenvolvido para profissionais que desejam aprender, de forma prática e aplicada, como implantar APIs criadas com Django REST Framework (DRF) utilizando os serviços e recursos da Google Cloud Platform (GCP).
Durante o curso, os alunos aprenderão desde a configuração e containerização da aplicação até a implantação em Google App Engine e Cloud Run, abordando também integração com Cloud SQL, Cloud Storage, IAM, Secret Manager e Cloud Monitoring.

Objetivo

Após realizar este curso Deploying Django REST Framework APIs on Google Cloud, você será capaz de:

  • Desenvolver, empacotar e executar APIs Django REST Framework prontas para produção.
  • Configurar e administrar serviços da Google Cloud para hospedar aplicações web e APIs.
  • Implantar aplicações utilizando App Engine e Cloud Run.
  • Integrar com Cloud SQL, Cloud Storage e Secret Manager.
  • Automatizar o deploy e monitorar APIs em ambiente de produção.
Publico Alvo
  • Desenvolvedores Python e Django.
  • Engenheiros de software, DevOps e SREs.
  • Arquitetos de soluções e engenheiros de dados.
  • Profissionais que desejam dominar o deploy e gestão de APIs na nuvem Google.
Pre-Requisitos
  • Conhecimento básico de Python e Django Framework.
  • Familiaridade com APIs RESTful e HTTP.
  • Noções de bancos de dados relacionais (PostgreSQL).
  • Conhecimentos introdutórios sobre Docker e Google Cloud Console.
Materiais
Português + Exercícios + Lab Pratico
Conteúdo Programatico

Module 1: Introduction to Django REST Framework and Google Cloud

  1. Overview of Django and Django REST Framework
  2. Understanding RESTful APIs and scalability
  3. Introduction to Google Cloud Platform (GCP)
  4. Deployment options: App Engine, Cloud Run, GKE, and Compute Engine

Module 2: Building and Testing the API

  1. Setting up a Django project and installing DRF
  2. Creating models, serializers, and API views
  3. Authentication and permissions
  4. Testing endpoints locally with Postman and Django test client

Module 3: Preparing for Deployment

  1. Managing environment variables and settings
  2. Static and media file management
  3. Production configuration (Gunicorn, WhiteNoise, etc.)
  4. Creating requirements.txt and environment configuration

Module 4: Containerizing the Application with Docker

  1. Docker basics and container concepts
  2. Writing a Dockerfile for Django
  3. Building and testing the image locally
  4. Using Docker Compose for multi-service setup
  5. Debugging and optimizing container builds

Module 5: Deploying to Google App Engine

  1. Overview of App Engine environments (standard vs flexible)
  2. Writing app.yaml configuration
  3. Deploying Django to App Engine
  4. Connecting to Cloud SQL from App Engine
  5. Managing scaling, versions, and traffic splitting

Module 6: Deploying to Google Cloud Run

  1. Introduction to Cloud Run (serverless containers)
  2. Building and pushing the Docker image to Artifact Registry
  3. Deploying the container with Cloud Run CLI
  4. Environment variables and secret management
  5. Setting up HTTPS and domain mapping

Module 7: Data and Storage Integration

  1. Using Cloud SQL for relational data
  2. Configuring connections with SQLAlchemy or psycopg2
  3. Managing static and media files on Cloud Storage
  4. Cloud IAM roles and permissions

Module 8: CI/CD Automation

  1. Overview of CI/CD pipelines in GCP
  2. Automating deployments with Cloud Build
  3. Integrating with GitHub Actions for continuous delivery
  4. Rollback strategies and blue/green deployments

Module 9: Security and Observability

  1. Using Google Secret Manager for secure credentials
  2. IAM roles, service accounts, and access control
  3. Logging and monitoring with Cloud Logging and Monitoring
  4. Distributed tracing with Cloud Trace and Error Reporting

Module 10: Final Project — Complete API Deployment

  1. Building a real Django REST API
  2. Containerizing and deploying to Cloud Run
  3. Integrating Cloud SQL and Cloud Storage
  4. Setting up monitoring, logs, and alerts
  5. Best practices for production readiness
TENHO INTERESSE

Cursos Relacionados

Curso Ansible Red Hat Basics Automation Technical Foundation

16 horas

Curso Terraform Deploying to Oracle Cloud Infrastructure

24 Horas

Curso Ansible Linux Automation with Ansible

24 horas

Ansible Overview of Ansible architecture

16h

Advanced Automation: Ansible Best Practices

32h