Professional Documents
Culture Documents
AWS Well - Architected Machine Learning - Best Practices To Achieve Business Goals A White Paper
AWS Well - Architected Machine Learning - Best Practices To Achieve Business Goals A White Paper
ISSN No:-2456-2165
Abstract:- Machine learning (ML) uses Algorithms to Operational Excellence: Includes the capacity to manage,
find patterns in data, learn from those patterns, and build operate, and analyse workloads. It makes it possible to
mathematical models to make predictions about future generate corporate value and enhances supporting
data. Through improved disease detection, environmental practises.
protection, the transformation of products and services, Security: includes the capacity to safeguard data, systems,
and other factors, these Machine Learning solutions have and resources. Through risk analyses and mitigation
the potential to transform lives. techniques, it enables the delivery of business value.
Reliability: includes a workload's capacity to recover
This whitepaper gives you a list of tried-and-true fully from infrastructure or service outages. Ensures that
best practises that are independent of technology and the a workload carries out its specified purpose accurately
cloud. When creating your ML workloads, you can use and consistently at the appropriate time.
these guidelines and architectural principles, or you can Performance Efficiency: Focuses on meeting
employ them to make ongoing improvements after your requirements through the effective use of computing
workloads have gone into production. resources. It makes it possible to sustain effectiveness as
demand shifts and technologies advance.
I. INTRODUCTION Cost Optimization: includes the ongoing process of a
system's enhancement and refinement during its entire
A wide range of global cloud-based products are lifecycle. It makes it possible to create and run cost-aware
available through Amazon Web Services, including compute, systems that reduce expenses, increase returns on
storage, databases, analytics, networking, mobile, developer investment, and produce desired business results.
tools, management tools, IoT, security, and enterprise Sustainability: Raising effectiveness across all workload
applications. These products are on-demand, instantly components by maximising the advantages from the given
accessible, and priced on a pay-per-use basis. More than 200 resources and lowering the overall resources needed.
AWS services are offered, including data warehousing,
deployment tools, directories, and content delivery. Without For your ML models to produce correct results, the
the initial set cost, new services can be provisioned fast. As a quality of the input data is crucial. Monitoring is necessary to
result, businesses, start-ups, small and medium-sized continuously identify, fix, and minimize issues with accuracy
companies, and clients in the public sector have access to the and performance since data changes over time. You might
building blocks they need to act fast in response to shifting even need to retrain your model using the most recent, refined
business requirements. data to do this. Workloads for applications rely on detailed
instructions to resolve issues. Algorithms can learn from data
The AWS Well-Architected Framework aids in your using ML tasks in a continuous cycle of iteration.
understanding of the advantages and disadvantages of the
choices you make while developing cloud-based solutions. II. WELL-ARCHITECTED MACHINE
The six pillars of framework are the operation excellence, LEARNING LIFECYCLE
security, reliability, performance efficiency, cost
optimization and sustainability. These architectural best For each of the ML lifecycle phases, Well-Architected
practices help in operating and designing workloads in the best practices are examined across the pillars of operational
cloud. excellence, security, reliability, performance efficiency, and
cost optimization. The 6 phases for the ML lifecycle
By responding to a set of questions for each pillar, you referenced in this paper are illustrated in Figure 1 in a
may evaluate your workloads against these best practices sequence.
using the AWS Well-Architected Tool, which is free to use in
the AWS Management Console.
III. IDENTIFY THE BUSINESS GOAL Model creation, model development, model training,
THROUGH MACHINE LEARNING LIFE CYCLE and hosting are all handled by ML libraries and packages.
PHASE Create a procedure to check all software and ML libraries
required for the ML lifecycle's privacy and licence
The most crucial step is identifying the business goals. agreements. Make sure these agreements adhere to the
An organisation thinking about using ML should be clear security, privacy, and legal requirements of your company.
about the issue that needs to be resolved and the potential
benefits to the company. You must be able to evaluate C. Reliability
business value in relation to certain business goals and Throughout the lifecycle, use the agreed level as a
success factors. metric for evaluations and trade-off analyses. Understanding
the reason for a prediction, performing audits, and adhering
Make sure the algorithm has access to enough relevant, to regulations can all be made easier with explain ability. It
excellent training data for an ML-based strategy in order for can help establish trust by ensuring that the model is
it to succeed. Make sure the appropriate data sources are performing as predicted.
available and reachable by carefully evaluating the data.
Recognize business needs
This phase's actions are: Trust is necessary for the use of AI systems in regulated
Comprehend the needs of the business. domains.
Create a business inquiry. This can be developed by offering trustworthy
Examine the data needs and ML practicality of a project. justifications for the used predictions.
Analyse the costs associated with data collection, training, Reliability, safety, and compliance standards may place a
inference, and inaccurate predictions. premium on model explain ability.
Decide on important performance indicators, such as
allowable errors. Choose a level of explain ability that is acceptable
Using the business question as a guide, define the machine Share your thoughts on the project's level of
learning task. explainability with all the project's stakeholders. Reach an
Identify the essential features. understanding that enables you to fulfil business
Create concise, targeted POCs to validate the information requirements.
above.
Analyse whether adding outside data sources will enhance D. Performance Efficiency
model performance. Key performance indicators (KPIs) pertinent to the
Identify production routes. business use case should be recorded using advice from
business stakeholders. To determine acceptable model
Think about any new business procedures that may result
performance, the KPIs should be closely related to business
from this implementation.
value. Remember that uncertain machine learning inferences
Align the initiative with the appropriate stakeholders. will not yield precise results. Establish the KPIs' minimum
acceptable accuracy and maximum acceptable error. By
A. Operational Excellence doing so, it will be possible to manage the risk of fluctuating
Plan to hire specialists with the awareness that extra
results while attaining the necessary business value.
training will be required as ML evolves, given the complexity
and quick growth of ML technology. Maintain teams' skill Calculate the business's value of machine learning.
levels, engagement, and motivation while constantly
Think about the following indicators of the business
promoting accountability and empowerment.
impact of automation and machine learning:
How much will machine learning lower costs?
B. Security
The AWS Cloud enables a shared responsibility model. How many additional users will be added by increased
While AWS manages security of the cloud, you are scale?
responsible for security in the cloud. This means that you How much more quickly will the company be able to react
retain control of the security you choose to implement to to changes like shifting demand or a disruption in supply?
protect your own content, platform, applications, systems, How many hours of manual work will be eliminated by
and networks no differently than you would in an on-site data machine learning automation?
centre. How much can machine learning alter user behaviour,
such as churn reduction?
Use these practices to help ensure that your ML [1]. AWS Well-Architected Framework
workloads are architected with operational excellence, [2]. AWS Operational Excellence pillar
security, reliability, performance efficiency, and cost [3]. AWS Security pillar
optimization in mind. When designing new workloads, think [4]. AWS Reliability pillar
ahead and choose wisely. Make use of best practices to help [5]. AWS Performance Efficiency pillar
you design and deploy new workloads more quickly. Utilize [6]. AWS Cost Optimization pillar
the guidelines to analyse current workloads frequently in
order to spot, stop, and resolve possible problems before they
become serious.