Docsity

1644_ASM1 _ CLOUD COMPUTING, Thesis of Data Structures and Algorithms

Toggle sidebar
bg1
ASSIGNMENT 1 FRONT SHEET
Qualification BTEC Level 5 HND Diploma in Computing
Unit number and title Unit 16: Cloud computing
Submission date Feb 22nd, 2021 Date Received 1st submission. Feb 22nd, 2021
Re-submission Date Date Received 2nd submission.
Student Name Nguyen Van A Student ID GCS200123
Class GCS123 Assessor name Do Quoc Binh
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequ
making a false declaration is a form of malpractice.
ences of plagiarism. I understand that
Student’s signature
Grading grid
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34

Partial preview of the text

Download 1644_ASM1 _ CLOUD COMPUTING and more Thesis Data Structures and Algorithms in PDF only on Docsity!

ASSIGNMENT 1 FRONT SHEET

Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 16: Cloud computing Submission date Feb 22nd, 2021 Date Received 1st submission. Feb 22nd, 2021 Re-submission Date Date Received 2nd submission. Student Name Nguyen Van A Student ID GCS Class GCS123 Assessor name Do Quoc Binh Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequ making a false declaration is a form of malpractice. ences of plagiarism. I understand that Student’s signature Grading grid

Table of Contents

  • P1 P2 P3 P4 M1 M2 D
  • Table of Figures...............................................................................................................................................
  • Introduction.....................................................................................................................................................
    1. Overview cloud computing.........................................................................................................................
    1. Client – Server.............................................................................................................................................
  • 2.1 Client.....................................................................................................................................................
  • 2.2 Server...................................................................................................................................................
  • 2.3. Relation between Client and Server...................................................................................................
    1. Peer-to-peer (P2P).....................................................................................................................................
    1. High Performance Computing...................................................................................................................
  • 4.1. Definition............................................................................................................................................
  • 4.1.1. Parallel..........................................................................................................................................................................
  • 4.1.2. Cluster...........................................................................................................................................................................
  • 4.1.3. Distributed....................................................................................................................................................................
    1. Deployment Models..................................................................................................................................
  • 5.1. Public Deployment.............................................................................................................................
  • 5.2. Private Deployment............................................................................................................................
  • 5.3. Community Cloud..............................................................................................................................
  • 5.4. Hybrid Cloud......................................................................................................................................
    1. Cloud Service Models...............................................................................................................................
  • 6.1 Infrastructure as a Service...................................................................................................................
  • 6.2 Platform as a Service...........................................................................................................................
  • 6.3 Software as a Service...........................................................................................................................
  • 6.4 Comparing Service Models.................................................................................................................
    1. Characteristic of Cloud..............................................................................................................................
    1. Virtualization and Multicore.....................................................................................................................
  • 8.1 Virtualization.......................................................................................................................................
  • 8.2 Multicore.............................................................................................................................................
    1. Solution for ATN.......................................................................................................................................
  • 9.1. Overview Scenario.............................................................................................................................
  • 9.2 Overview Solution...............................................................................................................................
  • 9.2. Deployment Model.............................................................................................................................
  • 9.3. Service Model.....................................................................................................................................
  • 9.4. Technical Specs..................................................................................................................................
  • 9.4.1. NodeJS & JavaScript....................................................................................................................................................
  • 9.4.2.1 MongoDB...................................................................................................................................................................
  • 9.4.3.1 Heroku........................................................................................................................................................................
  • 9.4.4. GitHub: Version Control System & Collaboration......................................................................................................
    1. Cloud Architecture..................................................................................................................................
  • Conclusion.....................................................................................................................................................
  • References.....................................................................................................................................................

Introduction Cloud computing is expanding the reach of the IT landscape. Driven by a number of converging and complementary factors, cloud computing is evolving as a viable model of IT service delivery at an amazing rate. In the following report we will describe the definition of cloud computing, the models that are being provided by service providers, and exploit the variety of IT services. Cloud computing offers a number of benefits over traditional on-premises computing models, including reduced costs and increased agility and flexibility. Its transformation potential is enormous and impressive, and as a result, cloud computing is being adopted by individual users, businesses, educational institutions, governments, and community organizations.

  1. Overview cloud computing According to (Chandrasekaran, 2014), The formal definition of cloud computing comes from the National Institute of Standards and Technology (NIST): “Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources such as networks, servers, storage, applications, and services, that can be rapidly provisioned and released with minimal management effort or service provider interaction. This cloud model is composed of five essential characteristics, three service models, and four deployment models. That means a computing resource or infrastructure including server hardware, storage, networking, or application software is all available from your cloud provider or your website / facility. The provider can be accessed over the Internet from any remote location and with any local computing device. In addition, usage or accessibility is usage-only for customers based on their needs and needs, also known as the pay- as-yougo or pay-per-use model.

For example, a desktop PC, a laptop, a netbook

  • Fat clients as programs – a client carries a relatively large the proportion of the processing load. For example, the Lineage II gaming client (more than 2 GB in size). Thin client Thin clients are devices/programs that have very limited functionality and depend heavily on their server counterparts.
  • Thin clients as devices – a user workstation that contains a minimal operating system and little or no data storage For example, Sun Ray thin clients in Lintula, room TC215 (Moltchanov, 2013).
  • Thin clients as programs – a client mainly provides a user interface, while the bulk of processing occurs in the server For example, the OnLive gaming client (about 10 MB in size) (Moltchanov, 2013).

2.2 Server

According to (Moltchanov, 2013), servers have a passive role and respond to their clients by acting on each request and returning results  One server generally supports numerous clients. The purpose of servers is to provide some predefined services for clients There are 2 types of servers: Iterative server Iterative design is quite simple and is most suitable for short-duration services that exhibit relatively little variation in their execution time.

It means if the time to handle a client can be long, the waiting time experienced by subsequent clients may be unacceptable. Examples of Internet services deployed as repeat servers like echo (RFC 862) and daytime (RFC 867) Iterative servers iterate through the following steps: Step 1: Wait for a client request to arrive Step 2: Process the request and send the response back to the client Step 3: Go back to Step 1 So, iterative servers handle clients sequentially, finishing with one client before servicing the next. Concurrent server Concurrent design is more complex but yields better performance. It allows to improve responsiveness and reduce latency when the rate at which requests are processed is less than the rate at which requests arrive at the server. Internet services like HTTP, telnet, and FTP are commonly implemented as concurrent servers. Concurrent servers perform the following steps:

  • Step 1: Wait for a client request to arrive
  • Step 2: Use a new process/task/thread to handle the request
  • Step 3: Go back to Step 1 Thus, concurrent servers handle client requests in parallel.

2.3. Relation between Client and Server

Below are some of the characteristics to distinguish between client and server. Hardware role: The terms "client" and "server" generally refer to the key roles performed by networked hardware.

The participants share a part of their own hardware resources, For example, storage capacity, link capacity, CPU power. These shared resources are necessary to provide the service or content offered by the P2P network. Thus, the participants are both resource providers and resource requestors and use similar networking programs to connect with each other. Figure 2: P2P model Downlink and uplink data flow tend to be (but not necessarily) symmetric in P2P networks. This is because each connected host simultaneously operates as both client and server, thus receiving and transmitting on average the same amount of data. The P2P paradigm does not have the notion of clients or servers, but rather equivalent peers, that act simultaneously as both clients and servers. However, with every contact session, we can always differentiate between requesting peers as "clients" and reacting peers as "servers”. Again, this model is relevant to end systems only, regardless of how the end systems are connected to each other. Below is a table of advantages and disadvantages of P2P: Advantage Disadvantage Improved scalability and reliability. Lack of centralized control. No need for a dedicated application and database server Computers that have shared resources may suffer sluggish performance.

Low security. Table 1: Advantage and Disadvantage of P2P

P2P Example

An example that quite famous is game stations. Years ago, when Internet is not popular and people used to connect to the network by Broadband connection, P2P is the main method of connection in workplace and the only choice for devices to connect to each other in small area. The game industry was rapidly grown in 1990s with many popular devices. Here is one example with two game controllers connected to a single game station. Nowadays, a famous P2P connection is Bluetooth. However, people can establish a P2P connection using Wi-Fi or other kind of wired or wireless connection.

4. High Performance Computing

4.1. Definition

4.1.1. Parallel According to (Chandrasekaran, 2014), Parallel computing is also one of the facets of HPC. Here, a set of processors work cooperatively to solve a computational problem. These processor machines or CPUs are mostly of homogeneous type. Therefore, this definition is the same as that of HPC and is broad enough to

minicomputers, support heterogeneity in a distributed framework. The aim of distributed computing is to make such a network operate like a single computer. Distributed computing systems are advantageous over centralized systems, because there is support for the following characteristic features:

  • Scalability: It is the ability of the system to be easily expanded by adding more machines as needed, and vice versa, without affecting the existing setup.
  • Redundancy or replication: Here, several machines can provide the same services, so that even if one is unavailable (or failed), work does not stop because other similar computing supports will be available.

4.2. Example

In real life, there’s several uses of HPC. Actually, HPC is not so common in daily life since its specific purposes. According to its power, it’s suitable for tasks that requires a fast, reliable and stable performance. An example that can be mentioned here is Deep Learning. With a high power of computing, calculations can be done way much faster and the data can be analyzed rapidly. As in IBM (United States), two supercomputers (which are fastest on the world) was built for Machine Learning purpose.

Figure 3. IBM Supercomputers

  1. Deployment Models A cloud deployment model represents a specific type of cloud environment, primarily distinguished by ownership, size, and access. There are four common cloud deployment models:
    • Public cloud.
    • Community cloud.
    • Private cloud.
    • Hybrid cloud.

There is no need of establishing infrastructure for setting up a cloud. They are comparatively less costly than other cloud models. Strict SLAs are followed. Table 2: Advantages and disadvantages of a public cloud

Real Example

In reality, Hpublic cloud is frequently used in small businesses and systems. As provided above about some advantages of using Public Deployment, the scalability and the requirements for maintenance is the main points which make thing more flexible when using this kind of deployment. Furthermore, the low cost also very important that’s efficient in small businesses. In real life, the author has experienced in some projects that used Public Cloud Service as the Deployment Service for the whole project. To be specific, an

Figure 5. A Project deployed onto Google Cloud Platform “instance” was deployed through Google Cloud Engine - GCE (of Google Cloud Platform - GCP). About the experience, GCP – GCE provides a flexible way to deploy an instance and makes things much easier to do. With some steps interacting with a friendly web panel interface, the author has successfully to deploy a Cloud Instance which stands for providing a website including an online messaging service. The stability of the public deployment is also very good as its uptime is nearly always. The deployment process is quite simple since it depends on a famous “version control service - VCS” – Git. The result of the process is a website: https://eof.vn and a Messaging bot for English self-learning Chatbot: https://m.me/EnglishOrFoolish. Figure 6. Self-made Example Project

5.2. Private Deployment

According to the National Institute of Standards and Technology (NIST), a private cloud can be defined as the cloud infrastructure that is provisioned for exclusive use by a single organization comprising multiple consumers. It may be owned, managed, and operated by the organization, a third party, or some combination of them, and it may exist on or off premises. The private cloud in simple terms is the cloud environment created for a single organization. It is usually private to the organization but can be managed by the organization or any other third