Docsity

1644_Assignment1_Cloud Computing, Assignments of Computer Science

Toggle sidebar
bg1
Higher Nationals in Computing
Unit 16: Cloud Computing
ASSIGNMENT 1
Learner’s name: Tran Quang Hien
ID: GCS210109
Class: GCS1003A
Subject code: 1644
Assessor name: HO HAI VAN
Assignment due: Assignment submitted
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d

Partial preview of the text

Download 1644_Assignment1_Cloud Computing and more Assignments Computer Science in PDF only on Docsity!

Higher Nationals in Computing

Unit 16 : Cloud Computing

ASSIGNMENT 1

Learner’s name: Tran Quang Hien

ID: GCS

Class: GCS1003A

Subject code: 1644

Assessor name: HO HAI VAN

Assignment due: Assignment submitted

ASSIGNMENT 1 BRIEF

Qualification BTEC Level 5 HND Diploma in Computing Unit number Unit 16: Cloud computing Assignment title Cloud Computing Solutions Academic Year 2023 Unit Tutor Ho Hai Van 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:

Learning Outcomes and Assessment Criteria Pass Merit Distinction LO1 Demonstrate an understanding of the fundamentals of Cloud Computing and its architectures LO1 & 2 D1 Justify the tools chosen to realize a Cloud Computing solution. P1 Analyse the evolution and fundamental concepts of Cloud Computing. 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.

Table of Contents

ASSIGNMENT 1 ANSWERS

P1. Analyse the evolution and fundamental concepts of Cloud Computing 1 .1 History and evolution of Cloud Computing Figure 1 : History of Cloud Computing (Source: https://cloudcomputing521.wordpress.com/2017/05/01/history-of-cloud-computing/) The Idea Phase - This phase started in the mid-1960s with the presentation of utility and framework computing and went on until the pre-web bubble period. Joseph Carl Robnett Licklider was the inventor of the cloud.

- 1960s - John McCarthy, a notable figure in software engineering, permitted organizations to utilize expensive centralized servers and spearheaded the time-sharing idea. This ended up being a huge commitment to the idea of Cloud computing and the development of the Web. - 1969 - J.C.R. Licklider introduced the ideas of "Cosmic Network" and "Intergalactic PC Network" fully intent on interconnecting worldwide space and laid out the Advanced Research Projects Agency Network- ARPANET. - 1970 - Showing many working frameworks in a separate climate to this time was practical. - 1997 - In Dallas, Prof. Ramnath Chellappa spearheaded the thought of "Cloud Computing."

  • The Pre-Cloud Phase - The period started in 1999 and went on until 2006. In this stage, the web fills in as the means for conveying Applications as a Service. - 1999 - Salesforce.com spearheaded the thought of corporate applications by means of basic sites. Likewise, the administrations association addressed how to help experts in conveying programs over the Internet. - 2003 - The Virtual Machine Monitor (VMM), which permits numerous virtual visitor working frameworks to work on a single hardware, laid the entryway for later huge forward leaps. - 2006 - Amazon has likewise started to develop into cloud administrations. From EC2 to Simple Storage Service S3, they spearheaded the pay-more-only as-costs arise idea, which has since become normal practice. The Cloud Phase - The much-talked-about real cloud time started in 2007 with the formalization of IaaS, PaaS, and SaaS improvement. Over the course of cloud computing, a few of the world's most prominent PC/web firms have made a few profoundly significant advances. - 2013 - With IaaS (Infrastructure-as-a-Service), the Worldwide Public Cloud Services Market was esteemed at £78 billion, making it the quickest developing business sector administration of that year.

1.2 Fundamental concepts of Cloud Computing 1.2.1 Definition of Cloud Computing Cloud computing is a method that makes your entire PC infrastructure (hardware and software applications) accessible on the web. It keeps up with data and applications utilizing the web and distant focal servers. Since the data is kept with the mail specialist organization on a remote cloud, any PC with a web association can really look at some saved mail/data/photographs in the mailbox. Figure 2: Definition of Cloud Computing (Source: https://www.spiceworks.com/tech/cloud/articles/what-is-cloud-computing/) 1.2.2 Benefits of Cloud Computing Scalability And Flexibility: Cloud registering gives your business greater flexibility. You can rapidly increase resources and capacity to satisfy business needs without putting resources into actual framework. Organizations don't have to pay for or fabricate the framework expected to help their most noteworthy burden levels. Moreover, they can rapidly downsize in the event that resources aren't being utilized. Cost savings: Anything cloud administration model you pick, you just compensation for the resources you use. This assists you with staying away from overbuilding and overprovisioning your data place and gives your IT groups back significant opportunity to zero in on more essential work. Better collaboration: Cloud stockpiling empowers you to make data accessible anyplace you are, whenever you really want it. Rather than being attached to an area or explicit gadget, individuals can get to data from anyplace on the planet from any gadget — in the event that they have a web association. Advanced security: In spite of well known discernments, cloud processing can reinforce your security pose due to the profundity and broadness of security highlights, programmed upkeep, and unified administration. Data loss prevention: Cloud suppliers offer reinforcement and calamity recuperation highlights. Putting away data in the cloud as opposed to locally can assist with forestalling data loss in case of a crisis, for example, equipment breakdown, vindictive dangers, or even basic client mistake. 1.2.3 Type of Cloud Computing 1.2.3.1 Public Cloud As the name shows, a cloud platform is noticeable and open to anybody. The cloud infrastructure is not owned

Figure 5 : Hybrid Cloud (Source: https://avinetworks.com/glossary/hybrid-cloud/) 1.2.3.3 Community Cloud Cloud infrastructure is known as a "community cloud" allows multiple organizations to share resources and services in accordance with standard operational and legal requirements. The idea of a community cloud is similar to a community garden, where various people develop produce on a solitary piece of shared land. Community clouds are a new peculiarity contrasted with other cloud models like public, private, and hybrid clouds. Figure 6 : Community Cloud (Source: https://www.javatpoint.com/community-cloud) 1.3 Type of Cloud services 1.3.1 IaaS (Infrastructure as a service) The client doesn't have to manage the cloud infrastructure in this cloud service setup, however all the storage, operation, and organization controls remain in their hands. There is a third-party service supplier to manage a client's hardware and infrastructural necessities and take care of the backups. The client has the ability to control how their cloud network ought to function, whereas they leave the infrastructure issues and management parts to a third-party merchant. 1.3.2 PaaS (Platform as a service) In a platform-as-a-service cloud setup, just the applications and the data get handled by the client. Besides, every other management task gets managed by a third party. The company will just have to pick and manage the applications they want to run on the cloud network. Besides, they can sort the data the app relies upon. They have all app controls and data operations, however a third-party merchant manages the infrastructure and

operating framework prerequisites. 1.3.3 SaaS (Software as a service) In SaaS service, the client interfaces with the service supplier over the web on a membership basis. Whether the software devices or hardware parts, the service supplier has and manages the application. Other than this, even the security issues and ideal upgrades get better dealt with by the service supplier, and the clients just should state their necessities. There is compelling reason need to install an app or manage things through dashboard access or API. SaaS allows clients to interface over the web through an internet browser utilizing their telephone, work area, or other digital gadgets. 1.3.4 How to pick between SaaS/PaaS/IaaS Small/medium/large companies with restricted assets: SaaS - Organizations can save cash by involving the software as a service since they at this point not should create and foster the program. Companies ought to utilize SaaS devices that match their business goals since they may turn out to be more useful speedier. Medium/large organizations for certain assets: PaaS - Platform as a service ought to be viewed as by medium and large organizations with IT departments, especially assuming they want custom apps that interact all the more readily with their work processes and innovation. Medium/large ventures with moderate assets: IaaS - Medium and huge organizations with adequate IT assets could think about infrastructure as a service. Because IaaS gives them nearly total control, they may construct exceptionally redid innovation stacks that fit an organization's exact business targets. IaaS also makes it easy to adjust innovation when a company needs change. P2. Design an appropriate architectural Cloud Computing framework for a given scenario

2. 1 Fundamental Cloud Architectures 2.1.1 Workload Distribution Architecture This basic architectural model can be applied to any IT resource, with workload distribution generally completed on the side of dispersed virtual servers, cloud capacity gadgets, and cloud administrations. Load- balancing systems applied to explicit IT resources normally produce specific varieties of this engineering that integrate parts of load balancing Notwithstanding the base load balancer component, and the virtual server and cloud stockpiling gadget instruments to which load-balancing can be applied, the accompanying systems can likewise be essential for this cloud engineering:

  • Audit Monitor - While appropriating runtime workloads, the sort and geological area of the IT resources that cycle the data can decide if monitoring is important to satisfy lawful and administrative prerequisites.
  • Cloud Usage Monitor - Different monitors can be involved to complete runtime workload following and data handling.
  • Hypervisor - Workloads among hypervisors and the virtual servers that they host might require distribution. 2.1. 2 Dynamic Scalability Architecture The dynamic scalability architecture is an engineering model in light of a system of predefined scaling conditions that trigger the dynamic portion of IT resources from resource pools. Dynamic distribution empowers variables to use as directed by utilization request vacillations since pointless IT resources are proficiently recovered without requiring manual communication. Common examples of dynamic scaling include the following:
  • Dynamic Horizontal Scaling - IT resource cases are scaled out and in to deal with fluctuating workloads. The programmed scaling audience screens demands and signals resource replication to start IT resource duplication, according to requirements and permissions.

This is the present operational paradigm of the ATN company. The operating model of ATN company through each move toward the figure. This model is carried out at each level by merchants, then, at that point, totals all data by means of mail and sends it to the boss during the day. Through this model, we can see that its shortcoming is mind-boggling and demands a long investment to execute as well as challenging to oversee and extend. Issue:

  • Unfortunate security.
  • Waste of time
  • Tough to expand
  • Hard to control and statistics Solutions: Plan an easy-to-use web interface and store and control the system through a cutting-edge distributed computing model. 2.3 ATN Cloud Architecture 2.3.1 ATN Cloud Diagram 2.3.2 Explain the model of ATN’s cloud computing In view of the ATN scenario, we make cloud architecture to resolve the company's ongoing issues.
  • The shop manager can alter, adds, and deletes information utilizing their own interface consistently prior to sending it to a private cloud for filing.
  • The private cloud is deployed and overseen by a third-party company.
  • We likewise have one more server at the top of the company to go about as a backup for every one of the information from the private cloud.
  • The databases and systems under perception can be updated, compressed, and erased by using a separate interface for the boss and the maintenance group. So for ATN, I would go with Software as a Service (SaaS). For management to easily monitor, merchandise issues, revenue, and sales records are managed in real-time. It will address the issues that ATN has with time- saving and real-time data observation. 2.3.3 Component of ATN to build cloud The MySQL server and NodeJS technologies were utilized to build the database for the Cloud of ATN business idea. Then, we run dev and comprehensive Web site inquiries at the local host. We then, at that point, use PaaS Render to send off our site on the web prior to circulating it to clients. P3. Define an appropriate deployment model for a given scenario 3.1 Four Development Model Figure 7 : Four development models of Cloud Computing (Source: https://www.javatpoint.com/types-of-cloud) Public Private Hybrid Community
  • Low customization : It is gotten to by numerous public so it can't be altered by personal necessities. 3.1.2 Private Cloud The private cloud gives more control over cloud resources. The ability to get to systems and administrations within a specific certain border or association is oftentimes alluded to as the "internal cloud". The cloud stage is conveyed in a solid cloud climate monitored by powerful firewalls and supervised by an association's IT staff. Advantages of the Private Cloud Better Control : You are the sole proprietor of the property. You gain total command over help incorporation, IT activities, approaches, and client conduct. Data Security and Privacy : It's suitable for putting away corporate data to which just approved staff approach. By dividing resources within a similar framework, further developed admittance and security can be accomplished. Supports Legacy Systems : This approach is intended to work with legacy systems that can't get to the public cloud. Customization : Dissimilar to a public cloud deployment, a private cloud permits an organization to fit its answer for meet its particular requirements. Disadvantages of the Private Cloud Costly : Private clouds are more costly as they give personalized facilities. Restricted Scalability : Private clouds have limited scalability since they are scaled within the imperatives of internally facilitated resources. The hidden equipment utilized impacts scalability. 3.1.3 Hybrid Cloud It is a cloud environment created from various arrangements associated with get the ideal cloud model. The mix can be two or different public clouds, somewhere around one public or private network, two or various private clouds, and more. The organization can pick which blend suits them and consider which one can run the applications and apparatuses that the organization wishes to utilize. The interesting component of the hybrid choice is that the organization just pays for the resources that they use as opposed to buying the whole model for a lengthy period. It resembles partaking in the public cloud model without security issues. Advantages of the Hybrid Cloud Flexibility and control: Organizations with more prominent opportunity can make tailored answers for match their particular necessities. Cost: Since public clouds give scalability, you might be charged for more limit assuming you demand it. Security: Information theft by assailants is highly diminished since information is sufficiently partitioned. Disadvantages of the Hybrid Cloud Maintenance: A blended cloud figuring approach might demand more upkeep, expanding your organization's functional costs. Difficult Integration: Information and application integration might be tricky while building a hybrid cloud. It's likewise a fact that coordinating two or more frameworks will set aside cash over the long hau 3.1.4 Community Cloud In order to meet the needs of a community, many cloud services are combined to form a distributed system called a community. It empowers an assortment of organizations to get to systems and administrations. The community's infrastructure may be imparted by associations to comparative interests or obligations. It is in many cases dealt with by a third party or a joint effort of at least one community association.

Advantages of the Community Cloud

  • Cost Effective : It is cost-effective since the cloud is shared by a few ventures or networks.
  • Security : The community cloud is safer.
  • Shared resources : It empowers you to share resources, systems, and so on with different organizations.
  • Collaboration and data sharing : It is fitting for both participation and data trade. Disadvantages of the Community Cloud
  • Slow data reception
  • The community cloud isn't reasonable for each organization.
  • All individuals from the community share a decent measure of data stockpiling and bandwidth.
  • Community Cloud is more costly than public cloud.
  • It is hard to Share liability across organizations. 3.2 Development Model of Cloud Computing for ATN company 3.2.1 Overview Scenario ATN is a Vietnamese corporation that sells toys to teenagers in a few regions around Vietnam. The organization's yearly deals surpass '$700.000. As of now, each shop has its database and just stores exchanges from that business. Each shop is expected to communicate monthly deal data to the board director, and The board director needs a lot of time to compile the information got from all stores. In addition, the board is unable to track changes to the stock information in real-time. 3.2.2 Why ATN should use cloud? Efficiency Accessibility : Cloud computing empowers admittance to projects and data from anyplace on the planet and from any gadget with an internet association. On the off chance that there is an association with Wi- Fi or versatile data, the administration might view and control the store's data continuously. Cost savings : Organizations are increasingly depending on cloud computing to get a good deal on purchasing and maintaining their PC systems. Cloud computing gives versatile computing resources to associations that are paid for on a pay-as-you-go basis. This has demonstrated to be definitely more affordable than getting the actual materials. Security : Cloud providers, especially the people who give private cloud administrations, have endeavored to foster the finest security guidelines and cycles to get client data stored in the cloud. This shields deals and client data from being taken. Disaster recovery : Cloud computing is the best answer for little, medium, and enormous organizations to back up and restore their data and applications in an ideal and trustworthy way. This will assist retailers in staying away from data misfortune during a blackout. While utilizing customary paper data capacity, ongoing data reinforcement to the cloud likewise supports the recovery of lost data. Scalability : Since cloud infrastructure adjusts based on the requests of the business, cloud computing is the best answer for undertakings with variable responsibilities. With such countless stores, and perhaps more later on, customary paper-based capacity will be difficult to keep up with and store, so cloud computing can back up and oversee data all the more essentially. 3.2.3 Which deployment model should be used and why? There are presently a few cloud computing sending procedures from which undertakings might choose. Every category has a particular worth and is proper for the business condition. With ATN being a little and medium- sized firm with yearly deals of 700,000 USD, putting away data on the private cloud is the most ideal choice as of now.

storage of to some degree finished archives. Fields in a report function in much the same way to database columns in that they might be filed to further develop search proficiency. 3.2.4.2 Why use MongoDB? MongoDB works on the capacity of structured and unstructured data for developers. Records are saved in a JSON-like format. This format maps straightforwardly to local objects in the latest programming languages, pursuing it a characteristic decision for developers since it wipes out the prerequisite for data standardization. MongoDB can likewise manage huge data loads and scale upward or on a level plane. MongoDB was intended for web and business application developers that need to grow quickly and scale nimbly. While planning programming applications that manage data of different sorts in a versatile way, utilizing MongoDB permits your group to go further and all the more rapidly. On the off chance that you really want to help speedy iterative turn of events, MongoDB is a decent arrangement. Permit many groups to team up. Scale to high peruse and compose traffic volumes. Grow your data storage facility to a tremendous scale. As the business changes, so should the kind of arrangement. Text, topographical, and time-series data might be put away, managed, and looked. 3.2.4.3 The advantages of MongoDB The power of Document – Oriented Databases: MongoDB is considered the forefather of NoSQL databases. Records are saved in compressed BSON documents as documents. The documents may be obtained in JSON format, which offers several advantages. Text, numeric, geographic, and partial ordering techniques are all upheld by MongoDB. Developer User Experience: MongoDB Atlas is the MongoDB Cloud's database-as-a-service. With a couple of clicks of the web interface, you may arrangement a cluster and start composing code practically instantly. The database is accessible utilizing a variety of programming languages, including C, C#, etc. C++, Go, Java, JavaScript, PHP, Python, Ruby, Rust, Scala, and additional programming languages Scalability and Transnationality: The method to sharing utilized by MongoDB lies at the heart of these turns of events. It spreads work north of several smaller (and more affordable) machines. This means you can withstand traffic floods as your company expands. What used to require various transactions to update in traditional relational databases may now be finished in a solitary transaction with MongoDB. Platform and Ecosystem Maturity: MongoDB's sharing mechanism circulates work over various smaller (and less costly) computers, allowing you to endure traffic floods as your organization develops. What used to take many transactions in past databases may now be finished in a solitary transaction with MongoDB. 3.2.5 Costs associated with the ATN business's deployment model ATN Expenditure for Render Cloud Service Total Income $700,000 (dollars/year) Expense for Render Cloud Service Provider 700,000 x 1 0 % = $ 70 , Render Cloud Plan for Cloud Service (Figure 9 ) Private Cloud Service Individual Team Organization Enterprise Pricing $0 per user/month $19 per user/month $29 per user/month Contact Sales

Free Bandwidth ($30/100 GB) 100 GB 500 GB 1 TB Contact Sales Free Build Minutes ($5/1000 minutes) 500/month 500 per user/month 500 per user/month Contact Sales Team Members 1 Up to 10 Unlimited Contact Sales Render Web Services (Figure 10 ) Instance Type Starter Standard Pro Pro Plus Pricing $ 7 /month $25/month $85/month $175/month RAM 512 MB 2 GB 4 GB 8 GB CPU 0. 1 1 2 4 Render PostgreSQL Database (Figure 11 ) Instance Type Standard Pro Pro Plus Pricing $20/month $95/month $185/month RAM 1 GB 4 GB 8 GB CPU 1 2 4 cores SSD 16 GB 96 GB 256 GB Connection Limits 97 connections 97 connections 1 97 connections ATN business plan for using Render Cloud Render Cloud Provider ATN Business ( 1 4 members in Development & Maintenance Team ) Price Plan (Organization Edition) $29 per user/month $29 x 1 4 users x 12 months $ 4872 Bandwidth (Organization Edition ) 1 TB ($30/100 GB) $30 x 1 TB (1024 GB) $30, Build Minutes 500 per user/month ($5/ minutes) $2.5 x 1 4 members $ 35