Module 4-1
Module 4-1
Key Features:
1.Instance Creation: Users can launch instances using Amazon Machine
Images (AMIs) or create custom AMIs with applications and data.
2.Instance Configuration: Users specify instance type (e.g., micro,
small, large), number of instances, and availability zones.
3.Security:
Key-pairs: Used for secure access via SSH.[secure shell]
Security groups: Control access by allowing or blocking specific
network ports.
4.Instance Management: The EC2 console provides a status view.
When launched, an instance is in a pending state and transitions to a
running state after a few minutes.
5.Networking: Instances are assigned public and private DNS names and
IPs. The public DNS allows secure remote connections via SSH.[domain
name system]
This service allows flexible and scalable compute capacity with different
billing options (on-demand, reserved, spot instances).
Use Cases: EC2 is used to build and host a wide range of software
systems, including web applications, data processing, scientific
simulations, and more.
Key Features:
Virtual Machines: Supports different machine types (customizable
CPU, RAM).
Storage Options: Local SSD (high speed) & Persistent Disk (durable).
Global Load Balancing: Distributes traffic across multiple regions.
GPU Support: Accelerates workloads like ML and graphics
processing.
Security: Provides encryption, access control, and authentication.
Integration: Works with Docker, Kubernetes, and other GCP services.
Conclusion
Azure Virtual Machines provide scalability, flexibility, and seamless
integration with other Azure services. They allow businesses to deploy
applications, scale workloads based on traffic, and run diverse workloads
efficiently.
Amazon S3 Components:
Buckets: Storage containers for objects, each with unique global
names.
Objects: Files stored in S3 with metadata and access control.
Versioning: Keeps previous versions of objects to prevent accidental
deletion.
Access Control: Uses ACLs, Bucket Policies, and IAM Policies to
manage access.
Advantages of Amazon S3
i. Highly scalable and available.
ii. Secure with strong encryption and access controls.
iii. Seamless integration with AWS services.
iv. Automated data lifecycle management.
v. Reliable backup and disaster recovery solutions.
Google Cloud Storage – a simple way to store, protect, and share data
Google’s world-class cloud storage system for reliability, almost
unlimited scalability, and innovative functionality, including standards-
based security features and sophisticated data-analysis tools.
All buckets are associated with a project, and you can group your projects
under an organization.
After you create a project, you can create Cloud Storage buckets, upload
objects to your buckets, and download objects from your buckets.
You can also grant permissions to make your data accessible to principals
you specify or accessible to everyone on the public internet.
In Azure, the term “Storage type” refers to the different types of storage
services offered by Azure to store data. These types of storage services
vary in their performance, durability, and cost characteristics, and are
designed to meet specific data storage needs.
1.Blob Storage:
Blob storage is a non-relational object storage service in the cloud, used
for unstructured data such as images, audio, video, and documents. It
provides scalable, durable, and highly available data storage with low
latency and high throughput. Blob storage can be accessed through REST
APIs or client libraries for easy integration with other applications.
2. Table Storage
Table storage in Azure is a NoSQL key-value store for semi-structured
data, designed for use with structured data that doesn’t fit well into a
traditional relational database. It provides a simple, scalable, and cost-
effective way to store and retrieve large amounts of structured data.
3. Queue Storage
Queue storage in Azure is a fully managed, cloud-based service for
storing and retrieving large numbers of messages. It is used to build
asynchronous, loosely-coupled, scalable, and reliable applications by
allowing communication between microservices.
Cloud database services enable the setup and operation of relational (e.g.,
MySQL, Oracle, SQL Server) and non-relational (NoSQL) databases in
the cloud. They reduce the burden of database administration for
developers. NoSQL databases are typically proprietary, fully managed,
and optimized for scalability and high throughput.
Key Features:
Managed Service: RDS handles many database management tasks,
such as provisioning, backup, recovery, and failure detection, freeing
up developers and administrators to focus on application
development.
Scalability: You can easily scale your database instances to meet
changing demands.
Cost-Effective: You pay only for the resources you use, with no
upfront costs or minimum fees.
Database Engine Support: RDS supports a variety of popular
database engines, including:
RDS for MySQL
RDS for MariaDB
RDS for SQL Server
RDS for Oracle
RDS for Db2
Availability: RDS offers high availability and durability, ensuring
your data is protected and accessible.
Security: RDS provides robust security features to protect your data
and applications.
Use Cases:
Web Applications: RDS is a popular choice for storing and
managing data for web applications.
E-commerce Platforms: RDS can handle the high volume of
transactions and data storage required by e-commerce platforms.
Financial Applications: RDS is suitable for applications that require
high security and reliability, such as financial applications.
Other Applications: RDS can be used for a wide variety of other
applications that require a relational database.
Getting Started:
You can start using Amazon RDS by creating an AWS account
and then selecting the database engine you want to use.
You can then create a database instance and
start using it with your applications.
Cost-Effective:
You only pay for the resources you use, making it a cost-effective
solution for applications of all sizes.
Data Modeling:
DynamoDB supports key-value and document data models, allowing you
to store and retrieve data efficiently.
APIs:
DynamoDB provides APIs for searching data, including Query and
Scan.
Transactions:
DynamoDB supports transactions, ensuring the atomicity, consistency,
isolation, and durability (ACID) of your data operations.
Use Cases:
DynamoDB is used in various applications, including e-commerce,
social media, gaming, and IoT.
DynamoDB integrates with other AWS services, such as AWS Lake
Formation and Amazon SageMaker.
Key Features
Instance:
In order to run the database, we need to use a virtual machine called
instance created in the Google Cloud Platform. We can create multiple
database instances.
Database:
A database is a collection of data that is organized in a structured way. A
database is in the form of a table, which consists of more than one row
and column.
Table:
A table is an arrangement of information or data, usually in rows and
columns or in a more complex structure. Tables are commonly used in
reporting, research, and data analysis.
Field:
A field is a single piece of data that is stored in a record in a table.
Primary Key:
It’s a unique identifier like a driver’s license number, area code, or
vehicle identification number. A relational database should have only one
primary key. Each row of data must have a primary key value and none
of the rows can be NULL.
Replication:
Replication is the ability to create a copy of a Cloud SQL instance or a
local database and transfer your work to the copies.
Backups:
Backups restore lost data to Cloud SQL instances. If something goes
wrong, we can also restore it to its previous state by overwriting it with a
backup. Enable automatic backup for each instance that contains the
necessary data. Backups protect data from loss.
It allows you to store and query data with SQL-like queries and supports
ACID transactions and indexing for improved performance.
What it is:
Azure Table Storage is a service within Microsoft Azure that allows you
to store large amounts of structured, non-relational data in the cloud.
NoSQL datastore:
It's a NoSQL datastore, meaning it doesn't rely on traditional relational
databases with tables, schemas, and foreign keys.
Schemaless design:
The data stored in Azure Tables is schemaless, meaning you can store
data with different properties without needing a predefined schema.
Key/attribute store:
It's essentially a key/attribute store, where each entity is identified by a
unique key and contains a set of properties (name-value pairs).
Use cases: