













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














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:
P5 Configure a Cloud Computing platform with a cloud service provider’s framework.
1. Heroku
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.
3. Implement functions
P7 Analyse the most common problems which arise in a Cloud Computing platform and discuss appropriate solutions to these problems.
1. Public cloud Lack of expertise in migration:
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.
3. Technological Security Risks