For Amazon EC2, learn how to get set up.For Azure VMs, follow their quickstart guide for creating a Linux virtual machine in the Azure portal.To get more help with launching the instance, you should refer to the documentation for your cloud provider: Two popular options for virtual machines are Azure VMs and Amazon EC2. A containerized approach allows multiple apps to run independently on the same host operating system.įor this tutorial, though, you’ll use the tried-and-true route of serving Nginx and Django directly on IaaS.A serverless architecture allows you to compose the Django app only and let a separate framework or cloud provider handle the infrastructure side.Using a VM to serve a web app is an example of IaaS, where you have full control over the server software. This section will walk you through the process at a high level but won’t cover every step in detail. You should familiarize yourself with at least one infrastructure as a service (IaaS) cloud service provider to provision a VM. Remove ads Setting Up a Cloud Virtual Machine (VM)įirst, you’ll need to launch and set up a virtual machine (VM) on which the web application will run. You can download the Django project used in this tutorial by following the link below: To make the most out of this tutorial, you should have an introductory-level understanding of Python, Django, and the high-level mechanics of HTTP requests. How HTTP headers can fortify your site’s HTTPS security.How to introduce Gunicorn and Nginx into the request and response chain.How you can host your app on a real-world public domain.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |