You are on page 1of 24

Deploying Django web

app on Heroku

Guide: Dr. Vinayak Shinde Bhavik Prajapati BE-CMPN 42


ABSTRACT

➢ Highly available and scalable web hosting can be a complex and


expensive proposition.
➢ Traditional scalable web architectures have not only needed to
implement complex solutions to ensure high levels of reliability, but they
have also required an accurate forecast of traffic to provide a high level
of customer service.

➢ Heroku provides a reliable, scalable, secure, and highly performing


➢ This infrastructure matches IT costs with customer traffic patterns in time
INTRODUCTION

➢ Cloud hosting is the process of outsourcing an organization's computing


and storage resources to a service provider that offers its infrastructure
services in a utility model.
➢ In this case we are using heroku as our public cloud provider which
possesses the virtualization functionality in Cloud Computing.
➢ Free to start
➢ No bandwidth/budget for operations
➢ Flexibility to deploy elsewhere in future if needed
LEARNING OBJECTIVES

Ø To understand and analyze the concept of virtualization.


Ø To get knowledge regarding various cloud servers and their properties.
Ø To attain more knowledge regarding cloud concepts.
Ø To create a new virtual machine.
Ø To learn how to make uses of various cloud services.
Ø To learn how to connect our website to cloud storage.
Ø To learn the migration process ie from our local machine to VM
Ø To understand the concept of hosting.
PROBLEM STATEMENT
Ø The simplest form of website architecture is the static website, where
users are served static content (HTML, images, video, JavaScript, style
sheets, and so on).

Ø Some examples include brand microsites, marketing websites, and


intranet information pages. Static websites are straightforward in one
sense, but they can still have demanding requirements in terms of
scalability, availability, and service-level guarantees.

Ø For example, a marketing site for a consumer brand may need to be


prepared for an unpredictable onslaught of visitors when a new product is
launched.
LITERATURE REVIEW
Ø Literature review is a very good starting point for any research as it
throws light into the past work done and useful findings of the research
from the past.

Ø A literature review with context to the present research is worthwhile at


this point a detailed discussion of the research starts.

Ø Enter concerns in receiving clouds


Ø The Linkup, an online storage administration, as a most exceedingly
terrible case sample of a cloud computing storage supplier going out of
business.
PROPOSED SYSTEM

Ø Public Network Components


Ø User – Users can interact with the web application from a variety of devices and systems.
Ø Edge Services – Edge services include network service capabilities needed to deliver
content to web applications and its users through the Internet.
Ø DNS Server – The Domain Name System (DNS) server maps the text URL (domain name)
for a particular web resource to the TCP-IP address of the system or service that can deliver
that resource to the client.
Ø Content Delivery Network (CDN) – Content Delivery Networks are geographically
distributed systems of servers deployed to minimize the response time
Ø Firewall – A Firewall is a system designed to control communication access to or from a
system, aiming to permit only traffic meeting a set of policies or rules to proceed and blocking
any traffic that does not meet these policies.
Ø Load Balancer – Load Balancers distribute network or application traffic across many
resources (such as computers, processors, storage, or network links)
RESULTS

Fig 1: Front end of the deployed web application


RESULTS

Fig 2 : Postgresql database of user


RESULTS

Fig 3 : Postgresql database entry of blogpost


CONCLUSION

➢There are numerous architectural and conceptual considerations when you


are contemplating migrating your web application to the heroku.
➢The benefits of having a cost-effective, highly scalable, and fault-tolerant
infrastructure that grows with your business far outstrips the efforts of
migrating to the heroku app
➢Thus the job of hardware resources gets imitated by these much-helpful
server farms located across the globe.
➢Web application link : https://deathpulse.herokuapp.com
REFERENCES

• https://hashedin.com/blog/why-heroku-is-one-of-the-best-solutions-for-your-
deployment-fuss/
• https://blog.heroku.com/six-strategies-deploy-to-heroku
• https://devcenter.heroku.com/categories/reference
• https://devcenter.heroku.com/articles/deploying-python
• https://simpleisbetterthancomplex.com/tutorial/2016/08/09/how-to-deploy-
django-applications-on-heroku.html

You might also like