1644 - Cloud Computing - asm2, Assignments of Business Informatics

hope it can help u pass in the asm

Typology: Assignments

2022/2023

Uploaded on 08/03/2023

andrew-2709
andrew-2709 🇻🇳

4.8

(20)

33 documents

1 / 50

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Page 1
ASSIGNMENT 2 BRIEF
Qualification
BTEC Level 5 HND Diploma in Computing
Student Name/ID
Number:
Dương Trọng Quí / GBS200716
Unit number
Unit 16: Cloud Computing
Assignment title
Cloud’s implementation and security threats
Academic Year
2022 2023
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:
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
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32

Partial preview of the text

Download 1644 - Cloud Computing - asm2 and more Assignments Business Informatics in PDF only on Docsity!

ASSIGNMENT 2 BRIEF

Qualification BTEC Level 5 HND Diploma in Computing Student Name/ID Number: Dương Trọ ng Quí / GBS Unit number Unit 16 : Cloud Computing Assignment title Cloud’s implementation and security threats Academic Year 2022 – 2023 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:

ASSIGNMENT 2 ANSWERS

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 allows programmers to run JavaScript code that is not in a web browser. Due to its event-driven, non-blocking I/O design, Node.js is a popular choice for creating rapid, scalable, and efficient network applications. Its package manager, npm, provides access to a vast library of modules and packages, making it simple to build complex applications. With Node.js, you may create a wide range of apps, such as web servers, real-time programs, microservices, command-line programs, and desktop programs. It has a significant and active developer community and has become a popular choice in modern web development for building backend systems. Figure 1 : NodeJS (Source: 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 application offers, then simply press the "next" button.
  • Restart your computer/laptop. Check Node and NPM versions using these codes in Command Prompt:

Figure 2 : Version test (Source: My Visual Studio Code) 1.3. Module:

  • Express Module: For building APIs and online applications, Express is a popular Node.js web framework. Middleware, routing, and templating engines are some of the features it offers. Building Node. js-based server-side web apps and APIs are made simple with Express.
  • MongoDB Module: Using the MongoDB module is necessary when working with MongoDB databases in Node.js. MongoDB, a well-known NoSQL database, stores its data in documents that resemble JSON. Utilizing CRUD operations, connecting to MongoDB databases, and managing data in your Node.js projects are all made simple with this module.
  • EJS Module: The Node.js templating engine EJS (Embedded JavaScript) facilitates the development of dynamic HTML pages. EJS can be used to insert JavaScript code into HTML templates to create dynamic content. It also supports partials and layouts to make it easier to reuse code across many pages.
  • The Init Module: is a command-line tool for launching fresh Node.js projects. It provides a simple way to launch a new project by setting up a package.json file and a minimal directory structure.
  • Body-parser Module: To parse incoming request bodies, Node.js employs the Body-parser module as middleware. After the server has parsed the request body data, your application can use the req.body object to process the data. There is support for data types like JSON, URLencoded, and multipart/form data.

2. MongoDB:

2.1. What is MongoDB? MongoDB is a NoSQL document-oriented database designed to store large amounts of data. MongoDB uses collections and documents as opposed to the tables and rows seen in conventional relational databases. The fundamental unit of data in MongoDB is a pair of key-value pairs, which make up documents. Collections are the equivalent of relational database tables since they include sets of documents and functions. A database called MongoDB first became popular in the middle of the 2000s.

Figure 5 : Click Next (Source: MongoDB) Step 3: Accept the License Agreement. Figure 6 : Accept the License Agreement (Source: MongoDB) Step 4: Click “Complete”.

Figure 7 : Click “Complete” (Source: MongoDB) Step 5: Service Configuration. Figure 8 : Service Configuration (Source: MongoDB) Step 6: Click “install” and then click “finish”.

backups, security, and monitoring, frees developers from having to worry about database management and enables them to focus on developing their applications. The following list, which includes all the procedures required for setup, must be followed: Figure 11 : Atlas UI (Source: MongoDB - Atlas) 2.4. MongoDB Compass: Step 1: Download MongoDB Compass from the website.

Figure 12 : MongoDB Compass download (Source: MongoDB - Atlas) Step 2: Open the file and press the “next” button to install. This is what the compass looks like when opened. Figure 13 : MongoDB Compass interface (Source: MongoDB Compass) 2.5. Get NoSQL Booster now: NoSQLBooster (formerly known as MongoBooster) is a well-liked desktop GUI application for managing and accessing NoSQL databases, particularly MongoDB. Auto-completion, a visual query builder, syntax highlighting, and an embedded MongoDB shell are just a few of the features it offers. It also provides real- time visual explanations of the various stages of the MongoDB aggregation pipeline and insights into performance optimization.

Figure 16 : Heroku payment (Source: Heroku website)

  • To get started, you need to register: Figure 17 : Sign in Render (Source: Render Sign up)

Figure 18 : After Sign in Render (Source: Render After Sign in)

  • Click “New” in the top right, then “Web Services”: Figure 19 : Web service create (Source: Render)
  • From here, just click the “connect” button and fill in the necessary information and it will create a server for you.

Figure 22 : GitHub Download(for Windows) (Source: GitHub) 4.2. Install Git: Git is an open-source, free-distributed version control system that was designed to manage projects of all sizes fast and successfully. Developers may work with colleagues on projects, track changes made to their code over time, and instantly revert to earlier versions of their code if necessary. Git is a popular source code management system used by developers, but it may also be used to handle other types of data. It's an effective tool that encourages productivity and cooperation among developers. Here are the instructions for installing git on Windows, which I shall do. Step 1: Get the newest Git for Windows version. Figure 23 : Git Download (for Windows)

(Source: Git) Step 2: Open the file and keep clicking "next" until the installation is complete “Finish”. Figure 24 : Git successful installation (Source: Git) Step 3: Execute the following commands in Command Prompt or Git Bash. git config --global user.name "your_username" git config --global user.mail "your_email" Figure 25 : Config username and email (Source: My Command Prompt)