Docsity

Cloud Computing Implementation and Security Threats: A Case Study of Heroku, Schemes and Mind Maps of Computer Networks

Toggle sidebar
bg1
1
ASSIGNMENT 2 FRONT SHEET
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
GCC200100
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
P5
P6
P7
P8
M3
M4
D2
D3
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23

Partial preview of the text

Download Cloud Computing Implementation and Security Threats: A Case Study of Heroku and more Schemes and Mind Maps Computer Networks in PDF only on Docsity!

ASSIGNMENT 2 FRONT SHEET

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

P5 P6 P7 P8 M3 M4 D2 D

 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:

  • A step by step instruction

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

  • A brief discussion about difficulties which one can face during the development process(optional)
  • The source code for the built application

Task 2

The table of contents in your security manual (which should be 500–700 words) should be as follows:

  1. Analysis of the most common problems and security issues of a cloud computing platform.
  2. Discussion on how to overcome these issues.
  3. Summary.

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.

  • I. The configuration Cloud Computing platform with a cloud service provider’s framework
      1. Heroku registration and configuration
      1. GitHub repository configuration
      1. Heroku cloud application registration for ATN Store
      1. MongoDB Atlas database configuration
  • II. The implementation cloud platform using the open-source
    1. Back-end development
      1. Front-end development
      1. Web application deploy on Heroku
  • solutions to the problems III. The most common problems which arise in a Cloud Computing platform and discuss appropriate
  • IV. The most common security issues in cloud environments
  • References
  • Figure 1: Login to Heroku List of table
  • Figure 2: The dashboard of Heroku
  • Figure 3: Download Git
  • Figure 4: Git setup
  • Figure 5: Setup Heroku.............................................................................................................................................
  • Figure 6: Heroku CLI
  • Figure 7: Heroku login
  • Figure 8: Heroku require login on a browser
  • Figure 9: Heroku login successful.............................................................................................................................
  • Figure 10: Create a new repository on GitHub
  • Figure 11: Create a new app on Heroku
  • Figure 12: Heroku app manager
  • Figure 13: Heroku connect to GitHub
  • Figure 14: Create a Project with atlas
  • Figure 15: Dashboard MongoDB Atlas
  • Figure 16: Connect to Cluster...................................................................................................................................
  • Figure 17: MongoDB connection method
  • Figure 18: The constructor of the Toys Store Project
  • Figure 19: Controller folder
  • Figure 20: Models folder
  • Figure 21: Public folder
  • Figure 22: View folder
  • Figure 23: Code of Server.js file
  • Figure 24: Code of Package.json file
  • Figure 25: Database diagram
  • Figure 26: Input (view) data page
  • Figure 27: List page
  • Figure 28: Update page
  • Figure 29: The source code is pushed on GitHub
  • Figure 30: Connect Heroku with repository of GitHub
  • Figure 31: Heroku build an application with GitHub
  • Figure 32: Website on link https://toys-store-11.herokuapp.com..........................................................................
  • Figure 33: Source code on https://github.com/MinhNghiax110502/toysStore

I. The configuration Cloud Computing platform with a cloud service

provider’s framework

1. Heroku registration and configuration

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

2. GitHub repository configuration

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

3. Heroku cloud application registration for ATN Store

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.

4. MongoDB Atlas database configuration

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

II. The implementation cloud platform using the open-source

1. Back-end development

Some programming languages that used to create the project:

  • Node.js (Kaneriya, 2020):

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

  • ExpressJs:

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

  • Controller : To save the file that control the website

Figure 19 : Controller folder

  • Models : To keep the models (Database)

Figure 20 : Models folder

  • Public : To store the image, CSS

Figure 21 : Public folder