Download Addressing Security in Cloud Computing: Public, Private, Hybrid & Community Clouds and more Assignments Information Technology 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 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Trần Văn Tưởng Student ID GCH Class GCH1107 Assessor name Nguyen Dinh Tran Long 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 Tưởng Grading grid P5 P6 P7 P8 M3 M4 D2 D
Summative Feedback: Resubmission Feedback:
Grade: Assessor Signature: Date: Internal Verifier’s Comments: Signature & Date:
- Task
- I. Tools
- IDE
- Framework
- Source code manager
- Database
- II. Deploy
- Task 2: Sercurity
- I. Some issue of cloud computing platform
- Public Cloud
- Private Cloud
- Hybrid Cloud
- Community Cloud
- II. Security issues in cloud environments
- References
- Figure 1:Visual studio code Contents of figure
- Figure 2:ExpressJS Framework......................................................................................................................................
- Figure 3:Github user interface
- Figure 4:MongoDb Compass user interface
- Figure 5:Render user interface
- Figure 6:Get connection string
- Figure 7: Connect to MongoDB Compass
- Figure 8:Create a new repository
- Figure 9:package.json
- Figure 10:Server port
- Figure 11:Render website
- Figure 12:Home page is deployed on cloud
- Figure 13:Home page is deployed on cloud
- Figure 14:Admin pade is deploy on cloud
- Figure 15:Admin product
- Figure 16: Admin add product
- Figure 17:Product admin after add product
- Figure 18:Admin product after search product
Task 1 I. Tools
1. IDE Visual Studio Code is a free editor that assists programmers in writing code, debugging it, and correcting it via the intelli-sense approach. In layman’s words, it allows users to create code more easily. Many people claim it’s half an IDE and half an editor, but that’s up to the developers to decide. Figure 1 :Visual studio code I will use Visual Studio Code because:
- Cross - Platform Support: Traditionally, editors supported either Windows, Linux, or Mac systems. However, Visual Studio Code is cross-platform. As a result, it may be used on all three platforms. Also, the code runs on all three platforms; otherwise, the open-source and proprietary software codes were distinct.
- Support for multiple programming language: Several programming languages are supported. Previously, programmers needed Web-Support: a separate editor for each language, but it now has built-in multi-language support. This also implies that it can readily discover any flaws or cross- language references.
- Extensions and Support: Usually supports all programming languages, however if a user/programmer wishes to use a programming language that is not supported, he can download and use the extension. Furthermore, the extension does not slow down the editor because it runs as a separate process.
- Terminal Support: When the user has to start from the root of the directory to do a certain task, the in-built terminal or console allows the user to avoid switching between two displays.
Figure 3 :Github user interface
4. Database MongoDB is a popular open-source NoSQL database. It's designed to store and manage large volumes of unstructured or semi-structured data. Unlike traditional relational databases, MongoDB uses a flexible document-oriented model, where data is stored in JSON-like documents. This allows for easy and dynamic schema changes, making it suitable for agile and rapidly changing applications. MongoDB is known for its scalability, high performance, and ability to handle diverse data types. It's commonly used in web applications, mobile apps, and other scenarios where flexibility and scalability are crucial. Figure 4 :MongoDb Compass user interface
Cloud computing deployment tool: Render is a cloud computing platform that follows the PAAS (Platform as a Service) model, which means it takes care of many technical details so I can focus on your project. It's designed for projects of all sizes, from small startups to large enterprises, providing a scalable environment. Figure 5 :Render user interface II. Deploy Connect and config MongoDB
Figure 6 :Get connection string Figure 7 : Connect to MongoDB Compass
Figure 9 :package.json Server port need to add “Process.env.PORT”: Figure 10 :Server port Next, I will register a new account to deploy my website on Render. Remember that “Start command” is “node app” Figure 11 :Render website
After that, my website is successfully deployed on cloud. Figure 12 :Home page is deployed on cloud
Figure 16 : Admin add product Figure 17 :Product admin after add product
Figure 18 :Admin product after search product Task 2: Sercurity I. Some issue of cloud computing platform
1. Public Cloud Security and Sensitive Data:
- Issue: Accidentally sharing sensitive information like API keys, passwords, or personal data in public repositories.
- Solution: Use environment variables for sensitive information. Avoid hardcoding them directly in your code. Utilize tools like .gitignore to exclude sensitive files from being pushed to the repository. Code Quality:
- Issue: Public repositories may contain unfinished or poorly written code, which can reflect negatively on your coding skills.
- Solution: Before making your repository public, ensure that the code is well-documented, properly formatted, and free of unnecessary comments or clutter. You can also mention in the README that the code is a work in progress. Licensing:
- Issue: Public repositories require clear licensing to define how others can use your code.
- Solution: Choose an appropriate open-source license for your project. GitHub provides guidance on licenses and offers templates to help you decide.