Basics of Deployment
Deployment basically means, transporting the application at the localhost to the production/live server.
Application/web server: It’s a server designed to run an application, or it’s served to run the host application.
It uses HTTP protocol to communicate back and forth to receive HTTP response and send response. The examples of the application servers are Apache Tomcat, Gunicorn, Python Paste.
Hosted Servers: When we host an application, it has to be located at some physical memory at the server end, thus the application or websites being hosted at the physical machines is hosted server.
The application server is a part of the hosted server and can run at any port. The application server can be accessed through the IP address followed by the Port number.
For the production or deployment, we generally map the HostedServerIPAddress: PortNumber (199.455.444: 8080) to the domain name. Hosted servers need to be bought from hosting providers like AWS, Google, Cloudfare, DigitalOcean, so on.
Once an application is at the hosted server, we can access the website on any web browser. Still it needs domain name for general naming convention at the web browser. The domain name is to be bought from domain name providers like Godaddy, Namecheap, and many others. Now, we can map the HostedServerIPAddress: PortNumber to our custom domain name.
199.455.444: 8080 > domainname.com > backend
DevOps don’t have to worry about building the application, they can simply ask developers to build the project and provide you a build file.
To keep the developed app running in the server and the users to access from anywhere anytime. These build files should be placed into App/Web Server/
After that we can access the developed application/web on the browser with the domain name.