ASSIGNMENT ASSIGNMENT - 1 CLOUD COMPUTING, Exercises of Computer Science

ASSIGNMENT ASSIGNMENT - 1 CLOUD COMPUTING

Typology: Exercises

2021/2022

Uploaded on 08/19/2022

ttph
ttph 🇻🇳

2 documents

1 / 31

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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 Tran Truc Phuong
Grading grid
P1 P2 P3 P4 M1 M2 D1
2 | P a g e
Summative Feedback: Resubmission Feedback:
Grade:
Assessor Signature:
Date:
Internal Verifier’s Comments:
Signature & Date:
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f

Partial preview of the text

Download ASSIGNMENT ASSIGNMENT - 1 CLOUD COMPUTING and more Exercises Computer Science in PDF only on Docsity!

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 Tran Truc Phuong Grading grid P1 P2 P3 P4 M1 M2 D 2 | P a g e  Summative Feedback:Resubmission Feedback: Grade: Assessor Signature: Date: Internal Verifier’s Comments: Signature & Date:

3 | P a g e ASSIGNMENT 1 BRIEF Qualification BTEC Level 5 HND Diploma in Computing Unit number Unit 16: Cloud computing Assignment title Cloud Computing Solutions Academic Year 2021 – 2022 Unit Tutor Issue date Submission date IV name and date Submission Format: Format: The submission is in the form of 1 document 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: LO1 Demonstrate an understanding of the fundamentals of Cloud Computing and its architectures. LO2 Evaluate the deployment models, service models and technological drivers of Cloud Computing and validate their use. Assignment Brief and Guidance: Scenario ATN is a Vietnamese company which is selling toys to teenagers in many provinces all over Vietnam. The company has the revenue over 700.000 dollars/year. Currently each shop has its own database to store transactions for that shop only. Each shop has to send the sale data to the board director monthly and the 4 | P a g e board director need lots of time to summarize the data collected from all the shops. Besides the board

P2 Design an appropriate architectural Cloud Computing framework for a given scenario. M1 Discuss why an organisation should migrate to a Cloud Computing solution. LO2 Evaluate the deployment models, service models and technological drivers of Cloud Computing and validate their use P3 Define an appropriate deployment model for a given scenario. P4 Compare the service models for choosing an adequate model for a given scenario. M2 Demonstrate these deployment models with real world examples. 6 | P a g e Contents INTRODUCE ....................................................................................................................................................... ............ 8

1. OVERVIEW COMPUTING MODEL ............................................................................................................................. 9 1.1 CLIENT- SERVER ................................................................................................................................................... 9 1. P2P .................................................................................................................................................................... 12 1.3 HPC: PARALEL/ CLUSTER/DISTRIBUTED .......................................................................................................... 13 2. CLOUD COMPUTING ............................................................................................................................................... 15 2.1 DEFINITION CLOUD COMPUTING .................................................................................................................... 15

2.2 CHARACTERISTIC OF

CLOUD ........................................................................................................................... 16

2.3 VIRTUALIZATION/ MULTICORE

TECHNOLOGY ................................................................................................ 18

3. DEPLOYEMENT

MODELS ........................................................................................................................................ 19

3.1 PUBLIC

CLOUD .................................................................................................................................................. 20

3.2 PRIVATE

CLOUD ................................................................................................................................................ 21

3.3 COMMUNITY

CLOUD ........................................................................................................................................ 21

3.4 HYBRID

CLOUD ................................................................................................................................................. 22

4. SERVICE

MODELS .................................................................................................................................................... 23

4.1 INFRASTRUCTURE AS A SERVICE

(IAAS) .......................................................................................................... 23

4.2 PLATFORM AS A SERVICE

(PAAS) ..................................................................................................................... 24

4.3 SOFTWARE AS A SERVICE

(SAAS) ..................................................................................................................... 26

5. SOLUTION FOR

ATN ................................................................................................................................................ 27

SCENARIO .........................................................................................................................................................

5.2 REASON ANT SHOULD USED

CLOUD ............................................................................................................... 27

5.3 DEPLOYMENT MODEL SHOULD BE

USED ........................................................................................................ 28

5.4 SERVICE MODEL SHOULD BE

USED .................................................................................................................. 28

5.5 TECHNICAL

SPECS ............................................................................................................................................. 29

INTRODUCE

The present day concept of “cloud computing” dates lower back many years, whilst large-scale mainframes had been made to be had to colleges and corporations. The mainframe’s big hardware infrastructure become installed in what may be known as a “server room” (for the reason that room might typically most effective be capable of maintain a unmarried mainframe). Multiple customers had been capable of get entry to the mainframe via “dumb terminals”—stations with the only function of facilitating get entry to to the mainframes. Due to the price of purchasing and keeping mainframes, an corporation wouldn’t be capable of manage to pay for a mainframe for every user. It have become exercise to permit a couple of customers to percentage get entry to to the identical statistics garage layer and CPU strength from any station. By allowing shared mainframe get entry to, an corporation might get a higher go back on its investment on this state-of-the-art piece of technology (Ibm.com, 2917). 9 | P a g e

1. OVERVIEW COMPUTING MODEL Currently, in the world, the following types of computer networks are popular: 1.1 CLIENT-SERVER Client server architecture is a computing model wherein the server hosts, delivers, and manages maximum of the sources and services asked via way of means of the client. It is likewise called the networking computing model or client server community as all requests and offerings are introduced over a network. The client-server architecture or version has different structures linked over a community in which sources are shared a few of the unique computers. Typically, patron server architecture is organized in a manner that clients are regularly located at workstations or on private computers, even as servers are positioned some other place at the network, generally on extra effective machines. Such a model is specifically useful whilst the clients and server carry out habitual tasks. For example, in clinic records processing, a client pc may be busy walking an software application for coming into affected person facts, in the meantime the server computer may be walking every other program to fetch and manipulate the database wherein the facts is completely stored (Intellipaat.com, 2022). Figure 1_CLIENT-SERVER MODEL (Intellipaat.com, 2022) a. Client A client may be a easy application or an entire system that accesses offerings being supplied via way of means of a server. A client can connect with a server thru exclusive method like area sockets, named, shared reminiscence or through Internet protocols, that is the maximum not unusualplace approach getting used for the reason that extensive adoption of the Internet. Clients are categorized into 3 types: Thin Client : A client application with minimal functions that makes use of the assets supplied via way of means of a host pc and its activity is typically simply to show effects processed via way of means of a server. Thick/Fat Client : This is the other of the skinny purchaser. It can do maximum of its processing and does

now no longer always depend upon a vital server, however can also additionally want to connect with one for a few information, uploading, or to replace records or this system itself. 10 | P a g e Hybrid : Exhibits traits from the 2 above types. It can do maximum approaches on its very own however can also additionally depend upon a server for essential data or for storage (Techopedia.com, 2019). b. Server Server means quite appearing computer machine that facilitates to deliver many resources, data, or services to some other remotely machine, referred to as as the “Client” over the one-of-a-kind varieties of a network like a local area network (LAN) or a wide location network (WAN). Servers are succesful to run on numerous varieties of computer systems, however enough hardware need to be supported as in keeping with worrying of your servers. For example, internet servers assist to run big quantity of web pages withinside the actual time, however this server wishes quickest processor and enough RAM to control massive “Load” with out getting slow down. Types of Servers There are three different types of server with their examples. Explain each one: Figure 2_TYPES OF SERVERS (Digitalthinkerhelp.com, 2020) Tower Servers : This server like as ordinary desktop computer system, however it consists of numerous server hardware components. Rack Servers : This server is located withinside the horizontal rack. Multiple servers may be set up on this single rack mount server chassis. Blade Servers : Traditional computer servers hardware is expand in addition to the usage of heavy different elements of server. Other Types and Examples of Servers Here, we unfold mild at the unique forms of examples of server, beneath give an explanation for every one: Application Servers: Mainly, utility servers are used to make connection in among database server and client device, so it's also recognized as “Middleware“. Web Servers : It can provide static content material to web browsers through loading a report from a disc.

Other Type: A exceptional form of relationship is a peer-to-peer network AKA P2P. A P2P community is whilst numerous clients act because the client and server and proportion sources among every different. This is what a peer-to-peer network might appearance like (Yohaness, 2021). 1.2 P2P Peer-to-peer, or P2P in its abbreviated form, refers to pc networks the usage of a distributed architecture. In P2P networks, all of the computer systems and devices which are a part of them are known as peers, and that they percentage and change workloads. Each peer in a peer-to-peer network is identical to the opposite peers. There aren't anyt any privileged peers, and there may be no number one administrator tool withinside the middle of the network. Figure 4_A simulation of a peer-to-peer network (Neagu, 2019) In a way, peer-to-peer networks are the most egalitarian networks withinside the pc world. Each peer is identical to the others, and every peer has the equal rights and obligations because the others. Peers are 13 | P a g e each customers and servers on an equal time. In fact, each aid and every asset it truly is to be had in a peer-to-peer network is shared amongst peers, with none principal server being involved. The shared sources in a P2P network may be matters including processor usage, disk storage capacity, or network bandwidth (Neagu, 2019). Advantages of P2P Network : Network is simple to hold due to the fact every node is impartial of every other. Since every node acts as a server, consequently the value of the critical server is saved. Adding, deleting and repairing nodes on this network is simple. Disadvantages of P2P Network : Because of no critical server, statistics is continually prone to wander away due to no backup. It will become hard to steady the whole network due to the fact every node is impartial (Geeksforgeeks.org, 2020). Examples of P2P networks There are 3 fundamental tiers of P2P networking: The fundamental stage makes use of a prevalent serial bus (USB) to create a fundamental P2P network among laptop systems. The intermediate stage calls for the use of copper wires to attach a huge variety of computers.

In the superior P2P network, software program establishes protocols that control the direct connections among a couple of gadgets over the internet (Indeed.com, 2021). 1.3 HPC: PARALEL/ CLUSTER/DISTRIBUTED a. Paralel Parallel computing is a kind of computer structure wherein a couple of processes are carried out on an identical time. It is the other of serial computing, wherein one project is damaged down into a hard and fast of instructions which might be processed in my view in sequential order. Parallel computing is intently associated with concurrent computing, however they are wonderful concepts; with the former, all the computational duties are interrelated, whilst the latter offers with processes which might be unrelated or significantly various in nature. There are 4 most important forms of parallel computing: Bit-level parallelism, which will increase the quantity of facts the processor can handle, successfully reducing the variety of instructions which might be required to finish a unmarried project Instruction-level parallelism, which executes a couple of training sequences on the identical time, both thru hardware (dynamic parallelism) or software (static parallelism) Task parallelism, which plays a couple of simultaneous duties at the identical set of data 14 | P a g e Superword level parallelism, which exploits parallelism of inline code thru vectorization techniques Parallel computer systems may be labeled primarily based totally on 4 forms of architecture: Multicore computing, wherein a couple of processing units (referred to as cores) are housed at the identical chip Symmetric multiprocessing, wherein a bus connects a couple of separate however identical processing gadgets Distributed computing, wherein processing gadgets exist in separate computer networks however coordinate efforts thru HTTP, RPC, or comparable protocols Massively parallel computing, wherein a massive extent of networked processing gadgets (100+) are housed in a unmarried computer, typically a supercomputer (Norton, 2021) b. Cluster Cluster computing refers that some of the computer systems connected on a network and that they carry out like a unmarried entity. Each computer this is related to the network is referred to as a node. Cluster computing gives answers to resolve complicated issues via way of means of supplying quicker computational speed, and stronger data integrity. The connected computer systems execute operations all collectively accordingly developing the influence like an unmarried system (digital machine). This method is named as transparency of the system. Based at the precept of disbursed systems, this networking generation plays its operations. And here, LAN is the connection unit. This process is described because the transparency of the system. Cluster computing is going with the functions of: All the connected computer systems are the identical type of machines They are tightly connected thru devoted network connections All the computer systems percentage a not unusualplace domestic directory. Clusters’ hardware configuration differs primarily based totally on the chosen networking technologies. Cluster is categorised as Open and Close clusters in which Open Clusters all of the nodes want IP’s and people are accessed best thru the net or web. This sort of clustering reasons stronger safety concerns. And in Closed Clustering, the nodes are hid in the back of the gateway node and that they provide multiplied protection (Binders, 2021). There exist numerous applications of cluster computing, Few of those are:

  • Cluster computing can be implemented in weather modeling
  • Stands as support in-vehicle breakdown and nuclear simulations

2. CLOUD COMPUTING

2.1 DEFINITION CLOUD COMPUTING

Cloud computing is the shipping of various offerings thru the Internet. These sources consist of gear and applications like data garage, servers, databases, networking, and software program. Rather than retaining documents on a proprietary difficult pressure or neighborhood garage tool, cloud-primarily based totally garage makes it viable to shop them to a faraway database. As lengthy as an digital tool has get admission to to the web, it has get admission to to the data and the software program programs to run it. Cloud computing is a famous alternative for humans and companies for some of motives consisting of price savings, expanded productivity, speed and efficiency, performance, and security. 16 | P a g e Cloud computing takes all of the heavy lifting concerned in crunching and processing information farfar from the tool you convey round or take a seat down and paintings at. It additionally movements all of that work to massive pc clusters a ways away in cyberspace. The Internet turns into the cloud, and voilà—your data, work, and applications are to be had from any tool with which you could connect to the Internet, everywhere withinside the world. Cloud computing may be each public and private. Public cloud offerings offer their offerings over the Internet for a fee. Private cloud offerings, on the opposite hand, simplest offer offerings to a positive variety of people. These services are a device of networks that deliver hosted offerings. There is likewise a hybrid option, which mixes factors of each the public and private services. Types of Cloud Services Regardless of the type of service, cloud computing offerings offer customers with a series of functions including:

  • Email Storage, backup, and data retrieval
  • Creating and testing apps
  • Analyzing data
  • Audio and video streaming
  • Delivering software program on demand (FRANKENFIELD, 2021). 2.2 CHARACTERISTIC OF CLOUD a. CHARACTERISTIC Figure 5_CHARACTERISTIC OF CLOUD (Titanpower.com, 2016) On-demand self-service : A client can unilaterally provision computing capabilities, inclusive of server time and network storage, as wanted robotically with out requiring human interaction with every service’s provider. Broad network access : Capabilities are to be had over the network and accessed via trendy mechanisms that sell use through heterogeneous skinny or thick customer platforms 17 | P a g e Elastic aid pooling : The provider’s computing resources are pooled to serve a couple of customers the

usage of a multitenant model Rapid elasticity : Capabilities may be rapidly and elastically provisioned, in a few cases automatically, to fast scale out and swiftly launched to fast scale in Measured service : Cloud structures robotically control and optimize aid use through leveraging a metering capability at a few stage of abstraction appropriate to the sort of servic (Thomas Erl, 2013) b. Architecture cloud Dynamic Scalability Architecture is a version of the architecture that relies heavily on a predefined engine of scaling scenarios that cause dynamic allocation of IT resources from useful resource pools.. Dynamic allocation allows change usage to be specified via invocation of the usage media for fluctuations, due to the fact that meaningless IT resources are effectively reclaimed without the need for direct interaction. guide. The auto-scaling listener is configured with specified workload thresholds while new IT sources want to be included in the workload processing. This mechanism can normally be provisioned to determine the amount of additional IT resources that can be dynamically provisioned, based purely on certain cloud consumer provisioning contract terms. The following types of dynamic scaling are commonly used:

  • Dynamic Horizontal Scale
  • Dynamic vertical scaling
  • Dynamic position shifting Figure 6_Cloud service consumers are sending requests to a cloud service (1). The automated scaling listener monitors the cloud service to determine if predefined capacity thresholds are 18 | P a g e being exceeded (2).(Thomas Erl, 2013) The cloud service consumer is sending a request to the cloud service (1). The auto-scaling listener monitors the cloud service to determine if a predefined capacity threshold has been exceeded (2). Dynamic scalability architecture can be deployed to a number of IT sources, such as digital servers and cloud garages. Besides the central auto-scaling listener and useful resource replication mechanisms, the following mechanisms can also be used on this cloud topology:
  • Cloud usage monitor
  • Supervisor
  • Pay-Per-Use tracking (Thomas Erl, 2013).

Multi-core also can confer with a couple of dies packaged collectively. Multi-core allows the system to perform greater responsibilities with a more usual device performance. The multi-core era may be utilized in desktops, mobile PCs, servers and workstations. Contrast with dual-core, a unmarried chip containing separate processors (execution cores) withinside the same IC (Beal, 2021).

3. DEPLOYEMENT MODELS It works as your virtual computing environment with a desire of deployment model relying on how lots data you need to shop and who has get entry to to the infrastructure. Most cloud hubs have tens of lots of servers and storage devices to allow rapid loading. It is frequently feasible to select a geographic place to position the data “closer” to customers. Thus, deployment models for cloud computing are labeled primarily based totally on their location. To understand which model could quality fit the necessities of your organization, allow us to first study the various types. 20 | P a g e 3.1 PUBLIC CLOUD The call says it all. It is available with the aid of using the public. Public deployment fashions withinside the cloud are best for businesses with developing and fluctuating demands. It additionally makes a first rate desire for organizations with low-security concerns. Thus, you pay a cloud service provider for networking services, compute virtualization & storage to be had on the general public internet. This is likewise a first rate delivery model for the groups with improvement and testing. Its configuration and deployment are short and easy, making it a perfect desire for test environments. Figure 8_Public Cloud (Rishabhsoft.com, 2021) Benefits of Public Cloud

  • Minimal Investment – As a pay-per-use service, there is no big in advance cost and is good for businesses who want quick get entry to to resources
  • No Hardware Set-up – The entire infrastructure is absolutely funded with the aid of using the cloud service providers
  • No Infrastructure Management – Does now no longer require an in-house team to make use of the public cloud Limitations of Public Cloud
  • Data Security and Privacy Concerns – Since it is accessible to all, it does now no longer fully protect towards cyber-attacks and will result in vulnerabilities
  • Reliability Issues – Since the same server network is open to a extensive variety of customers, it could result in malfunction and outages
  • Service/License Limitation – While there are numerous resources that you may exchange with tenants, there's a cap on usage

21 | P a g e 3.2 PRIVATE CLOUD Now which you recognize what the general public cloud should provide you, of course, you are eager to know what a private cloud can do. Companies that search for price performance and extra manage over data & resources will find the private cloud a greater suitable choice. What it way is that it is going to be integrated together along with your data middle and managed with the aid of using your IT team. Alternatively, you may additionally choose to host it externally. When it involves customization, the non-public cloud gives larger opportunities that assist meet particular enterprise’s requirements. It’s additionally a smart desire for mission-critical techniques that could have often changing requirements. Figure 9_Private Cloud (Rishabhsoft.com, 2021) Benefits of Private Cloud

  • Data Privacy – It is good for storing corporate data in which most effective authorized employees receives access
  • Security – Segmentation of resources withinside the same infrastructure can assist with higher get entry to and better levels of security
  • Supports Legacy Systems – This model helps legacy systems that can not access the general public cloud Limitations of Private Cloud
  • Higher Cost – With the advantages which you get, the investment can also be large than the public cloud. Here, you will pay for software, hardware and resources for team of workers and training.
  • Fixed Scalability – The hardware you choose will thus assist you scale in a certain direction
  • High Maintenance – Since it is controlled in-house, the maintenance fees additionally increase 3.3 COMMUNITY CLOUD The community cloud operates in a manner this is just like the general public cloud. There’s simply one difference – it lets in get entry to to most effective a specific set of customers who share not unusualplace 22 | P a g e targets and use cases. This sort of deployment version of cloud computing is controlled and hosted internally or with the aid of using a third-party vendor. However, you may additionally select a aggregate of all three.
  • Specific Use Case – This model makes greater experience for businesses which have a couple of use cases or want to split important and touchy data (Rishabhsoft.com, 2021) 4. SERVICE MODELS Cloud computing makes use of dispensed computing to offer customers with surprisingly scalable cost- effective infrastructures and platforms. Cloud vendors normally provide their assets via hosted offerings that may be used over the internet. A number of various carrier fashions have established themselves at the market: 4.1 INFRASTRUCTURE AS A SERVICE (IAAS) It is the maximum flexible form of cloud carrier which helps you to hire the hardware and incorporates the primary constructing blocks for cloud and IT. It offers whole manipulate over the hardware that runs your application (servers, VMs, storage, networks & operating systems). It’s an immediate computing infrastructure, provisioned and controlled over the internet. IaaS offers you the very excellent stage of flexibleness and management manipulate over your IT resources. 24 | P a g e It is maximum nearly just like the winning IT resources with which many IT departments and developers are familiar. Figure 12_Examples of IaaS: VM or EC2 (from AWS), Storage or Networking.Cloud Service Model IaaS (Kumar, 2021) Benefits of IaaS IaaS is an efficient and cost-effective manner to deploy, operate, and scale your IT infrastructure. It’s clean to installation and configure, so that you can begin the usage of it quickly. And due to the fact it’s to be had as a carrier from an outside provider, you don’t should fear approximately constructing and maintaining your own infrastructure. IaaS gives the subsequent benefits:
  • Cost savings: IaaS is greater cost-effective than constructing your personal data center. You pay simplest for what you need — garage space, CPU power, bandwidth, and different resources. This makes it simpler to scale up or down as wanted.
  • On-demand access: You can right away provision new resources on every occasion they’re wanted while not having to invest in new hardware and software program or hire extra IT staff members. The cloud provider looks after all of the preservation and improvements required to preserve your servers on-line 24/7 with ninety nine percentage uptime guarantees (or better).
  • Flexibility: With cloud computing, you could without problems upload greater resources while call for will increase while not having to improve device or hire more IT professionals.

4.2 PLATFORM AS A SERVICE (PAAS)

PaaS is a cloud service model that offers a ready-to-use development surroundings in which builders can specialise in writing and executing terrific code to make custom designed applications. 25 | P a g e It facilitates to create an software speedy with out managing the underlying infrastructure. For example, while deploying a web application the use of PaaS, you don’t should deployation an working device, web server, or maybe device updates. However, you may scale and upload new features on your services. This cloud carrier version makes the technique of developing and deploying programs less difficult and it's far extra highly priced than IaaS however much less expensive than SaaS. This facilitates you be extra green as you don’t get to fear approximately resource procurement, capability planning, software program maintenance, patching, or any of the opposite undifferentiated work involved in going for walks your software. Figure 13_Examples of PaaS: Elastic Beanstalk or Lambda from AWS, WebApps, Functions or Azure SQL DB from Azure, Cloud SQL DB from Google Cloud, or Oracle Database Cloud Service from Oracle Cloud (Kumar, 2021) Benefits of PaaS PaaS is an smooth manner to construct an software, and it gives a variety of benefits. Here are only a few:

  • Faster improvement time – You do not have to construct infrastructure earlier than you may begin coding.
  • Reduced costs – Your IT department won’t want to spend time on guide deployments or server management.
  • Enhanced security – PaaS providers lock down your applications in order that they’re extra steady than traditional web apps. 26 | P a g e
  • High availability – A PaaS provider can ensure your software is constantly available, even for the duration of hardware failures or maintenance windows. 4.3 SOFTWARE AS A SERVICE (SAAS) SaaS offers you with a entire product this is run and managed with the aid of using the service provider. The software program is hosted on-line and made to be had to clients on a subscription basis or for buy on this cloud service model. With a SaaS offering, you don’t want to fear approximately how the service is maintained or how the underlying infrastructure is managed. It might assist in case you believed how you’d use that specific software program.