Docsity

Cloud Computing: History, Models, and Benefits, Exercises of Programming Languages

Toggle sidebar
bg1
1
ASSIGNMENT 1
Qualification
BTEC Level 5 HND Diploma in Computing
Unit number and title
Unit 16: Cloud computing
Submission date
19/8/2022
Date Received 1st submission
Re-submission Date
Date Received 2nd submission
Student Name
Pham Lam Thai
Student ID
BHAF200110
Class
PBIT17102
Assessor name
Le Van Thuan
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
Thai
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
pf1d
pf1e
pf1f

Partial preview of the text

Download Cloud Computing: History, Models, and Benefits and more Exercises Programming Languages in PDF only on Docsity!

ASSIGNMENT 1

Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 16: Cloud computing Submission date 19/8/2022 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Pham Lam Thai Student ID BHAF Class PBIT17102 Assessor name Le Van Thuan 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 Thai Grading grid P1 P2 P3 P4 M1 M2 D

❒ Summative Feedback: ❒ Resubmission Feedback:

Grade: Assessor Signature: Date: Signature & Date:

I. Introduction

  • ANT is a Vietnamese company selling toys in many provinces across Vietnam. The company always achieves an average revenue of $500,000/year. Each store has its own database and must send sales data to the manager monthly to aggregate the data collected from all stores. In this mission, I will build a website for a toy store and push it to the cloud for ATN company. I also report back every step that I took on the project. The proposed solution for the company is to apply cloud computing to its business. I will explain and provide deployment models and service models that are appropriate for the company. Demonstrate an understanding of the fundamentals of Cloud Computing and its architecture. Evaluate the deployment models, service models, and technological drivers of Cloud Computing and validating their use

II. Fundamental concepts of Cloud Computing.

1. History of cloud computing

  • 1960 : One of the renowned names in Computer Science, John McCarthy, enabled enterprises to use expensive mainframes and introduced the whole concept of time-sharing. This turned out to be a huge contribution to the pioneering of Cloud computing concept and the establishment of the Internet.
  • 1969 : With the vision to interconnect the global space, J.C.R. Licklider introduced the concepts of “Galactic Network” and “Intergalactic Computer Network” and also developed Advanced Research Projects Agency Network- ARPANET.
  • 1970 : By this era, it was possible to run multiple Operating Systems in isolated environment.
  • 1997 : Prof. Ramnath Chellappa introduced the concept of “Cloud Computing” in Dallas.
  • 1999 : Salesforce.com started the whole concept of enterprise applications through the medium of simple websites. Along with that, the services firm also covered the way to help experts deliver applications via the Internet.
  • 2003 : The Virtual Machine Monitor (VMM), that allows running of multiple virtual guest operating systems on single device, paved way ahead for other huge inventions.
  • 2006 : Amazon also started expanding in cloud services. From EC2 to Simple Storage Service S3, they introduced the pay-as-you-go model, which has become a standard practice even today.
  • In 2013 : With IaaS, (Infrastructure-as-a-Service), the Worldwide Public Cloud Services Market totaled at £78bn, which turned out to be the fastest growing market service of that year.
  1. Client/Server
  • The Client-server model is a distributed application structure that partitions task or workload between the providers of a resource or service, called servers, and service requesters called clients. In the client-server architecture, when the client computer sends a request for data to the server through the internet, the server accepts the requested process and deliver the data packets requested back to the client. Clients do not share any of their resources. Examples of Client-Server Model are Email, World Wide Web, etc.
  1. P2P (peer-to-peer)
  • P2P (peer to peer) is a type of networking where each computer in the network can act as both a client and a server. This means that each device on the network can connect to and exchange data with any other device on the network without the need for a central server.
  • In the P2P model, all end systems have equivalent capabilities and responsibilities and either party can initiate a communication session. The participants share a part of their own hardware resources. Thus, the participants are both resource providers and resource requestors and use similar networking programs to connect with each other.

How does the P2P model works?

  • These networks do not involve a large number of nodes, usually less than 12. All the computers in the network store their own data but this data is accessible by the group. Unlike client-server networks, P2P uses resources and also provides them. This results in additional resources if the number of nodes increases. It requires specialized software. It allows resource sharing among the network. Since the nodes act as servers also, there is a constant threat of attack. Almost all the OS today support P2P networks. Advantages of P2P Network:
  • Network is easy to maintain because each node is independent of each others.
  • Since each node acts as a server, therefore the cost of the central server is saved.
  • Adding, deleting and repairing nodes in this network is easy. Disadvantages of P2P Network:
  • Because of no central server, data is always vulnerable to get lost because of no backup.
  • It becomes difficult to secure the complete network because each node is independent.

How does HPC work?

  • Some workloads, such as DNA sequencing, are simply too immense for any single computer to process. HPC or supercomputing environments address these large and complex challenges with individual nodes (computers) working together in a cluster (connected group) to perform massive amounts of computing in a short period of time. Creating and removing these clusters is often automated in the cloud to reduce costs. HPC can be run on many types of workloads, but the three most common are parallel computing, cluster computing, and grid and distributed computing.
  • Parallel computing : It is the use of multiple processing elements simultaneously for solving any problem. Problems are broken down into instructions and are solved concurrently as each resource that has been applied to work is working at the same time.
  • Cluster computing : It is a collection of tightly or loosely connected computers that work together so that they act as a single entity. The connected computers execute operations all together thus creating the idea of a single system.
  • Grid and Distributed computing : Grid and distributed computing HPC systems connect the processing power of multiple computers within a network. The network can be a grid at a single location or distributed across a wide area in different places, linking network, compute, data and instrument resources. Why is HPC important?
  • HPC has been a critical part of academic research and industry innovation for decades. HPC helps engineers, data scientists, designers, and other researchers solve large, complex problems in far less time and at less cost than traditional computing. The primary benefits of HPC are:
  • Reduced physical testing : HPC can be used to create simulations, eliminating the need for physical tests. For example, when testing automotive accidents, it is much easier and less expensive to generate a simulation than it is to perform a crash test.
  • Speed : With the latest CPUs, graphics processing units (GPUs), and low-latency networking fabrics such as remote direct memory access (RDMA), coupled with all-flash local and block storage devices, HPC can perform massive calculations in minutes instead of weeks or months.
  • Cost : Faster answers mean less wasted time and money. Additionally, with cloud-based HPC, even small businesses and startups can afford to run HPC workloads, paying only for what they use and scaling up and down as needed.
  • Innovation : HPC drives innovation across nearly every industry—it's the force behind groundbreaking scientific discoveries that improve the quality of life for people around the world.
  1. Cloud Computing
  • Cloud computing is the on-demand delivery of IT resources over the Internet with a pay-as-you-go policy. Instead of buying, owning, and maintaining physical servers and data centers, you can access technology services, like compute power, storage, and databases, as needed, from cloud service providers such as Amazon Web Services (AWS)..
  • The term “cloud” was actually derived from telephony. The telecommunication companies offered Virtual Private Network with good quality at affordable prices. The symbol of the cloud represented the demarcation point which was the sole responsibility of the provider. Cloud computing manages servers and network infrastructure management.

Cloud Solution :

  • It has essentially evolved from various computing technologies like grid computing, utility computing, parallel computing, and virtualization. The most recent development of cloud computing has evolved from the Web2.0 technology which caters to web applications that facilitate participatory information sharing, interoperability & user-centric design, etc. Examples of Web 2.0 include wikis, blogs, social networking & video sharing.
  • Organizations of every type, size, and industry are using the cloud for a wide variety of use cases, such as data backup, disaster recovery, email, virtual desktops, software development and testing, big data analytics, and customer-facing web applications. Benefits of cloud computing
  • Agility: The cloud gives you easy access to a broad range of technologies so that you can innovate faster and build nearly anything that you can imagine. You can quickly spin up resources as you need them–from infrastructure services, such as compute, storage, and databases, to Internet of Things, machine learning, data lakes and analytics, and much more.
  • Elasticity: With cloud computing, you don’t have to over-provision resources up front to handle peak levels of business activity in the future. Instead, you provision the amount of resources that you actually need. You can scale these resources up or down to instantly grow and shrink capacity as your business needs change.
  • Cost savings: The cloud allows you to trade fixed expenses (such as data centers and physical servers) for variable expenses, and only pay for IT as you consume it. Plus, the variable expenses are much lower than what you would pay to do it yourself because of the economies of scale.
  • Deploy globally in minutes: With the cloud, you can expand to new geographic regions and deploy globally in minutes.

Five essential characteristics:

  • On-demand self-service: Consumers can self-provision additional compute resources as needed without going through a cloud service provider, storage space, servers, databases, ...
  • Broad network access: Cloud resources are available on the network and can be accessed by diverse customer platforms.
  • Elastic resource pooling: Cloud resources designed to support a multi-tenant model.
  • Rapid elasticity: Cloud computing resources can increase or decrease rapidly and some cases automatically to meet business needs.
  • Measured service: Cloud resource usage is monitored, measured, and reported by the cloud service provider.

III. Why an organization should move to a Cloud solution.

  • Scenario : ATN is a Vietnamese company that is selling toys to teenagers in many provinces across Vietnam. The company has a turnover of over $500,000/year. Currently, each shop has its own database to store transactions specific to that shop. Each store has to send sales data to the management monthly, and it takes a lot of time for the management to compile the data collected from all the stores. In addition, the board cannot view real-time stock information updates. Therefore, I find that it is no longer possible to apply traditional business methods, to improve and develop our business model, the use of cloud computing helps to solve many problems and brings but benefits like:
  • Cost savings: Cloud computing can significantly reduce costs because the requirement for owning, running and maintaining on-site servers and infrastructure is removed and businesses only pay cloud providers for the resources they actually need.
  • Advanced Security: Cloud providers and data center operators place a huge emphasis on security in all of the services and solutions they offer. Their security measures will be significantly more advanced and robust than a typical in-house system a business might traditionally use. Data stored in data center and travelling across cloud networks is encrypted making it much harder to access for unauthorized individuals.

Which development model should be used:

Which Programming Language Should be used:

  • I will use the PHP programming language because:  This programming language is widely used and supported in many browsers.  PHP makes it easy to connect securely with almost any kind of database.  The PHP programming language is a popular language and an easy language to learn

Which Database should be used:

  • I will choose SQL because:  SQL processes a large amount of data in a very short amount of time. The core operations such as deletion, insertion, and any kind of data manipulation happen at lightning speeds because of their efficiency.  SQL is easy to learn and use even for beginners.  MySQL is the database server most associated with PHP. Which Cloud Platform should be used:
  • I will use Heroku Because:  Heroku is known for its ease-of-use. The free version of Heroku is best suited for small development projects.  Heroku offers developers a secure way of developing applications due to its set of security features. Heroku ensures an optimal level of security for servers, application code and prevents any possible issues.  The Heroku ecosystem consists of many cloud services that can prove to be quite essential for developers’ needs. These are quite useful for creating, managing, and operating applications.