Docsity

1644-assignment 2 - cloud computing, Assignments of Introduction to Computing

Toggle sidebar
bg1
Page 1
ASSIGNMENT 2 BRIEF
Qualification
BTEC Level 5 HND Diploma in Computing
Unit number
Unit 16: Cloud Computing
Assignment title
Cloud’s implementation and security threats
Academic Year
2021 – 2022
Unit Tutor
Ho Hai Van
Issue date
24/6/2022
Submission date
24/6/2022
IV name and date
Lục Long Quân – 01/12/2002
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 Analyse the technical challenges for cloud applications and assess their risks
Assignment Brief and Guidance:
Task 1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15

Partial preview of the text

Download 1644-assignment 2 - cloud computing and more Assignments Introduction to Computing in PDF only on Docsity!

ASSIGNMENT 2 BRIEF

Qualification BTEC Level 5 HND Diploma in Computing Unit number Unit 16: Cloud Computing Assignment title Cloud’s implementation and security threats Academic Year 2021 – 2022 Unit Tutor Ho Hai Van Issue date 24/6/2022 Submission date 24/6/ IV name and date Lục Long Quân – 01/12/ 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 Analyse 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

  • P5 Configure a Cloud Computing platform with a cloud service provider’s framework. Table of Contents
      1. Heroku
      1. MongoDB
  • P6 Implement a cloud platform using open source tools.
      1. Nodejs
      1. Deploy project to Heroku
      1. Implement functions
  • solutions to these problems.. P7 Analyse the most common problems which arise in a Cloud Computing platform and discuss appropriate
      1. Public cloud........................................................................................................................................................
      1. Private cloud
      1. Hybrid cloud.......................................................................................................................................................
  • P8 Assess the most common security issues in cloud environments..
      1. Organizational Security Risks
      1. Physical Security Risks
      1. Technological Security Risks
  • References..

Assignment answer

P5 Configure a Cloud Computing platform with a cloud service provider’s framework.

1. Heroku

  • I create heroku app: 2. MongoDB
  • Finally, the database has been built
  • So I have created a Database in MongoDB Atlas and copy the connection string so my application can connect to MongoDB Atlas. To do this, I using this code.
  • const connectionString = 'mongodb+srv://crud_express_mongo_3:[email protected]/?retryWr ites=true&w=majority'
  • MongoClient.connect(connectionString, { useUnifiedTopology: true })
  • .then(client => {
  • console.log('Connected to Database')
  • .catch(error => console.error(error)) **P6 Implement a cloud platform using open source tools.
  1. Nodejs**
  • I write a nodejs application with 2 functions are create and read.
  • I create 3 file server.js, index.html and index.js contained in views folder
  • Index.html:
  • I add element to my index.html file to send a POST request through a , the method tells browsers what kind of request to send. In this case, we use POST because we’re sending a POST request.
  • const MongoClient = require('mongodb').MongoClient

  • MongoClient.connect(connectionString, { useUnifiedTopology: true })

  • .then(client => {

  • console.log('Connected to Database')

  • const db = client.db('crud-express-mongo-11')

  • const quotesCollection = db.collection('price')

  • // Make sure you place body-parser before your CRUD handlers!

  • app.use(bodyParser.urlencoded({ extended: true }))

  • app.set('view engine', 'ejs')

  • app.get('/', (req, res) => {

  • db.collection('price').find().toArray()

  • .then(results => {

  • res.render('../views/index.ejs', { quotes: results })

  • })

  • .catch(error => console.error(error))

  • // ...

  • //res.sendFile(__dirname + '/index.html')

  • })

  • app.get('/', (req, res) => {

  • res.sendFile(__dirname + '/index.html')

  • // Note: __dirname is directory current directory you're in. Try logging it and see what you get!

  • // Mine was '/Users/zellwk/Projects/demo-repos/crud-expressmongo' for this app.

  • })

  • // get from index.html after submission

  • app.post('/quotes', (req, res) => {

  • quotesCollection.insertOne(req.body)

  • .then(result => {

  • res.redirect('/')

  • })

  • .catch(error => console.error(error))

  • })

  • app.listen(process.env.PORT || 3000 , function() {

  • console.log('listening on 3000')

  • })

  • })

  • .catch(error => console.error(error))

  • Index.js:

  • I put the quotes into index.ejs. To do this, I pass the quotes into the render method. In index.ejs, I use place variables between <%= and %> tags. Then I use for loop to loop through the quotes. 2. Deploy project to Heroku

  • First, I type heroku login to log in to my Heroku account and follow the prompts to create a new SSH public key.

  • Finally, I use git push to push the code from my local repository’s main branch to my heroku remote

3. Implement functions

  • Read:
  • Create function:

P7 Analyse the most common problems which arise in a Cloud Computing platform and discuss appropriate solutions to these problems.

1. Public cloudLack of expertise in migration:

  • IDG reports that 28 percent of businesses, particularly small and medium-sized ones, cited a lack of expertise as their main obstacle to cloud migration. An existing application must be migrated with care to the public cloud. Without a sound migration strategy or the incorrect cloud service model selection, the migration may not succeed.
  • Solution: we can outsource expertise, procure external service provider (ESP) assistance, usually in the form of a cloud managed service provider (MSP). This can be taken as a project-based approach, or a medium-to-long-term managed services approach. Selection must be careful, with large differences existing in ESP skills and experience and low-quality assistance often seriously reducing satisfactory cloud outcomes.  Lack of Control Over Data:
  • Larger cloud services like Dropbox or Google Drive, on the other hand, may expose businesses to a different kind of risk.
  • The risk of sensitive data falling into the hands of unauthorized personnel is the main cause of privacy concerns with public cloud solutions because data is stored outside of the company's IT environment. Because of this, more recent cloud services frequently advise users to backup their data. However, when third-party file-sharing services are involved, privacy may be at risk because tighter security settings, which are typically used to protect the most sensitive data, are no longer under the enterprise's control.
  • Solution: Data transfer outside of the company can be stopped by data loss prevention (DLP). Security regulations may forbid employees from using file-sharing websites like Dropbox. Users can be stopped from using unauthorized SaaS services by using Cloud Access Security Brokers (CASB). Encrypting your files between 128 and 256 bits, both during storage and transit, is the most effective way to lower this risk. In this manner, all data transferred by unidentified individuals outside the company is unintelligible. Make sure that the storage offered by the Cloud Service Provider (CSP) uses military-grade encryption such as AES-256 and that these resources are protected by encryption methods such as SSL/TLS certificates while the data is in transit.  Virtual exploits
  • In addition to the usual problems that physical machines present, some exploits only exist because of the cloud's virtual nature. The majority of consumers are unaware of these vulnerabilities, and thanks to public clouds, they have even less security control.
  • Malicious cyber actors can easily prey on less experienced remote workers. Cloud-based environments are among the most easily exploited remote work-related vulnerabilities, according to

recent reports from the US Cybersecurity and Infrastructure Security Agency (CISA). According to the report, "favorite new targets are vulnerabilities related to remote work, VPN (Virtual Private Network), and cloud-based technologies published after 2019." If data is intercepted on the way to the destination node, snooping may still occur even with encrypted files.

  • Solution: Using secured connections that can prevent outsiders from accessing even the cloud’s metadata is vital, as is constantly updating the security tools to address any new virtual exploit. 2. Private cloudAddress outdated VM images
  • One of the biggest security risks to private cloud environments is outdated VM images. When administrators give a user access to their private cloud, they typically also give that user the ability to manage tenants and build virtual machines using the administrators' provided VM templates. One of the biggest security risks to private cloud environments is outdated VM images.
  • Sadly, administrators cannot assume that a user who has permission to create VMs is knowledgeable about cyber security. Administrators cannot be certain that a user follows security best practices, even if they do have a background in cyber security.
  • Solution: as a result, administrators must design VM templates that strictly comply with the security standards of their company. Just as admins must create VM templates with security in mind, admins must also keep the VM templates up to date. This means updating or creating a new template when patches become available, or when security best practices change.  Risk of data loss
  • Tenant data loss without a backup is another risk that should be taken into account. A tenant admin may believe that the IT division backs up their private cloud resources unless told otherwise. As a result, administrators may not be able to recover any lost data in the event of a failure and crucial data loss.
  • Solution: administrators must make sure that, in the event that it is required, there are methods for recovering a tenant's VM. For instance, administrators might think about buying a cloud backup product that offers file sync and share in addition to backup and recovery management, like Acronis' Data Cloud or Druva's Cloud Platform. 3. Hybrid cloudInsecure Cloud Data Transmission
  • Vulnerabilities brought on by data flows between public and private clouds can result in hacking or eavesdropping. The best way to guarantee that data stays secure even if it is exfiltrated is through robust encryption.

3. Technological Security Risks

  • These risks include failures related to the CSP's hardware, technologies, and services. These include resource sharing isolation issues, risks associated with switching CSPs, or portability, in the public cloud due to its multi-tenancy features. It is advised that CSP perform routine infrastructure maintenance and audits.
  • Solution:
  • A hierarchy of DHT-based overlay networks, with specific tasks to be performed by each layer, could be the structure used by virtualized defense and reputation-based trust management - CSP. Reputation aggregation and probing colluders are dealt with in the lowest layer. The top layer defends against various assaults. In this context, reputation aggregation refers to using multiple sources to confirm specific connections, and probing colluders means determining which sources are connected to known bad actors.
  • Secure virtualization - CSP can make use of an Advanced Cloud Protection system (ACPS) to guarantee the security of distributed computing middleware and guest virtual machines. Logging and routinely checking executable system files can also be used to track the behavior of cloud components.
  • There should be distinct domains for providers and users, each with a unique trust agent, in order to ensure interoperability and security. A trust agent is an impartial third party that gathers security data used to confirm an endpoint. Customers and service providers should each have a different trust strategy.

References

  • Worlanyo, E., 2022. A Survey of Cloud Computing Security: Issues, Challenges and Solutions. [ebook] pp.5, 6, 9. Available at: [Accessed 24 June 2022].
    1. [online] Available at: [Accessed 24 June 2022].
  • XM Cyber. 2022. Top 4 Hybrid Cloud Security Challenges. [online] Available at: [Accessed 24 June 2022].
  • SearchITOperations. 2022. Private cloud security risks and how to prevent them. [online] Available at: [Accessed 24 June 2022].
  • Techopedia.com. 2022. Is Your Organization Aware of These 6 Key Public Cloud Risks. [online] Available at: [Accessed 24 June 2022].
  • Thanh Long Dev. 2022. Hướng Dẫn Cách Deploy Project NodeJS Lên Heroku Và Sử Dụng Database MongoDB Atlas. [online] Available at: [Accessed 24 June 2022].
  • Staff, C., Hammond, D., Tran, T., Girdhar, N., Storbakken, M., Johnson, B., Storbakken, M., Girdhar, N., Guru, N., Papazov, Y., Shastri, V., Papazov, Y. and Papazov, Y., 2022. 3 Common Cloud Security Challenges (and How to Solve Them). [online] CloudHealth by VMware Suite.