0% found this document useful (0 votes)
16 views

Assignment_week_05

Uploaded by

22110020
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Assignment_week_05

Uploaded by

22110020
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Assignment week 05

Module 13: Emerging Technologies in the


Cloud.
I. Technology Terminology.
Machine Learning (ML): A subset of AI where algorithms learn from data and
improve their performance on a specific task without being explicitly
programmed.

Artificial Intelligence (AI): The broader field of creating intelligent machines


capable of performing tasks that typically require human intelligence.

Amazon SageMaker: An AWS service that provides a complete platform for


building, training, and deploying machine learning models.

Deep Learning: A type of machine learning that uses artificial neural networks
with many layers to analyze complex patterns in data.

AWS DeepRacer: A 1/18th scale autonomous race car and 3D racing simulator
used to learn about reinforcement learning, a type of machine learning.

AWS DeepLens: A programmable video camera with tutorials and pre-trained


models to help developers learn and experiment with machine learning on
visual data.

Neural Network: A computing model inspired by the human brain, designed to


recognize patterns and make decisions.

II. Background and misconceptions


Machine Learning's Growing Complexity and Potential

As software becomes increasingly sophisticated, it starts to mirror the


intricate workings of the human brain, thanks to advancements in machine
learning (ML) and deep learning.

Assignment week 05 1
These technologies enable software to learn from data, reason, exhibit
creativity, and even develop innovative solutions to complex problems.

Applications range from self-driving cars to advanced economic models.

Business Advantages of ML and AI

For businesses, adopting ML and AI offers a competitive edge in business


intelligence and helps them stay ahead of the curve.

Potential uses include enhancing security, refining data analytics, and


improving income projections.

Different Approaches to Machine Learning

Supervised ML:

The algorithm is provided with training data containing the desired


output, enabling it to learn patterns and make predictions.

Two categories: Classification (categorizing inputs into predefined


classes, e.g., spam detection) and Regression (predicting numerical
values, e.g., weather forecasting).

Unsupervised ML:

The algorithm is trained on data without explicit output labels. It


identifies patterns and groups similar items together in clusters.

Semi-supervised ML:

Combines aspects of both supervised and unsupervised ML. It


typically starts with a small amount of labeled data and leverages
unlabeled data to improve its accuracy.

Reinforcement ML:

The algorithm learns through trial and error, receiving feedback


(rewards or penalties) to guide it towards the optimal outcome.

An example is an autonomous robot learning to navigate by being


rewarded for correct actions.

Core Essence of Machine Learning

Assignment week 05 2
Machine learning, at its fundamental level, involves identifying patterns
within data and utilizing those patterns to make predictions about future
data.

It continually evaluates the accuracy of its predictions and iterates


numerous times to refine its models, leading to improved predictions in
areas like weather, media recommendations, and sports outcomes.

III. Focus Questions.


1. This module is about ML. What do you think of when you hear the words
machine learning? What images does the name bring to mind? What do you
predict ML is used for?

Algorithms that Evolve: The core concept of algorithms learning and


improving from experience, becoming more accurate and capable over
time. It evokes an image of dynamic, adaptive systems that are constantly
evolving and getting better at what they do.

Data as Fuel: I picture vast amounts of data being fed into these
algorithms, fueling their learning process. This data could be anything
from customer behavior patterns to medical images, or even the
movements of a self-driving car.

Pattern Recognition and Prediction: Machine learning's core strength lies


in its ability to recognize patterns in data and make predictions or
decisions based on those patterns. I see it as a powerful tool for
uncovering insights and anticipating future outcomes.

Specific Images:

A neural network, with its interconnected nodes and layers, representing


the complex structure of a machine learning model.

Graphs and charts visualizing data patterns and trends, as ML algorithms


analyze and extract insights from large datasets.

Self-driving cars navigating busy streets, relying on machine learning to


perceive their surroundings and make split-second decisions.

Assignment week 05 3
Medical imaging systems highlighting potential tumors or anomalies,
demonstrating ML's ability to aid in diagnosis and treatment.

Recommendation systems suggesting products or content based on user


preferences, showcasing ML's personalization capabilities.

Predicted Uses of ML:

Healthcare: Diagnosing diseases, predicting patient outcomes, and


developing new treatments.

Finance: Fraud detection, risk assessment, algorithmic trading, and


personalized financial advice.

E-commerce: Product recommendations, customer segmentation, and


targeted advertising.

Transportation: Self-driving cars, traffic prediction, and route


optimization.

Customer Service: Chatbots and virtual assistants providing automated


customer support.

Manufacturing: Predictive maintenance, quality control, and supply chain


optimization.

Environmental Science: Climate modeling, pollution prediction, and


species identification.

And countless other areas where data analysis and prediction can drive
innovation and efficiency.

2. ML is a subset of AI. Where have you heard references to AI being used in


media? What are some real-world uses for AI?

AI in Media References

News Articles and Reports: I often come across news articles discussing
AI's impact on various industries, including healthcare, finance, and
manufacturing. There's often buzz around breakthroughs in AI research
and development, such as advancements in natural language processing
or computer vision.

Assignment week 05 4
Science Fiction Movies and Books: AI has long been a staple of science
fiction, portraying both utopian and dystopian visions of intelligent
machines. Movies like "Her," "Ex Machina," and "The Matrix" explore the
possibilities and potential dangers of AI, sparking discussions about the
future of technology.

Documentaries and Educational Content: Several documentaries delve


into the history and development of AI, showcasing its potential benefits
and ethical considerations. These often feature interviews with AI experts
and researchers, providing insights into the current state and future
direction of the field.

Real-World Uses of AI

1. Personalized Recommendations: Streaming services like Netflix and


Spotify use AI to analyze your viewing and listening habits, recommending
movies, TV shows, and music tailored to your preferences.

2. Virtual Assistants: AI-powered virtual assistants like Siri and Google


Assistant use natural language processing to understand your voice
commands and perform tasks like setting alarms, sending messages, or
providing information.

3. Image and Facial Recognition: AI is used in various applications for image


and facial recognition, from unlocking your phone with Face ID to
identifying objects in photos and videos. This technology is also used for
security and surveillance purposes.

4. Fraud Detection: Financial institutions leverage AI to analyze transaction


patterns and identify potential fraudulent activities, protecting both
businesses and consumers.

5. Healthcare: AI is increasingly used in healthcare for tasks such as


diagnosing diseases from medical images, predicting patient outcomes,
and developing new treatments.

6. Self-Driving Cars: Companies like Tesla are developing autonomous


vehicles that rely heavily on AI for perception, decision-making, and
navigation.

Assignment week 05 5
7. Customer Service: Many businesses use AI-powered chatbots to handle
customer inquiries and provide 24/7 support, improving response times
and efficiency.

8. Language Translation: AI-powered translation tools like Google Translate


can translate text and speech in real-time, facilitating communication
across language barriers.

3. ML is a subset of AI in which a computer algorithm can modify its own


behavior. AWS provides access to a service named SageMaker that
supports ML. Why do you think the cloud is beneficial for ML and AI? What
cloud services that you learned about previously do you think will be
beneficial for ML and why?

The cloud offers several key benefits for ML and AI, making it an ideal
environment for development and deployment:

1. Scalability and Elasticity: ML models often require significant


computational resources, especially during training. The cloud allows for
on-demand scaling of resources, ensuring that you have the necessary
computing power when needed without overprovisioning during periods of
low usage.

2. Cost-Efficiency: Cloud computing operates on a pay-as-you-go model,


eliminating the need for large upfront investments in hardware and
infrastructure. This makes ML and AI more accessible and cost-effective,
particularly for smaller organizations and startups.

3. Flexibility and Accessibility: The cloud provides a flexible and accessible


platform for building and deploying ML models. Developers can access a
wide range of tools, libraries, and frameworks from anywhere with an
internet connection, fostering collaboration and innovation.

4. Data Storage and Management: ML models rely heavily on large datasets


for training and inference. The cloud offers scalable and reliable storage
options, allowing for the efficient management and processing of vast
amounts of data.

5. Pre-built ML Services: Cloud providers often offer pre-built ML services


and APIs, such as image recognition, natural language processing, and

Assignment week 05 6
recommendation engines. These services can accelerate development
and reduce the need for building everything from scratch.

Cloud Services Beneficial for ML

1. Amazon EC2 (Elastic Compute Cloud): Provides virtual servers with


customizable configurations to handle the computational requirements of
ML model training and deployment.

2. Amazon S3 (Simple Storage Service): Offers scalable and durable object


storage to store and manage large datasets used for ML model training
and inference.

3. Amazon RDS (Relational Database Service) and DynamoDB: Provide


database options for storing structured and unstructured data related to
ML models, such as training data, model parameters, and predictions.

4. Amazon ElastiCache: Improves performance by caching frequently


accessed data, reducing latency and speeding up ML model inference.

5. Amazon SageMaker: A fully managed service that provides a complete


platform for building, training, and deploying ML models, simplifying the
entire ML lifecycle.

Module 14: Billing and Support.


I. Technology Terminology.
AWS Simple Monthly Calculator: A tool for estimating your monthly AWS bill
based on your expected storage and compute usage.

AWS Support Plan: Provides various levels of technical support and expertise
to help you optimize your AWS usage, manage risks, and control costs.

AWS Organizations: Centralizes the management of multiple AWS accounts,


including billing, access control, security, and resource sharing.

Consolidated Billing: A feature within AWS Organizations that lets you


combine the billing for multiple AWS accounts into a single payment for the

Assignment week 05 7
management account.

Technical Account Manager (TAM): A dedicated support person and cloud


advisor for enterprise-level accounts, providing proactive guidance and
troubleshooting assistance.

II. Background and misconceptions.


AWS provides a number of useful billing and support services that help cloud
users to make the most efficient use of their resources. These services
include a calculator that will estimate monthly costs, billing dashboards to
visualize expenditures, and a range of support plans with differing prices and
services. To make it easier for large businesses with many accounts to pay for
services, Organizations permits consolidated billing, which lets one account
pay for all other accounts in an organization.

This table shows the most important similarities and differences between AWS
Support plans.

Criteria Basic Developer Business Enterprise

Greater of
Greater of $100 $15,000 per
per month month
or or
10% of monthly 10% of monthly
AWS usage for AWS usage for
Greater of $29 the first $0–$10K the first $0–
per month 7% of monthly $150K
Cost Free or AWS usage from 7% of monthly
3% of monthly $10K–$80K AWS usage from
AWS usage 5% of monthly $150K–$500K
AWS usage from 5% of monthly
$80K–$250K AWS usage from
3% of monthly $500K–$1M
AWS usage over 3% of monthly
$250K AWS usage over
$1M

Mission-critical
Use case Learning Experimenting Production use
use

Assignment week 05 8
Business hours 24/7 email, chat, 24/7 email, chat,
Tech support No
email and phone and phone

15-minute
12–24 hours
Support 1-hour response response to
N/A during business
response time to urgent cases critical support
hours
cases

TAM No No No Yes

One person, Unlimited Unlimited


Support cases None
unlimited cases contacts/cases contacts/cases

AWS Support Plans:

Basic support is free for all customers.

Enterprise-level accounts receive a dedicated Technical Account Manager


(TAM) for technical expertise, proactive guidance, and a direct line of
communication.

Support plan costs range significantly, emphasizing the importance of


choosing the right plan based on your business needs.

AWS Organizations:

Enables centralized management of multiple AWS accounts within an


organization.

Benefits include:

Centralized policy management.

Controlled access to AWS services, resources, and regions.

Automated account creation and management.

Configuring AWS services across multiple accounts.

Consolidated billing across multiple accounts.

Assignment week 05 9
Seven AWS accounts are organized by organizational unit, or OU. There are four
organizational units under the root. The organization also has several policies that
are attached to some of the organizational units or directly to accounts.

Organizational Units (OU)

OUs are containers within AWS Organizations that allow you to group
multiple AWS accounts together.

By attaching policies to an OU, you can apply those policies to all the
accounts within that OU, streamlining policy management.

AWS Simple Monthly Calculator

This tool provides an estimated monthly bill based on your anticipated


usage of AWS services like EC2 instances, Dedicated Hosts, EBS volumes,
etc.

It's a valuable resource for businesses to plan their cloud budget and
understand potential costs associated with their cloud architecture.

III. Focus Questions:

Assignment week 05 10
1. AWS has four different levels of support, ranging in price from free to
greater than $15,000 a month. Why do you think AWS offers four levels of
support? What do you think the key differences are between the four
support plans?

Why AWS offers four levels of support:

1. Varied Customer Needs: AWS caters to a wide spectrum of


customers, from individual developers and startups to large
enterprises. Each segment has distinct requirements for support,
ranging from basic documentation access to dedicated technical
guidance.

2. Cost Flexibility: A tiered approach allows customers to choose a


support plan that aligns with their budget and usage patterns. Smaller
businesses with limited resources can opt for lower-cost plans, while
larger enterprises requiring extensive support can choose higher-tier
options.

3. Scalability: As businesses grow and their AWS usage expands, they


may require more comprehensive support. The tiered system enables
them to easily upgrade their support plan as their needs evolve.

4. Customer Satisfaction: Offering various levels of support helps


ensure that every customer, regardless of their size or budget,
receives adequate assistance, contributing to overall satisfaction.

- Key Differences between the Support Plans

1. Response Times: Higher-tier plans typically offer faster response


times for critical issues, ensuring minimal disruption to business
operations.

2. Technical Expertise: Higher-tier plans provide access to more


experienced technical support engineers and specialists who can
address complex issues.

3. Proactive Guidance: Enterprise-level plans often include features like


a Technical Account Manager (TAM), providing personalized guidance
and architectural reviews to help customers optimize their AWS usage.

Assignment week 05 11
4. Additional Services: Higher-tier plans may include features like
infrastructure event management, well-architected reviews, and
training opportunities.

2. Organizations allows one account to control users, security settings,


account access, and billing for any other linked accounts. Why do you think
AWS provides this feature? What types of businesses do you think could
best take advantage of this feature? Why?

Why AWS Provides this Feature

1. Centralized Management & Governance:

As organizations expand their cloud footprint, managing multiple


AWS accounts can become increasingly complex. Organizations
simplifies this by offering a single point of control for:

Policies: Apply consistent policies across accounts for


security, compliance, and resource usage.

Access Control: Control user permissions and access to


resources across all linked accounts.

Billing: Consolidate and manage billing for multiple accounts,


simplifying cost tracking and allocation.

2. Security & Compliance:

By centralizing management, Organizations enables better


enforcement of security policies and compliance standards across
all accounts, reducing the risk of unauthorized access or data
breaches.

3. Operational Efficiency:

Organizations streamlines account creation and management,


making it easier to onboard new teams or projects, while ensuring
they adhere to organizational policies.

Automated provisioning and configuration of services across


multiple accounts save time and effort for administrators.

Types of Businesses that Could Best Take Advantage:

Assignment week 05 12
1. Large Enterprises:

With multiple departments, teams, or business units, each


potentially needing its own AWS account, Organizations helps
maintain centralized control and governance over a complex cloud
environment.

2. Multi-National Companies:

Operating in different geographic regions, Organizations allows


central management of accounts and policies across various
regions, ensuring consistency and compliance with local
regulations.

3. Companies with Strict Compliance Requirements:

Organizations helps enforce security and compliance policies


uniformly across all accounts, simplifying auditing and reporting.

4. Fast-Growing Companies:

As businesses scale and add new teams or projects, Organizations


automates account creation and management, reducing
administrative overhead and ensuring consistent governance.

Why these Businesses Benefit:

- These types of businesses often deal with a large number of AWS


accounts and complex cloud infrastructure. AWS Organizations provides
them with a powerful tool to:

Reduce complexity: Simplify management and governance of multiple


accounts.

Improve security and compliance: Enforce policies consistently


across all accounts.

Increase operational efficiency: Streamline account management and


automate tasks.

Optimize costs: Gain insights into spending across all accounts and
leverage volume discounts.

Assignment week 05 13
Module 15: Other Clouds Feature.
I. Technology Terminology.
Blockchain: A decentralized database technology that securely records
transactions and smart contracts using cryptography. It ensures data integrity
and transparency.

Block: A collection of records (transactions) added to the blockchain, forming


a chain of blocks.

Transaction: An exchange of value, often cryptocurrency, recorded on the


blockchain.

Ledger: A digital record of all transactions on the blockchain.

Immutable: The property of the blockchain that ensures its data cannot be
altered or deleted, guaranteeing data integrity.

Trust: The confidence in the accuracy and security of the blockchain due to
its decentralized nature and cryptographic protection.

Transparency: All transactions on the blockchain are visible to all participants,


promoting openness and accountability.

II. Background and miscoptions.


AWS Athena

An interactive query service that allows for easy analysis of data stored in
Amazon S3 using standard SQL.

Serverless, so there is no infrastructure to manage, and users pay only for


the queries they run.

Integrates with AWS Glue Data Catalog for unified metadata management.

Cost-effective, with options to optimize query costs and performance.

Highly available and scalable, leveraging Amazon S3 for data storage.

Amazon Macie

Assignment week 05 14
A security service that uses machine learning to automatically discover,
classify, and protect sensitive data in AWS.

Provides visibility into data access and movement through dashboards and
alerts.

Helps identify and mitigate risks of unauthorized access or data leaks.

Integrates with Amazon CloudWatch Events for custom remediation and


alerts.

Amazon Managed Blockchain

A fully managed service for creating and managing scalable blockchain


networks.

Eliminates the complexity of setting up and maintaining blockchain


infrastructure.

Supports Hyperledger Fabric and Ethereum frameworks.

Enables multiple parties to execute transactions without a central


authority.

Provides scalability, security, and ease of management for blockchain


networks.

In essence, Athena simplifies data analysis in S3, Macie enhances data security
using machine learning, and Managed Blockchain facilitates the creation and
management of blockchain networks on AWS.

In an Amazon Managed Blockchain, you do the following.

Assignment week 05 15
Create a network: Choose an open source blockchain framework, set up a new
blockchain network, and your membership in your AWS account with just a few
clicks.

Invite members: Invite other AWS accounts to join the network.


Add nodes: Create and configure blockchain peer nodes that store a copy of the
distributed ledger.
Deploy applications: Create and deploy decentralized applications to your
network through your peer nodes. Transact with other members on the network.

Blockchain technologies cater to two primary customer needs:

1. Centralized Ledger for Transparency and Verification:

In this scenario, multiple parties rely on a trusted central entity to


manage a shared ledger.

The blockchain provides a transparent and immutable record of


transactions, accessible to all authorized participants.

Example: A retailer connecting its suppliers to a centralized ledger to


track product movement through the supply chain, enhancing
traceability and accountability.

2. Decentralized Transactions Without a Central Authority:

In this use case, multiple parties interact directly without a central


intermediary.

The blockchain enables trust and transparency through its


decentralized nature and cryptographic security.

Example: A consortium of banks and export houses using a


blockchain to facilitate cross-border asset transfers (e.g., letters of
credit) without relying on a central clearinghouse.

III. Focus Questions.


1. Grocery store chain hosting a nationwide customer discount card network:
Hardware hurdles:

Assignment week 05 16
Scalability: The network must be able to handle a large number of
simultaneous transactions and requests, especially during peak shopping
hours.

Geographic distribution: The infrastructure needs to be distributed across


different locations to ensure low latency and high availability for customers
nationwide.

Hardware failure and maintenance: The chain needs a plan to address


hardware failures and perform regular maintenance without disrupting the
network's availability.

Software hurdles:

Security: Customer data needs to be protected from unauthorized access and


breaches. Implementing robust security measures like encryption and access
controls is vital.

Data consistency: Ensuring that data across the distributed network remains
consistent and up-to-date can be challenging.

Integration with existing systems: The new network needs to integrate


seamlessly with the grocery chain's existing point-of-sale systems and other
relevant software.

2. International banking conglomerate hosting transaction data:


For sensitive financial transaction data, an international banking conglomerate
would likely prefer a centralized authority to manage the network and data.
Reasons include:

Security and Compliance: Centralized control allows for stricter security


measures, access controls, and regulatory compliance.

Risk Management: A central authority can monitor and manage potential risks
associated with financial transactions more effectively.

Data Privacy: Centralized management can better address data privacy


concerns and ensure adherence to data protection regulations.

Dispute Resolution: In case of discrepancies or disputes, a central authority


can act as an intermediary to resolve issues efficiently.

Assignment week 05 17
While transparency is important in financial transactions, full transparency to all
users may not be ideal due to privacy concerns and the need for controlled
access to sensitive information.
3. Blockchain usage by other companies:
One instance I've come across is Walmart's use of blockchain technology for
food traceability. They implemented a blockchain-based system to track the
journey of food products from farm to shelf, enhancing transparency and ensuring
food safety. This allows customers to trace the origin of their food and quickly
identify the source in case of any contamination or recalls.
Other notable examples include:

Maersk: The global shipping giant uses blockchain to streamline supply chain
management, improve efficiency, and enhance transparency in cargo tracking.

IBM Food Trust: A collaborative initiative using blockchain to enhance food


safety and traceability across the supply chain.

De Beers: The diamond company uses blockchain to track the provenance of


diamonds, ensuring their authenticity and ethical sourcing.

Module 16: Optimizing the Cloud with the


AWS CDK.
I. Technology Terminology.
AWS Cloud Development Kit (AWS CDK)

An open-source software development framework that models and


provisions cloud application resources

II. Background and misconceptions.


AWS CDK (Cloud Development Kit)

A framework for modeling and provisioning cloud resources using familiar


programming languages.

Assignment week 05 18
Simplifies cloud application development by providing high-level
components and automating resource configuration.

Integrates with IDEs for efficient development and testing.

Enables creation of reusable components, promoting best practices and


collaboration within an organization.

Treats infrastructure as code, allowing for version control, repeatable


deployments, and better testing and development practices.

Benefits:

Accelerates onboarding to AWS by leveraging existing skills and tools.

Improves developer productivity by abstracting away infrastructure


complexities.

Provides flexibility and control through familiar programming languages


and the ability to create custom components.

Enhances collaboration by enabling the sharing of reusable components.

Promotes DevOps practices by treating infrastructure as code.

Use preconfigured application components: Download preconfigured components


from a package manager or artifact repository.
Model your application: Model your application logic and infrastructure in a
programming language.
Provision your application with AWS CloudFormation: Provision your application
code and supporting infrastructure with AWS CloudFormation.

Assignment week 05 19
AWS CDK Constructs:

Constructs: Pre-configured, customizable, and reusable cloud


components representing AWS services and features.

CFN Resources: Low-level constructs directly mapping to base-level


CloudFormation resources, providing complete coverage and rapid
updates.

Customization and Sharing: Constructs can be tailored, shared, and


reused within an organization or community.

Benefits:

Simplify infrastructure definition using familiar programming languages


(TypeScript, Python, Java, .NET).

Leverage IDEs, testing tools, and existing workflows.

Ensure repeatable deployments, rapid rollbacks, and drift detection


through CloudFormation integration.

Reference and deploy runtime code assets (Lambda functions, Docker


images) directly within CDK projects.

AWS CDK CLI: Facilitates interactions with CDK applications, including


template synthesis, change visualization, security checks, and multi-
stack/multi-environment deployments.

Assignment week 05 20
In an AWS CDK application, one construct consists of Amazon SQS and AWS
Lambda and another construct consists of Amazon S3 and Amazon DynamoDB.
An arrow points from this stack to a box labeled CloudFormation Template, which
contains code. Another arrow points from this box to a box labeled AWS
CloudFormation. Three arrows point from the AWS CloudFormation box to
Resources.

III. Focus Questions.


1. Templates in Documents and Presentations:

I often use templates when creating presentations, especially for work. It's
much faster to start with a pre-designed template that has a professional
layout and color scheme than to design everything from scratch. Plus, it
helps maintain consistency across different presentations within my team.

2. Applications Needing Customization:

A great example is a social media app. The core functionality is similar for
all users - posting, commenting, liking - but customization is needed for:

Accessibility: Providing different font sizes, color contrast options,


and screen reader compatibility for users with visual or hearing

Assignment week 05 21
impairments.

Language: Supporting multiple languages for a global user base.

Content filtering: Offering options for users to customize the content


they see, such as filtering out specific topics or sources.

User preferences: Allowing users to personalize their experience with


themes, layouts, and notification settings.

3. Value of AWS CDK's Language Flexibility:

Novice Developers: They can leverage their existing knowledge of a


familiar programming language, reducing the learning curve and making it
easier to get started with cloud infrastructure provisioning.

Advanced Users: They can use the full power and expressiveness of their
preferred language to create more complex and sophisticated
infrastructure configurations, and even build reusable components.

4. AWS CDK vs. CloudFormation:

Using the AWS CDK is like building a house with prefabricated components.
You have pre-built modules (constructs) like walls, floors, and roofs that you
can easily assemble and customize to create the final structure.
CloudFormation, on the other hand, is like building a house from raw materials.
You have complete control and flexibility, but it requires more expertise and
effort to design and construct everything from scratch.
Both approaches have their merits:

AWS CDK: Faster and easier for common use cases, promotes best
practices, and allows for reuse of components.

CloudFormation: Offers greater control and flexibility for complex or


unique infrastructure requirements.

The choice depends on the specific needs of the project and the expertise of
the team.

Assignment week 05 22

You might also like