



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




























Qualification BTEC Level 5 HND Diploma in Computing
Unit number and title Unit 16 : Cloud Computing
Submission date 13 July, 2022 Date Received 1st submission
Re-submission Date Date Received 2nd submission
Student Name Nguyen Minh Nghia Student ID GCC
Class GCC0901 Assessor name Thai Minh Tuan
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand
that making a false declaration is a form of malpractice.
Studentās signature Nguyen Minh Nghia
Grading grid
ļ² Summative Feedback: ļ² Resubmission Feedback:
Grade: Assessor Signature: Date: Internal Verifierās Comments:
Signature & Date:
Unit Learning Outcomes:
LO3 Develop Cloud Computing solutions using service providerās frameworks and open source tools.
LO4 Analyse the technical challenges for cloud applications and assess their risks
Assignment Brief and Guidance:
Task 1
Base on the scenario and architecture design in the first assignment provide the implementation.
Because of the time constraint of the assignment, the implementation just provides some demo
functions of the scenario. The implementation includes two parts:
o which shows which functions are implemented
o How to config, deploy and test the services (Web application, Database Server, Source
code management, server logs..) using service providerās frameworks and open source
tools.
o Images for the built functions
Task 2
The table of contents in your security manual (which should be 500ā700 words) should be as follows:
Learning Outcomes and Assessment Criteria
Pass Merit Distinction
LO3 Develop Cloud Computing solutions using service providerās
frameworks and open source tools
D2 Critically discuss how one
can overcome these issues and
constraints.
P5 Configure a Cloud Computing
platform with a cloud service
providerās framework.
P6 Implement a cloud platform
using open source tools.
M3 Discuss the issues and
constraints one can face during
the development process.
LO4 Analyse the technical challenges for cloud applications and assess
their risks
P7 Analyse the most common
problems which arise in a Cloud
Computing platform and discuss
appropriate solutions to these
problems.
P8 Assess the most common
security issues in cloud
environments.
M4 Discuss how to overcome
these security issues when
building a secure cloud platform.
D3 Critically discuss how an
organisation should protect
their data when they migrate to
a cloud solution.
Heroku is a platform as a service (PaaS) provider for cloud-based development. The Heroku platform supports
Ruby on Rails, Java, Node.js, Python, Scala, and Clojure development (TechTarget Contributor, 2012).
Initially, Heroku only supported Ruby on Rails. The firm announced in 2010 that it supported a million Ruby
developers who wrote and ran apps directly on Amazon Web Services (AWS). Heroku keeps the development
environment up to date and combines other cloud services. The firm collaborated with Facebook to enable
developers with Heroku accounts to rapidly and simply construct and deploy Web apps using a Facebook interface
(TechTarget Contributor, 2012).
Go to Heroku.com and establish an account (or login exist account) before beginning the project. At first sight,
the dashboard appears to be quite straightforward and user-friendly.
Figure 1 : Login to Heroku
The dashboard of Heroku will be appeared when user login (or sign up and setup) successfully.
Figure 4 : Git setup
The Heroku Command Line Interface will be installed at this phase (CLI). The command line interface is used to
manage and scale applications, supply add-ons, inspect application logs, and execute apps locally.
Figure 5 : Setup Heroku
Figure 8 : Heroku require login on a browser
Figure 9 : Heroku login successful
A repository is similar to a project folder. The repository holds all of the project's files and keeps the revision
history for each file. Users can also use the repository to discuss and manage the project's development.
Users can own repositories on their own or share ownership with other persons in an organization.
Figure 10 : Create a new repository on GitHub
Users may deploy a preconfigured app with everything it requires, including code, configurations, and add-ons,
with the press of a button. By generating the initial Heroku project with a button, users can get a sense of how
simple the platform is to use while also receiving an actual, running Node.js app that they can explore and edit to
learn more.
The user will modify the application's source code and deploy it utilizing one of the simplest Heroku app
deployment techniques, GitHub integration. GitHub is a hosting site for source code that may be set to
automatically push code updates to Heroku.
Figure 13 : Heroku connect to GitHub
The user now has the application's source code on a GitHub repository and has connected it to Heroku for
automated deployment anytime anything changes in the source code.
MongoDB is a free and open-source NoSQL database management system. NoSQL is a database technology that
is used as an alternative to traditional relational databases. NoSQL databases are extremely handy for dealing
with massive amounts of scattered data. MongoDB is a tool for managing document-oriented data, as well as
storing and retrieving data (Botelho & Vaughan, 2020).
MongoDB can store a variety of data types. It is one of the various nonrelational database systems that emerged
under the NoSQL banner in the mid-2000s, often for use in big data applications and other processing operations
requiring data that does not fit well in a conventional relational paradigm. MongoDB's architecture is made up of
collections and documents rather than tables and rows as in relational databases (Botelho & Vaughan, 2020).
MongoDB Atlas is a fully managed cloud database built by the same team that created MongoDB. Atlas manages
the complexities of deploying, monitoring, and healing deployments across AWS, Azure, and GCP cloud service
providers.
When using MongoDB Atlas, the user must first build a project:
Figure 14 : Create a Project with atlas
Then user must create a cluster:
Figure 15 : Dashboard MongoDB Atlas
Some programming languages that used to create the project:
Node.jsĀ® is an open-source JavaScript runtime environment based on the V8 engine in Chrome. It is event-
driven and supports non-blocking I/O, making it ideal for designing web programs that are lightweight,
efficient, and speedy.
Node.js has become the go-to solution for numerous areas, including IT and healthcare. It's difficult to
resist the ease of use that Node.js provides. Every technology, however, has advantages and
disadvantages. As a result, let's look at the benefits and drawbacks of node.js so you can match your
requirements and make an informed decision.
Advantages:
Real-time applications require high performance.
Scalability is simple for modern applications.
Cost-effective Development with Full stack JS Community Support
Easy to learn and adaptable Aids in the formation of cross-functional teams
Enhances App Response Time and Performance
Reduces Your apps' time-to-market
Flexibility to Meet Specialized Requirements
Quick Caching reduces loading time.
Aids in the development of cross-platform applications
Express.js is a Node.js web application framework that is free and open source. It is used to rapidly and
simply design and create web apps. Web applications are web applications that may be accessed using a
web browser. Because Express.js simply requires JavaScript, programmers and developers may quickly
create web apps and APIs (Besant Technologies, 2022).
Express.js is a Node.js framework, which implies that most of the code is already created and ready for
programmers to use. Express.js may be used to create single-page, multi-page, or hybrid web applications.
Express.js is a lightweight framework that aids in the server-side organization of web applications into a
more ordered MVC architecture (Besant Technologies, 2022).
The Toys Store Project will be constructed using the MVC approach, complete with models, views, and controllers:
Figure 18 : The constructor of the Toys Store Project
Figure 19 : Controller folder
Figure 20 : Models folder
Figure 21 : Public folder