Docsity

Asm Cloud Computing, Assignments of Parallel Computing and Programming

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
Date Received 1st
submission
Re-submission Date Date Received 2nd
submission
Student Name Student ID
Class Assessor name Tran Trong Minh
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
Grading grid
P1 P2 P3 P4 M1 M2 D1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c

Partial preview of the text

Download Asm Cloud Computing and more Assignments Parallel Computing and Programming 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 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Student ID Class Assessor name Tran Trong Minh 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 Grading grid P1 P2 P3 P4 M1 M2 D

 Summative Feedback:  Resubmission Feedback:

Grade: Assessor Signature: Date: Internal Verifier’s Comments: Signature & Date:

  • I. Introduction_________________________________________________________________________
  • II. Demonstrate an understanding of the fundamentals of Cloud Computing and its architectures________
      1. Analyse the evolution and fundamental concepts of Cloud Computing.________________________
      • a. Overview Cloud__________________________________________________________________
      1. Client-Server______________________________________________________________________
      • b. Client__________________________________________________________________________
      • c. Server__________________________________________________________________________
      1. Peer-to-peer (P2P)__________________________________________________________________
      1. High Performance Computing________________________________________________________
      • a. Parallel________________________________________________________________________
      • b. Cluster________________________________________________________________________
      • c. Distributed_____________________________________________________________________
      1. Deployment Models________________________________________________________________
      • a. Public Cloud____________________________________________________________________
      • b. Private Cloud___________________________________________________________________
      • c. Community cloud________________________________________________________________
      • d. Hybrid cloud___________________________________________________________________
      1. Cloud service models_______________________________________________________________
      • a. Infrastructure as a Service_________________________________________________________
      • b. Platform as a Service_____________________________________________________________
      • c. Software as a Service_____________________________________________________________
      • d. Comparing Service Models________________________________________________________
      1. Characteristic of Cloud_____________________________________________________________
      1. Virtualization and Multicore_________________________________________________________
      • a. Virtualization___________________________________________________________________
      • b. Multicore______________________________________________________________________
      1. Solution for ATN__________________________________________________________________
      • a. Overview Scenario_______________________________________________________________
      • b. Overview Solution_______________________________________________________________
      • c. Deployment Model______________________________________________________________
      • d. Service Model__________________________________________________________________
      1. Cloud Architecture________________________________________________________________
  • III. Conclusion________________________________________________________________________
  • IV. References________________________________________________________________________
  • Figures 1: Cloud Computing______________________________________________________________ TABLE OF FIGURES
  • Figures 2: Client-Server relationship________________________________________________________
  • Figures 3: P2P model____________________________________________________________________
  • Figures 4: P2P example_________________________________________________________________
  • Figures 5: IBM Supercomputers__________________________________________________________
  • Figures 6: Public cloud_________________________________________________________________
  • Figures 7: Community cloud_____________________________________________________________
  • Figures 8: Hybrid cloud_________________________________________________________________
  • Figures 9: IaaS________________________________________________________________________
  • Figures 10: PaaS______________________________________________________________________
  • Figures 11: SaaS______________________________________________________________________
  • Figures 12: Cloud Architure_____________________________________________________________
  • Tables 1: Benefits and drawbacks of P2P____________________________________________________ TABLE OF TABLES
  • Tables 2: Pros and cons public cloud______________________________________________________
  • Tables 3: Advantage and disadvantage of private cloud________________________________________
  • Tables 4: Advantage and disadvantage of community clould____________________________________
  • Tables 5: Advantage and disadvantage of hybrid cloud________________________________________
  • Tables 6: Advantage and disvantage IaaS___________________________________________________
  • Tables 7: Advantage and disvantage of PaaS________________________________________________
  • Tables 8: Advantage and disvantage SaaS__________________________________________________
  • Tables 9: Service models________________________________________________________________
  • Tables 10: Advantage and disadvantage____________________________________________________

I. Introduction Cloud computing has led to an expansion of the IT industry. An impressive rate of adoption of cloud computing as a realistic means of delivering IT services is being driven by a number of convergent and complementary factors. The research that follows discusses the idea of cloud computing, the business models provided by service providers, and how to utilize a range of IT services. Cloud computing offers a number of benefits over traditional on-premises computing methods, including cost savings and increased flexibility and agility. Businesses, educational institutions, governments, and community organizations are all embracing cloud computing because of its enormous and astounding potential for transformation. II. Demonstrate an understanding of the fundamentals of Cloud Computing and its architectures

  1. Analyse the evolution and fundamental concepts of Cloud Computing. a. Overview Cloud The National Institute of Standards and Technology (NIST) provided the following official definition of cloud computing: "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 little management effort or service provider interaction. Three service models, four deployment methods, and five key criteria make up this cloud model. This indicates that a computational resource or infrastructure, such as server hardware, storage, networking, or application software, is all accessible from your website or facility, your cloud provider, or both. Any local computer device and any remote location can access the provider over the Internet. Also known as the pay-as-you-go or pay-per-use model, use or accessibility is usage-only for consumers depending on their demands and needs.

Thin clients are applications or devices with very little capability that are strongly reliant on servers.  Devices known as thin clients are user workstations with a basic operating system and little to no data storage. Sun Ray thin clients, for instance, at Lintula, room TC215.  Thin clients as programs: a client primarily serves as the user interface, with the server doing the majority of the computation. The gaming client OnLive, for instance (about 10 MB in size) c. Server Servers have a passive role in client interaction, executing on each request and providing responses. Numerous clients may often be supported by one server. The function of servers is to offer customers certain specified services. We have 2 types of servers: Iterative server The most suited applications for iterative design are short-duration services with generally stable execution times. The waiting time for successive clients may be intolerable if it takes a lengthy time to service one client. Echo (RFC 862) and Daytime are two examples of Internet services that have been implemented as repeat servers (RFC 867) The following stages are iterated over by iterative servers:  First: Await the arrival of a client request  Second: Prepare the answer and send it back to the customer.  Third: Back to step 1 As a result, iterative servers handle clients in a sequential manner, completing one client before moving on to the next. Concurrent server Although concurrent design is more difficult, it produces better results. When the rate at which requests are processed is lower than the rate at which requests arrive at the server, responsiveness may be improved and latency can be decreased. Concurrent servers are frequently used to implement internet services like HTTP, telnet, and FTP. These operations are carried out by concurrent servers:  First: Await the arrival of a client request  Second: Make the request a new process, task, or thread.  Third: Back to step 1 Parallel servers respond to client requests.

Relation between Client and Server Here are a few traits that help you tell client from server. Hardware: The primary functions carried out by networked devices are often referred to as "client" and "server" roles.  A "client" often refers to a PC that an individual uses to establish communication by making a request.  A "server" is often a potent computer that is solely responsible for handling client requests, located in a server room that only its administrator has ever visited. Software roles: TCP/IP implements "client" and "server" roles for several protocols using various pieces of software.  Though not always, client software is often located on client hardware and server software on server hardware.  Both client and server software may be present on some hardware. Web client: Microsoft Edge, Brave, Tor,… Example: For instance, W3Schools' "Web Statistics" Web server: Apache, GWS,… Consider Netcraft Ltd.'s "Web Server Survey." Transaction role: The customer is the entity that begins communication or makes a query during communication procedures; the server answers, frequently supplying information. Normally, a transaction will be started by the client program on the client, however this is not always the case. Example: Both of the server programs running on the server hardware are used when two SMTP servers exchange emails. However, one device serves as a client and the other as a server while transferring information.

  1. Peer-to-peer (P2P) In the P2P paradigm, both parties can start a communication session, and all end systems have comparable capabilities and duties. Each member contributes a portion of their hardware resources, such as CPU power, storage capacity, and link capacity. To deliver the service or material made available via the P2P network, several shared resources are required. The participants utilize comparable networking platforms to interact with one another and are both resource suppliers and resource requestors.

Game stations are a well-known illustration. P2P was the primary means of connection in the workplace and the sole option for devices to connect to each other in limited areas years ago when Internet was not widely utilized and individuals connected to the network via broadband connection. With several widely used gadgets, the video game business expanded quickly in the 1990s. In this illustration, a single gaming station is linked to two game controllers. Figures 2: P2P example Nowadays, Bluetooth is a well-known P2P connection. The use of Wi-Fi or another type of wired or wireless connection, however, can be used to create a P2P connection.

  1. High Performance Computing a. Parallel Another component of HPC is parallel computing. Here, a group of processors collaborate to address a computational issue. Most of these CPUs or processing units are homogenous in design. As a result, this definition is the same as HPC and is sufficiently inclusive to cover supercomputers with hundreds or thousands of linked processors.

The manner in which programs are run on conventional and parallel computers can be distinguished. Since numerous processing devices are used simultaneously in parallel computing, the following criteria apply:  It is operated utilizing many processors (multiple CPUs).  A issue is divided into distinct components that may be resolved simultaneously.  Each component is then divided into a set of instructions.  On various processors, instructions from each component are carried out concurrently.  A system of general control and coordination is used. b. Cluster A group of computers with the same or comparable types of processors connected by specialized network infrastructure makes up a cluster computing system. To enable simultaneous execution of applications across all nodes, all processing machines have software installed such as an MPI implementation and share resources like a shared home directory. This falls under the HPC category as well. Nodes are the individual computers that make up a cluster. When a cluster has several types of processing machines, that cluster becomes a subtype and is still typically in the experimental or research stage. c. Distributed Additionally, a computing system known as distributed computing is one that comprises of several computers or processors linked together via a network and can be either homogeneous or heterogeneous while still functioning as a single system. A distributed system's CPUs may be physically adjacent to one another and connected to a local network, or they may be geographically separated and linked to a wide area network, depending on how it is connected. Heterogeneity in a distributed architecture is supported by a wide range of possible configurations on processing devices, including mainframes, PCs, workstations, and minicomputers. Making such a network function similarly to a single computer is the goal of distributed computing. In contrast to centralized systems, distributed computing systems provide the following distinguishing qualities.  Scalability: This is the system's capacity to grow quickly by adding additional computers as required, and vice versa, without compromising the current configuration.  Redundancy or replication: In this case, many computers can offer the same services, ensuring that work will continue even if one becomes unavailable (or fails) because there will be other comparable computing supports accessible. Example High perfomance computing

A third-party cloud provider's publicly accessible cloud environment is referred to as a public cloud. The IT resources on public clouds are often deployed using the cloud delivery methods previously discussed, and they are typically made available to cloud users for a fee or are made available for sale through other means, such an advertising. NIST defines the public cloud as cloud infrastructure that is made available for wide public usage. A commercial, academic, or governmental body, or a combination of them, may own, administer, and run it. It is present on the cloud provider's property. Figures 1: Public cloud A public cloud has both pros and cons: Pros Cons The cloud does not require maintenance. There is a security concern. There is no restriction on the quantity of users. Organizational autonomy and privacy are impossible. The public cloud can grow very quickly. A cloud can be put up without any infrastructure being established. Compared to other cloud models, they are less expensive. Strict SLAs are adhered to. Tables 1: Pros and cons public cloud b. Private Cloud A private cloud is the cloud infrastructure that has been set up exclusively for usage by a single business with several clients. It may exist on or off premises and be owned, managed, and operated by the organization, a third party, or some combination of them.

Simply said, a private cloud is a cloud environment designed for a single enterprise. Although it can be maintained by the organization or any other third party, it is typically private to the organization. Open- source tools like OpenStack and Eucalyptus may be used to deploy a private cloud. When compared to other cloud types, the private cloud is compact. Here, the enterprises themselves deploy and operate the cloud. Advantage and disadvantage of private cloud Advantage Disadvantage It is within the organization's management. The private cloud faces financial limitations. It offers the user a high level of protection and privacy. SLAs for private clouds are lax. The cloud is manageable and tiny in size. Tables 1: Advantage and disadvantage of private cloud c. Community cloud The community cloud refers to the cloud infrastructure that has been set aside for the sole use of a certain group of users from companies who have similar concerns regarding their purpose, security needs, policies, and compliance requirements. It may exist on or off-premises and be owned, managed, and administered by one or more community groups, a third party, or some combination of them. Figures 1: Community cloud Some several advantage and disadvantages of community cloud: Advantage Disadvantage Permits building a cheap private cloud. Loss of an organization's autonomy Superior security compared to public clouds. The private cloud has better security features. Enables cloud collaboration for work. If there is no teamwork, it is not appropriate. Allows for responsibility sharing throughout the company.

setup receive all of the virtual resources. The infrastructure resources, in the form of virtual machines, will be used by end users or IT architects. Figures 1: IaaS The customer is given the opportunity to pay for usage of processing, storage, networks, and other basic computer resources, enabling him or her to deploy and execute any software, such as operating systems and apps. The consumer has limited control over some networking components but does not manage or manage the underlying cloud infrastructure. Instead, the customer has control over the installed apps, storage, and operating systems. Several advantages and disadvantage of IaaS: Advantage Disadvantage Pay-as-you-go: This makes sure that clients are only charged for what they have really utilized. By doing away with superfluous hardware purchases, this strategy reduces costs. Security concerns: Numerous attempts are made to breach the hypervisors. Any virtual machines can be readily attacked if hypervisors are exploited. Reduced TCO: Instead of spending a lot of money on IT infrastructure, IT users may rent it. IaaS lowers the TCO by eliminating the requirement to purchase physical resources. Interoperability problems: On rare occasions, a client switching service providers may experience carrier lockout. Resources that are elastic can be scaled up or down at any time by IT users. Performance problems: The network's latency has a significant impact on performance. Better resource use: IaaS guarantees better resource use and gives IaaS providers a good return on investment.

Supports Green IT: IaaS eliminates the need for dedicated server purchases by allowing a single infrastructure to be shared by several clients. This lowers the required number of servers and, in turn, lowers power consumption, supporting Green IT. Tables 1: Advantage and disvantage IaaS b. Platform as a Service The method that software is built and distributed is altered by PaaS. While PaaS shifts the creation of applications from local machines to internet servers, conventional development platforms typically produce software that requires license.The development is provided by PaaS suppliers. From the data center, PaaS. The services are available for developers to use online. Figures 1: PaaS Several advantages and disadvantages of PaaS: Advantage Disvantage -Rapid development and deployment: After the developer has finished developing, the majority of PaaS providers automate the testing and deployment process. -Vendor lock-in: PaaS services have an issue with vendor lock-in that prevents application migration from one PaaS provider to another. -TCO is decreased because PaaS enables developers to design, test, and deploy applications using software, platforms, and tools that are rented. -Security concerns: Many developers are reluctant to use PaaS services since data are housed on servers owned and operated by third parties that are off-site. -Supports agile software development: PaaS services support agile development approaches that are sought after by ISVs and other -Less flexibility: PaaS vendors do not provide developers a lot of leeway to customize their application stack. Numerous programming

Figures 1: SaaS Advantages and disadvantage of SaaS: Advantage Disadvantage Savings: SaaS services utilize a utility-based or on-demand pricing model, so customers only pay for the services they really use. Security: Data leakage is a concern because the SaaS application is shared by several end users. Accessibility: SaaS services are accessible from any device that has an Internet connection. Requirements for connectivity: One of the biggest issues with SaaS applications is their reliance on fast Internet connections. No client-side installation is necessary since end users can get services straight from the data center of the service provider. High-end hardware is not required to use SaaS services. Loss of control: Compared to on-premise applications, SaaS applications offer less control over data and applications. Dynamic scaling: The cloud's elastic resources are used by SaaS services to accommodate any form of fluctuating demands without impairing the application's usual operation. Recovery from a disaster: The replicas are spread across several servers. The end user can access the SaaS from different servers if one server goes down. Additionally, it guarantees the application's high availability. Multitenancy: From the service provider's perspective, multitenancy enhances resource usage. Tables 1: Advantage and disvantage SaaS d. Comparing Service Models I build a table comparing the characteristics of the service models SaaS model PaaS model IaaS model Characteristic -Applications that are accessible at any time and from any location are made available to users via a one-to-many approach.

  • Web access for purchasing software.
  • The user does not have to handle software management tasks like upgrades and updates.
  • Application
    • Platform for apps hosted in the cloud is provided by users.
    • Tools and services for creating, hosting, and maintaining applications all inside the same development environment. -Tools for building web-based user interfaces may be used to edit, build, deploy,
      • Users are given access to virtualized hardware and storage, which they may use to construct their own infrastructure.
      • Enables dynamic or self-scaling.
      • Its cost and utility pricing models are flexible.
      • The capacity to offer a single piece of hardware to multiple

programming interfaces enable the integration of various software components SLAs.

  • A "thin client" application powers the user interface. Stateless and ad hoc in nature.
  • Modular
  • Interoperability in semantics.
  • Hosted or delivered centrally.
  • Open Coordination/Sharing. and test various UI scenarios.
    • Several users may use the same cloud-based development program.
    • Through the use of common standards, web services and databases are integrated with PaaS.
    • Support for cooperation among development teams.
    • A tool that can manage subscriptions and billing.
    • The user interface is programmable and customizable.
    • There is no limit to database customisation.
    • Strong workflow capabilities and engine.
    • A flexible integration paradigm that supports services.
    • Cloud infrastructures are being consumed. users.
      • Independent of Platform and OS support.
      • The cost savings are attributable to the infrastructure share. Pay as you go SLA.
      • Programs and frameworks Typical degree of control given to a potential consumer Use and configuration that is connected to use. Only little administration Complete administrative Consumer pursuits Utilizes and sets up a cloud service Cloud-based solutions and services should be tested, developed, managed, and deployed. Install, maintain, and monitor the necessary software, and configure and set up the basic infrastructure. Activities of providers Control, upkeep, and implementation of cloud services monitoring cloud user behavior Platform pre- configuration and the deployment of middleware and other IT resources are necessary in order to monitor cloud user activity. Manage and provide the necessary hosting, networking, physical processing, and storage while keeping an eye on how the cloud user is using it. Service Wiki, blog, virtual desktop, email, CRM, Testing, development, integration, and Operating system, message queuing