ASM 2_1644_Cloud Coputing (PASS), Slides of Mathematics for Computing

Contact me at Dong Sy Nhat Thanh (facebook)

Typology: Slides

2022/2023

Uploaded on 04/21/2023

dong-sy-nhat-thanh-fgw-hcm
dong-sy-nhat-thanh-fgw-hcm 🇻🇳

4.6

(10)

18 documents

1 / 34

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ASSIGNMENT 2 BRIEF
Qualification BTEC Level 5 HND Diploma in Computing
Unit number Unit 16: Cloud Computing
Assignment title Cloud’s implementation and security threats
Academic Year 2021 – 2022
Unit Tutor Ho Hai Van
Issue date Submission date
IV name and date
Submission Format:
Format:
A report (in PDF format)
You must use font Calibri size 12, set number of the pages and use multiple line spacing at
1.3. Margins must be: left: 1.25 cm; right: 1 cm; top: 1 cm and bottom: 1 cm. The reference
follows Harvard referencing system.
Submission Students are compulsory to submit the assignment in due date and in a way requested by
the Tutors. The form of submission will be a soft copy posted on
http://cms.greenwich.edu.vn/
Note: The Assignment must be your own work, and not copied by or from another student or from
books etc. If you use ideas, quotes or data (such as diagrams) from books, journals or other sources, you
must reference your sources, using the Harvard style. Make sure that you know how to reference
properly, and that understand the guidelines on plagiarism. If you do not, you definitely get failed
Unit Learning Outcomes:
LO3 Develop Cloud Computing solutions using service provider’s frameworks and open source tools.
LO4 Analyze the technical challenges for cloud applications and assess their risks
Assignment Brief and Guidance:
Task 1
1
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

Partial preview of the text

Download ASM 2_1644_Cloud Coputing (PASS) and more Slides Mathematics for Computing in PDF only on Docsity!

ASSIGNMENT 2 BRIEF

Qualification BTEC Level 5 HND Diploma in Computing

Unit number Unit 16 : Cloud Computing

Assignment title Cloud’s implementation and security threats

Academic Year 2021 – 202 2

Unit Tutor Ho Hai Van

Issue date Submission date

IV name and date

Submission Format:

Format:

A report (in PDF format)

You must use font Calibri size 12, set number of the pages and use multiple line spacing at

1.3. Margins must be: left: 1.25 cm; right: 1 cm; top: 1 cm and bottom: 1 cm. The reference

follows Harvard referencing system.

Submission Students are compulsory to submit the assignment in due date and in a way requested by

the Tutors. The form of submission will be a soft copy posted on

http://cms.greenwich.edu.vn/

Note: The Assignment must be your own work, and not copied by or from another student or from

books etc. If you use ideas, quotes or data (such as diagrams) from books, journals or other sources, you

must reference your sources, using the Harvard style. Make sure that you know how to reference

properly, and that understand the guidelines on plagiarism. If you do not, you definitely get failed

Unit Learning Outcomes:

LO3 Develop Cloud Computing solutions using service provider’s frameworks and open source tools.

LO4 Analyze 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.

Table of Contents

  • P5: CONFIGURE A CLOUD COMPUTING PLATFORM WITH A CLOUD SERVICE PROVIDER’S FRAMEWORK..
      1. NodeJS:................................................................................................................................................
      • 1.1. What is NodeJS:............................................................................................................................
      • 1.2. How to install NodeJS:..................................................................................................................
      • 1.3. Module:........................................................................................................................................
      1. MongoDB:..........................................................................................................................................
      • 2.1. What is MongoDB:......................................................................................................................
      • 2.2. Install MongoDB:........................................................................................................................
      • 2.3. Setup MongoDB Atlas:................................................................................................................
      • 2.4. MongoDB Compass:....................................................................................................................
      • 2.5. Download NoSQL Booster:..........................................................................................................
      1. Render...............................................................................................................................................
      1. GitHub:...............................................................................................................................................
      • 4.1. Definition:...................................................................................................................................
      • 4.2. Install Git:....................................................................................................................................
  • P6. IMPLEMENT A CLOUD PLATFORM USING OPEN-SOURCE TOOLS........................................................
      1. Create & Setup for ATN project:........................................................................................................
      1. Connect with MongoDB:....................................................................................................................
      1. Functions:..........................................................................................................................................
      • 3.1. Local Test....................................................................................................................................
      1. Push it to Git Hub...............................................................................................................................
      1. Push the project to Render................................................................................................................
      • 5.1. Remote Test:...............................................................................................................................
      • 5.2. How user use it ?.........................................................................................................................
  • DISCUSS APPROPRIATE SOLUTIONS TO THESE PROBLEMS........................................................................ P7. ANALYSE THE MOST COMMON PROBLEMS WHICH ARISE IN A CLOUD COMPUTING PLATFORM AND
      1. Security Issues....................................................................................................................................
      • 1.1. Problems.....................................................................................................................................
      • 1.2. Solution.......................................................................................................................................
      1. Downtime..........................................................................................................................................
      • 2.1. Problems.....................................................................................................................................
      • 2.2. Solution.......................................................................................................................................
      1. Performance Issues............................................................................................................................
      • 3.1. Problems.....................................................................................................................................
      • 3.2. Solution.......................................................................................................................................
        1. Data Loss........................................................................................................................................
      • 4.1. Problems.....................................................................................................................................
      • 4.2. Solution.......................................................................................................................................
      1. Compliance and Regulatory Issues.....................................................................................................
      • 5.1. Problems.....................................................................................................................................
      • 5.2. Solution.......................................................................................................................................
  • P8 ASSESS THE MOST COMMON SECURITY ISSUES IN CLOUD ENVIRONMENTS.......................................
      1. Definition about cloud security..........................................................................................................
      1. Common problems about cloud security...........................................................................................
      • 2.1. Data Breaches.............................................................................................................................
      • 2.2. Insecure APIs...............................................................................................................................
      • 2.3. Misconfiguration.........................................................................................................................
      • 2.4. Denial-of-Service (DoS) Attacks...................................................................................................
      • 2.5. Lack of Transparency and Control...............................................................................................
  • REFERENCES..............................................................................................................................................
  • Figure 1: Node JS.........................................................................................................................................
  • Figure 2:Version test....................................................................................................................................
  • Figure 3: MongoDB....................................................................................................................................
  • Figure 4: Download MongoDB...................................................................................................................
  • Figure 5: Click Next....................................................................................................................................
  • Figure 6: Accept the License Agreement...................................................................................................
  • Figure 7: Click “Complete”.........................................................................................................................
  • Figure 8: Service Configuration..................................................................................................................
  • Figure 9: Install the software.....................................................................................................................
  • Figure 10: Finish install..............................................................................................................................
  • Figure 11: Atlas UI......................................................................................................................................
  • Figure 12: MongoDB Compass download..................................................................................................
  • Figure 13: MongoDB Compass interface....................................................................................................
  • Figure 14: NoSQL Booster download.........................................................................................................
  • Figure 15: Render......................................................................................................................................
  • Figure 16: Web service create (1)..............................................................................................................
  • Figure 17: Web service create (2)..............................................................................................................
  • Figure 18: Config username and email......................................................................................................
  • Figure 19:Package.json setup....................................................................................................................
  • Figure 20: Install module...........................................................................................................................
  • Figure 21: Install mongodb........................................................................................................................
  • Figure 22: Install ejs...................................................................................................................................
  • Figure 23: Install body-parser....................................................................................................................
  • Figure 24: Connect with MongoDB(1).......................................................................................................
  • Figure 25: Connect with MongoDB(2).......................................................................................................
  • Figure 26: Connect with MongoDB(3).......................................................................................................
  • Figure 27: Code 1.......................................................................................................................................
  • Figure 28: Code 2.......................................................................................................................................
  • Figure 29: Index code(1)............................................................................................................................
  • Figure 30: Index code(2)............................................................................................................................
  • Figure 31: Index code(3)............................................................................................................................
  • Figure 32: Local Test..................................................................................................................................
  • Figure 33: Git Hub (1)................................................................................................................................
  • Figure 34:Git Hub (2).................................................................................................................................
  • Figure 35: Render(1...................................................................................................................................
  • Figure 36:Render (2)..................................................................................................................................
  • Figure 37: MongoDB Compass(1)..............................................................................................................
  • Figure 38:MongoDB Compass 2.................................................................................................................
  • Figure 39: Remote Test..............................................................................................................................
  • Figure 40: How to use (1)...........................................................................................................................
  • Figure 41: How to use (2)...........................................................................................................................
  • Figure 42: How to use (3)...........................................................................................................................
  • Figure 43: : How to use (4).........................................................................................................................

P5: CONFIGURE A CLOUD COMPUTING PLATFORM WITH A CLOUD SERVICE PROVIDER’S FRAMEWORK.

  1. NodeJS:

1.1. What is NodeJS:

The server-side runtime environment Node.js is free, cross-platform, and open-source, and it

enables developers to run JavaScript code outside of a web browser.

Node.js is a popular choice for developing quick, scalable, and effective network applications

because it uses an event-driven, non-blocking I/O architecture. Its package manager, npm, makes

a large library of modules and packages accessible, making it simple to construct sophisticated

applications.

Many applications, including web servers, real-time programs, microservices, command-line

programs, and desktop programs, can be built with Node.js. It has a sizable and vibrant

developer community and has grown to be a well-liked option for creating backend systems in

contemporary web development.

Figure 1 : Node JS (Node.js - Wikipedia)

1.2. How to install NodeJS:

Steps to load Node JS:

 Download files from the web

 Open file

 Agree to the conditions that the app offers, then just press the "next" button

  1. MongoDB:

2.1. What is MongoDB:

Popular open-source NoSQL (other than SQL) database management system MongoDB.

Because of its scalability, high availability, and fast performance, MongoDB is a well-liked

option for developing contemporary online applications. It is a strong choice for large-scale

applications with big data volumes since it enables dynamic queries, indexing, replication,

and sharding.

Figure 3 : MongoDB (MongoDB: The Developer Data Platform | MongoDB)

2.2. Install MongoDB:

Step 1: Download MongoDB Community Server from MongoDB website

Figure 4 : Download MongoDB

Step2 : Open the file and started to install it

Figure 5 : Click Next

Step 3: Accept the License Agreement

Figure 6 : Accept the License Agreement

Step 6: Click “install” and then click “finish”:

Figure 9 : Install the software Figure 10 : Finish install

2.3. Setup MongoDB Atlas:

Users can easily create, run, and grow MongoDB databases using MongoDB Atlas, a fully

managed cloud-based database service offered by MongoDB Inc. It provides tools like

automated backups, security, and monitoring, allowing developers to concentrate on creating

their applications rather than worrying about database management.

You need to follow this list, which contains all the necessary steps for you to set up:

Figure 11 : Atlas UI

2.5. Download NoSQL Booster:

A well-liked desktop GUI program for managing and accessing NoSQL databases, notably

MongoDB, is NoSQLBooster (formerly known as MongoBooster). It provides a number of

features including auto-completion, visual query builder, syntax highlighting, and an

embedded MongoDB shell. It also offers insights into performance improvement and real-

time visual explanations of the many phases of the MongoDB aggregation pipeline.

There are 3 versions: MAC OS X, Windows and Linux for you to download:

Figure 14 : NoSQL Booster download

After download it, just open and install (it’s easy to install, just click “next” button and you

done)

  1. Render

I use this as a server to push my project up

To get started, you need to sign up:

Figure 15 : Render

Click “New” on the top right then click “Web Service”:

Figure 16 : Web service create (1)

From here, just click to “connect” button and then fill in the required information and it will

create a server for you.

Figure 17 : Web service create (2)

P6. IMPLEMENT A CLOUD PLATFORM USING OPEN-SOURCE TOOLS.

  1. Create & Setup for ATN project:

Setup file package.json and project with NodeJS: npm init –y

Figure 19 :Package.json setup

Install module express: npm install express –save

Figure 20 : Install module

Install module mongodb:

Figure 21 : Install mongodb

Install EJS:

Figure 22 : Install ejs

Install body-parser:

Figure 23 : Install body-parser