Cloud Computing Assignment 2, Study Guides, Projects, Research of Web Programming and Technologies

Cloud Computing Assignment - 2

Typology: Study Guides, Projects, Research

2022/2023

Uploaded on 03/30/2023

Arrmssss
Arrmssss 🇻🇳

4.6

(6)

7 documents

1 / 48

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ASSIGNMENT 2 FRONT SHEET
Qualification
BTEC Level 5 HND Diploma in Computing
Unit number and title
Unit 16: Cloud Computing
Submission date
31/10/2022
Date Received 1st
submission
31/10/2022
Re-submission Date
Date Received 2nd
submission
Student Name
Le Anh Minh
Student ID
GCD201450
Class
GCD1001
Assessor name
Tran Trong Minh
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
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
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30

Partial preview of the text

Download Cloud Computing Assignment 2 and more Study Guides, Projects, Research Web Programming and Technologies 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 31 /10/2022 Date Received 1st submission 31/10/2 022

Re-submission Date Date Received 2nd submission

Student Name Le Anh Minh Student ID GCD

Class GCD 1001 Assessor name Tran Trong Minh

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

Grading grid

P5 P6 P7 P8 M3 M4 D2 D

Summative Feedback:Resubmission Feedback:

Grade: Assessor Signature: Date:

Internal Verifier’s Comments:

Signature & Date:

Contents

  • P5 Configure a Cloud Computing platform with a cloud service provider’s framework.
    • A. Configure Git
    • B. Configure Heroku
    • C. Connect Heroku to Git
    • D. Configure PostgreSQL on Heroku
  • P6 Implement a cloud platform using open source tools.
    • A. Setup PgAdmin and create database for ATN
    • B. Code app
      • I. Basic create code with nodejs express
      • II. Coding ATN SHOP........................................................................................................................................
      • III. Front-end code
    • C. Commit code to Git
    • D. Deploy app on Heroku
    • E. Result
  • solutions to these problems. P7 Analyse the most common problems which arise in a Cloud Computing platform and discuss appropriate
    • A. What Are The Challenges Of Cloud Computing?
    • B. Security issues
    • C. Cost management and containment
    • D. Lack of resources/expertise
    • E. Governance/Control
    • F. Compliance
    • G. Managing multiple clouds...............................................................................................................................
    • H. Performance
    • I. Building a private cloud
    • J. Segmented usage and adoption
    • K. Migration
    • L. Portability and interoperability.......................................................................................................................
    • M. Reliability and availability
  • P8 Assess the most common security issues in cloud environments.
    • A. Data Breaches
    • B. Hijacking of Accounts
    • C. Insider Threat
    • D. Malware Injection
    • E. Abuse of Cloud Services
    • F. Insecure APIs
    • G. Denial of Service Attacks.................................................................................................................................
    • H. Insufficient Due Diligence
    • I. Shared Vulnerabilities
    • J. Data Loss
  • Reference

Now we go to github main page, to create new repository to store folder code, enter name and click Create a new repositoty here.

B. Configure Heroku

One go to Heroku with link https://www.heroku.com I have not Sign in yet, but already have an account, so here I type my account and Login.

When login, in the top-right corner og the main page, create new app The new window appear, in here I type my new app and click Create app

C. Connect Heroku to Git

After create new app, this page will show in screen. Choose Deploy tab, pick GitHub in Deployment method and choose my repository in App connected to GitHub.

P6 Implement a cloud platform using open source tools.

Now I will present step by step to implement and deploy ATN app using tools.

A.Setup PgAdmin and create database for ATN

First, I go to page of PostgreSQL and download this. After install, I have pgAdmin 4, open it, set password. Now in main of program, right-click to Server->Register->Server

Type name of new server. We had created Postgree database before, now go to Heroku, postgresSQL app Here choose Setting tab and click View Credentials

Now I create database information with query. Click ATN Shop - > database - > my database. Then click Tools - > Query Tool. Type query

Result will show here

Result will show in Command

The output above gives you an overview of your project folder structure while the immediate instruction is for us to install dependencies for this application and run the execution.

Install dependencies. This will install your node.js application dependencies for a few seconds, depending

on your internet speed. I also in install pg, express-session and bootstrap.

PG: to connect with PosrtgreSQL database.

Bootstrap: to make page look-looking.

Express_Session: to use session in website.

Enter Visual studio code.

The first code folder will show up.

b) Check user login

2. App.js

File created by express generator. This this a root of app. Here I create path for new route.

3. Index.js

Index route with comment