Django Container
Written by
Updated at August 25, 2023
This is a demo website based on Django
Required paid resources
The cost of resources for the application includes:
- Fee for the number of container calls, computing resources allocated to execute the application, and outgoing traffic (see Yandex Serverless Containers pricing).
- Fee for the number of requests to the API gateway and outgoing traffic (see Yandex API Gateway pricing).
Deploy the application
- In the management console
, select the folder where you want to deploy the application. - Select Cloud Apps.
- On the left-hand panel, select Marketplace.
- Select Django Container and click Use.
- Specify the following:
- Application name.
- (Optional) Application description.
- Service account with the
admin
role for the folder, or select Auto to have the service account created when installing the application. This service account will be used to create the application resources.
- Click Install.
Test the controller
On the Overview page, find the API gateway under Application resources, go to the gateway page, and copy the service domain link. Follow the link in your browser and open the demo Django website welcome page.
What's next
You can build upon the application to implement more sophisticated services and websites. To modify container behavior, select a new Docker image, move it to Yandex Container Registry, and create a new version of the Serverless Containers container.