Introduction
Get started with Django on Google Axion C4A
Configure firewall rules for Django on Google Cloud
Create a Google Axion C4A Arm virtual machine on GCP
Install Django on your Arm-based VM
Verify Django installation and run the development server
Deploy Django on GKE Axion with managed data services
Build a Django REST API with PostgreSQL and Redis
Containerize and deploy Django on Axion GKE
Benchmark Django application performance on Arm
Next Steps
Before you can access your Django development server from your browser, you need to configure Google Cloud’s firewall to allow inbound traffic on port 8000. This section walks you through creating a firewall rule that permits HTTP requests to reach your VM.
For support on GCP setup, see the Learning Path Getting started with Google Cloud Platform .
Navigate to the Google Cloud Console and create a new firewall rule:
Google Cloud Console Firewall page
Fill in the rule details to allow traffic on port 8000:
allow-tcp-8000.default; your organization may use a different network).allow-tcp-8000 in the Target tags field.0.0.0.0/0 (allows traffic from any IP address; restrict this in production).
Firewall rule configuration
Configure the protocol and port settings:
8000 in the Ports field.
Specifying TCP port 8000
In this section, you configured firewall rules to allow external HTTP traffic on port 8000, making your Django application accessible from the internet.
Next, you’ll provision a Google Axion C4A Arm VM to host your Django application.