Cloud Security and Data Management Best Practices for ATN Admin Panel, Schemes and Mind Maps of Computer Networks

assignment1 cloud computing 1644

Typology: Schemes and Mind Maps

2021/2022

Uploaded on 12/07/2022

fgw-ct-hoang-minh-tan
fgw-ct-hoang-minh-tan 🇻🇳

3

(2)

5 documents

1 / 82

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CLOUD COMPUTING
REPORT ASSIGNMENT 2
STUDENT NAME: TRAN QUANG HUY
STUDENT ID: GCD18457
Class: GCD0703
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
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52

Partial preview of the text

Download Cloud Security and Data Management Best Practices for ATN Admin Panel and more Schemes and Mind Maps Computer Networks in PDF only on Docsity!

CLOUD COMPUTING

REPORT ASSIGNMENT 2

STUDENT NAME: TRAN QUANG HUY

STUDENT ID: GCD

Class: GCD

ASSIGNMENT 2 FRONT SHEET

Qualification BTEC Level 5 HND Diploma in Computing

Unit number and title Unit 16: Cloud Computing

Submission date Date Received 1st submission

Re-submission Date Date Received 2nd submission

Student Name Hoang Minh Tan^ 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 Tan

Grading grid

P5 P6 P7 P8 M3 M4 D2 D

TABLE OF CONTENTS

  • INTRODUCTION.......................................................................................................................................
  • The development of Cloud Computing solutions using the service provider’s framework and open source tools
      1. The configuration Cloud Computing platform with a cloud service provider’s framework............
        • 1.1. Heroku registration and configuration...........................................................................................
        • 1.2. GitHub repository configuration.....................................................................................................
        • 1.3. Heroku cloud application registration for ATN Store................................................................
        • 1.4. MongoDB Atlas database configuration.......................................................................................
      1. The implementation cloud platform using the open-source......................................................
        • 2.1. Back-end development................................................................................................................
        • 2.2. Front-end development...............................................................................................................
        • 2.3. Web application deploy on Heroku........................................................................................
      1. The issues and constraints one can face during the development process and how to overcome
        • 3.1. Back-End issues constraint..........................................................................................................
        • 3.2. Front-End issues constraint..........................................................................................................
        • 3.3. Server loading........................................................................................................................
        • 3.4. Performance...........................................................................................................................
  • Analyzing the technical challenges for cloud applications and assess their risks....................................... - solutions to the problems.................................................................................................. 1. The most common problems which arise in a Cloud Computing platform and discuss appropriate - issues when building a secure cloud platform............................................................................... 2. The most common security issues in cloud environments and how to overcome security - 2.1. Database URL......................................................................................................................... - 2.2. Sniffer attacks........................................................................................................................ - 2.3. Cross-Site Scripting (XSS) attacks................................................................................................ - 2.4. DoS & DDoS attacks............................................................................................................... - 2.5. Cookie poisoning....................................................................................................................
      1. How an organization should protect their data when they migrate to a cloud solution..............
        • 3.1. Know the data................................................................................................................
        • 3.2. Back-Up Data Locally.............................................................................................................
        • 3.3. Setting ATN company Data Retention Policy.........................................................................
        • 3.4. Read the Small Print of the Cloud Service Provider...............................................................
        • 3.5. Avoid storing sensitive information in the cloud....................................................................
    • 3.6. Use Cloud Services That Encrypt ATN company Data....................................................
    • 3.7. Protect ATN company’s system with Anti-Virus & Anti-Spy...........................................
    • 3.8. Encrypt the Data Before Putting it on The Cloud...........................................................
    • 3.9. Use a Strong Password / Use Two-Factor Authentication...............................................
  • CONCLUSION..........................................................................................................
  • References...................................................................................................................
  • Figure 1. How Node.js Server work.......................................................................................................... TABLE OF FIGURES
  • Figure 2. How ExpressJs work..................................................................................................................
  • Figure 3. The entity-relationship diagram of ATN database............................................................................
  • Figure 4. Vendor lock-in in cloud computing............................................................................................
  • Figure 5. Cross-Site Scripting (XSS) attacks....................................................................................................
  • Figure 6. Using Load Balance...................................................................................................................
  • Figure 7. Cookie poisoning. (twitter, n.d.).......................................................................................................
  • Figure 8. Know data in the cloud. (ebuyer, n.d.).............................................................................................
  • Figure 9. Cloud app security.......................................................................................................................................
  • Figure 10. Use Two-Factor Authentication................................................................................................................
  • Picture 1. Heroku logo...................................................................................................................... TABLE OF PICTURES
  • Picture 2. Sign up on Heroku............................................................................................................
  • Picture 3. Getting started on Heroku................................................................................................
  • Picture 4. Download Git....................................................................................................................
  • Picture 5. Git setup...........................................................................................................................
  • Picture 6. Download Heroku CLI.......................................................................................................
  • Picture 7. Setup Heroku....................................................................................................................
  • Picture 8. Complete install Heroku CLI.............................................................................................
  • Picture 9. Heroku CLI........................................................................................................................
  • Picture 10. Heroku login...................................................................................................................
  • Picture 11. Heroku require login on a browser.................................................................................
  • Picture 12. Heroku login successful..................................................................................................
  • Picture 13. GitHub logo.....................................................................................................................
  • Picture 14. Create a new repository on GitHub................................................................................
  • Picture 15. Create a new app on Heroku..........................................................................................
  • Picture 16. Heroku app manager......................................................................................................
  • Picture 17. Heroku connect to GitHub............................................................................................
  • Picture 18. MongoDB atlas logo......................................................................................................
  • Picture 19. Create a Project with atlas............................................................................................
  • Picture 20. Create a cluster with MongoDB Atlas...........................................................................
  • Picture 21. Kind of clusters on MongoDB atlas...............................................................................
  • Picture 22. Configure cloud provider and region on MongoDB Atlas..............................................
  • Picture 23. Cluster Tier on MongoDB Atlas.....................................................................................
  • Picture 24. Addition settings MongoDB Atlas..................................................................................
  • Picture 25. Dashboard MongoDB Atlas...........................................................................................
  • Picture 26. Add whitelist for MongoDB Atlas...................................................................................
  • Picture 27. Create a MongoDB User................................................................................................
  • Picture 28. Connect to Cluster........................................................................................................
  • Picture 29. MongoDB connection method.......................................................................................
  • Picture 30. NodeJs logo..........................................................................................................
  • Picture 31. The constructor of the ATN Admin Panel Project..........................................................
  • Picture 32. Admin folder.................................................................................................................
  • Picture 33. models folder................................................................................................................
  • Picture 34. Public folder.........................................................................................................
  • Picture 35. React logo.....................................................................................................................
  • Picture 36. ATN login page..............................................................................................................
  • Picture 37. Main menu and dashboard...........................................................................................
  • Picture 38. ATN Admin Panel Category...........................................................................................
  • Picture 39. Create a new category..................................................................................................
  • Picture 40. Filters in category.........................................................................................................
  • Picture 41. ATN Admin Panel Product.............................................................................................
  • Picture 42. Create a new product...................................................................................................
  • Picture 43. Filter in product............................................................................................................
  • Picture 44. ATN Admin Panel Stores...............................................................................................
  • Picture 45. Create a new Store.......................................................................................................
  • Picture 46. Admin Panel User Account............................................................................................
  • Picture 47. Create a new user account...........................................................................................
  • Picture 48. ATN Admin Panel Page..................................................................................................
  • Picture 49. ATN Admin Panel Comment..........................................................................................
  • Picture 50. ATN Admin Panel Dashboard........................................................................................
  • Picture 51. Dashboard in Navigation..............................................................................................
  • Picture 52. Push data into GitHub...................................................................................................
  • Picture 53. Configuration Heroku connected to GitHub..................................................................
  • Picture 54. Heroku build an application with GitHub..............................................................
  • Picture 55. ATN Admin Panel on Heroku.........................................................................................
  • Picture 56. Select version for Node.js.............................................................................................
  • Picture 57. Update expressjs..........................................................................................................
  • Picture 58. Current version Node.js after update...........................................................................
  • Picture 59. Bypass login..................................................................................................................
  • Picture 60. Login fail.......................................................................................................................
  • Picture 61. Redirect to login page...................................................................................................
  • Picture 62. Refresh page still in Panel............................................................................................
  • Picture 63. View of Admin account and another account...............................................................
  • Picture 64. HTML Checker...............................................................................................................
  • Picture 65. Checking Server Loading..............................................................................................
  • Picture 66. Region Heroku configuration........................................................................................
  • Picture 67. Region MongoDB Atlas configuration............................................................................
  • Picture 68. Performance from login to dashboard Admin Panel.....................................................
  • Picture 69. Create .env file..............................................................................................................
  • Picture 70. Install helmet packet....................................................................................................
  • Picture 71. XSS Attacks...................................................................................................................
  • Picture 72. XSS Attack does not work on ATN Admin Panel............................................................
  • Picture 73. Backup data in local with allway Sync......................................................................................................
  • Picture 74. Heroku's promises to customers.............................................................................................................
  • Picture 75. Password will encrypt before uploading into cloud.................................................................................
  • Picture 76. Backup service IDrive...................................................................................................

2 | P a g e The development of Cloud Computing solutions using the service provider’s framework and open source tools

1. The configuration Cloud Computing platform with a cloud service provider’s framework (P5)

1.1. Heroku registration and configuration

Picture 1. Heroku logo Create an account on Heroku.com before beginning the project. The interface is remarkably straightforward and user-friendly at first look. Picture 2. Sign up on Heroku

3 | P a g e It provides users with a wonderful Getting Started with Heroku dialog where they can locate the instructions for each kind of app that may be deployed. Picture 3. Getting started on Heroku The Heroku CLI requires Git, the popular version control system. Picture 4. Download Git

5 | P a g e The Heroku Command Line Interface will be installed in this action (CLI). The CLI for managing and scalability of applications, supply of add-ons, viewing of application logs, and local running of apps. Picture 6. Download Heroku CLI Picture 7. Setup Heroku

$ heroku 6 | P a g e Picture 8. Complete install Heroku CLI Checking the Heroku CLI: On Windows, start the Command Prompt (cmd.exe) or Powershell to access the command shell. Picture 9. Heroku CLI

8 | P a g e

Picture 12. Heroku login successful..................................................................................................

9 | P a g e

1.2. GitHub repository configuration.....................................................................................................

Picture 13. GitHub logo.....................................................................................................................

A project repository functions similarly to a folder. The repository for the project has all of the project's files as well as the revision history of each one. Within the repository, users may manage and discuss the project's work. Users can share ownership of repositories with other members of an organization or own repositories independently.

Picture 14. Create a new repository on GitHub................................................................................

11 | P a g e One of the simplest Heroku app deployment strategies, GitHub integration, will be used to distribute the user's modified source code for the application. It is possible to set up the web-based source code hosting service GitHub to automatically deploy code updates to Heroku.

Picture 17. Heroku connect to GitHub............................................................................................

Now that the application's source code is available in a GitHub repository, the user has connected it to Heroku to enable automated deployment anytime any changes are made to the source code.

12 | P a g e

1.4. MongoDB Atlas database configuration.......................................................................................

The top database for contemporary applications in the world is provided by MongoDB Atlas as a fully automated cloud service with built-in operational and security best practices. Databases can be quickly deployed, run, and scaled across the top cloud platforms.

Picture 18. MongoDB atlas logo......................................................................................................

The same guys that create MongoDB also create MongoDB Atlas, a fully-managed cloud database. Atlas manages all the complexity involved in setting up, maintaining, and repairing deployments on AWS, Azure, and GCP clouds. When working with MongoDB atlas, the user needs to create a project:

Picture 19. Create a Project with atlas............................................................................................