Download Computer Network Assingment 2 and more Exercises 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 26/6/2023 Date Received 1st submission 26/6/ Re-submission Date 30/6/2023 Date Received 2nd submission 30/6/ Student Name Nguyen Hoang Student ID GCS Class GCS1004B Assessor name Ho Hai Van 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 Hoang Grading grid P5 P6 P7 P8 M3 M4 D2 D
Summative Feedback: Resubmission Feedback:
Grade: Assessor Signature: Date: Internal Verifier’s Comments: Signature & Date:
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:
- Analysis of the most common problems and security issues of a cloud computing platform.
- Discussion on how to overcome these issues.
- 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.
- P5 Configure a Cloud Computing platform with a cloud service provider’s framework.
- Configure:
- 1.1. Github:
- 1.2. MongoDB:
- 1.3. Render:
- P6 Implement a cloud platform using open-source tools.
- Source Code:
- Test Server:
- Upload to Render and deploy:
- Run Server:
- P7 Analyse the most common problems which arise in a Cloud Computing
- Most common problems in a Cloud Computing platform:
- Appropriate solutions to these problems:
- P8 Assess the most common security issues in cloud environments.
- What is Cloud Computing Security?
- Security issues in cloud computing:
- References:
- Figure 1: Github home page........................................................................................................................................ Table of Figures
- Figure 2: Github S ign up............................................................................................................................................
- Figure 3:Github Sign in.............................................................................................................................................
- Figure 4:Github main page........................................................................................................................................
- Figure 5: Create new repo..........................................................................................................................................
- Figure 6: Create success............................................................................................................................................
- Figure 7:Add code.....................................................................................................................................................
- Figure 8:Add success.................................................................................................................................................
- Figure 9:MongoDB home page.................................................................................................................................
- Figure 10:MongoDB login........................................................................................................................................
- Figure 11:Create main page.......................................................................................................................................
- Figure 12:Create cluster.............................................................................................................................................
- Figure 13:Create database users................................................................................................................................
- Figure 14:Create Network access..............................................................................................................................
- Figure 15:MongoDB Compass..................................................................................................................................
- Figure 16: Connect to MongoDB Compass...............................................................................................................
- Figure 17:MongoDB Compass view.........................................................................................................................
- Figure 18: Render home page....................................................................................................................................
- Figure 19: Render Login............................................................................................................................................
- Figure 20:Connect to repo.........................................................................................................................................
- Figure 21:Deploy.......................................................................................................................................................
- Figure 22:Deploy Success.........................................................................................................................................
- Figure 23:Connect to MongoDB...............................................................................................................................
- Figure 24: MongoDB connection string in .env.........................................................................................................
- Figure 25:Routes.......................................................................................................................................................
- Figure 26: Add Prodcuts............................................................................................................................................
- Figure 27:Upload images...........................................................................................................................................
- Figure 28:Display Products.......................................................................................................................................
- Figure 29:Delete Products and Images......................................................................................................................
- Figure 30:Add products view....................................................................................................................................
- Figure 31: Main page without products inside...........................................................................................................
- Figure 32:Main page after added three products........................................................................................................
- Figure 33:Main page after deleted two products........................................................................................................
- Figure 34: New website service.................................................................................................................................
- Figure 35:Connect to repo on Github........................................................................................................................
- Figure 36:Setup.........................................................................................................................................................
- Figure 37:Deploy.......................................................................................................................................................
- Figure 38:Run server success....................................................................................................................................
- Figure 39: Cloud Security..........................................................................................................................................
P5 Configure a Cloud Computing platform with a cloud service
provider’s framework.
1. Configure: 1.1. Github: What is Github: GitHub is a web-based platform for software development that allows developers to collaborate on code and manage their projects. It is primarily used for version control, which is the process of managing changes to code and keeping track of different versions of the code over time. GitHub provides a centralized location for developers to store their code, track changes, and collaborate with other developers. It uses Git, a distributed version control system, to manage code changes and allow developers to work on different parts of the codebase simultaneously. **Configuration:
- Step 1: Go to Github homepage** Figure 1 : Github home page - Step 2: Sign in and sign up
Figure 3 :Github Sign in
Figure 4 :Github main page
- Step 3: Create new Repository: Figure 5 : Create new repo
Figure 7 :Add code Figure 8 :Add success 1.2. MongoDB: What is MongoDB: MongoDB is a popular open-source, document-oriented NoSQL database management system. It stores data in flexible, JSON-like documents, which makes it easy to store and query complex data structures. Unlike traditional relational databases, MongoDB does not require a predefined schema, which allows for more flexibility in data modeling and makes it easier to adapt to changing data requirements. MongoDB is designed to be highly scalable and available, and it can
handle large volumes of data and high traffic loads. It is widely used in web applications, mobile apps, and other areas where flexibility, scalability, and performance are important. Configuration:
- Step 1: Go to MongoDB homepage Figure 9 :MongoDB home page - Step 2: Sign in and Sign up
- Step 3: Create MongoDB cluster: Figure 12 :Create cluster - Step 4: Create Database user access and Network access: Figure 13 :Create database users
Figure 14 :Create Network access
- Step 5: Connect to MongoDB Compass: Figure 15 :MongoDB Compass
Figure 17 :MongoDB Compass view 1.3. Render: What is Render? Render is a cloud platform that provides a simple, scalable, and modern infrastructure for developers to build and deploy their applications. It offers a full-stack cloud service that includes hosting, databases, networking, and other infrastructure components, with a focus on simplicity and ease of use. Render supports a wide range of programming languages, frameworks, and databases, and provides automatic scaling, continuous deployment, and built-in monitoring and logging. With Render, developers can quickly deploy their applications to production without worrying about managing servers, configuring infrastructure, or dealing with complex DevOps tasks. Render is used by startups, small businesses, and enterprises to build and deploy web applications, APIs, and other cloud-based services. Configuration:
- Step 1:Go to Render homepage
Figure 18 : Render home page Figure 19 : Render Login
- Step 2: Connect to Github repository