---
type: archive
area: archive
status: archived
date: 2026-05-03
created: 2026-05-03
updated: 1980-01-01
tags:
  - archive
---
#### Deploying in AWS
- AWS CLI can control aws from command line interface
- AWS SDKs add the ability to control aws from code
- deploy aws services and resouces using a variety of popular programming language
#### Infrastructure as code
- Deploy aws cloud using code!
- some aws that utilize infrastructure as code:
	- AWS Elastic Beanstalk
	- AWS Lambda
	- AWS CloudFromation
## Connecting to The cloud
- VPC
- AWS Direct Connect
- Direct Internet

AWS VPN which helps establish more securely connection and private peer to peer.

AWS Direct Connect Create a secure and private connection from your local network directly to AWS Cloud reduce bandwidth coast and low latency connection .
#### Cloud deployment model:
- Cloud
All parts of the IT infra reside and run in the cloud.
All applications are migrated or created in cloud.
Relies on internet and cloud computing 
Smart companies relies on it
- Hybrid
IT infra lives both in cloud and on-premises data centers
Might be on the process of migrating over the cloud
- On-Premises
By using virtualization
Like the old setup
A lot of setups does not provide many of the benefits of cloud computing
Provides dedicated resources
#### (Azs) or Availability Zones:
discrete data centers around world, sperated from each other by network.
Characteristics:
- High availability
- Fault tolerance
- Resiliency
![[img-20240909-003433-61f4dd8c.png]]
#### AWS local Zones
 - Aws provides local infrastructure connected with high speed internet connection in places where a lot of business or high population
#### AWS Wavelength Zones:
- Provides ultra low latency user experience by embedding AWS compute and storage services with 5G networks.
---
#### Amazon EC2
- Already used by me
- Instances types
![[img-20240909-005252-234e3b61.png]]
#### Container services:
- Amazon ECS, Amazon EKS
- ECS help to run containers in the cloud. Deploy, manage, and scale containerized applications quickly on-premises and in the cloud
- EKS fully managed kubernets management service to help you run kubernetes on AWS cloud without installing / operating your own kubernetes clusters
#### AWS Elastic Beanstalk
- handles the deployment process, auto scaling, monitoring
- free to use 
- support most famous programming languages
- pay only for resources provisioned
#### Elastic Load balancing
 - Automatically distributes incoming traffic across multiple replicated servers so no single server is overloaded
 - Fault Tolerent 
 - Scalable and secure
 - monitor health of servers
#### Serverless
Helps developers to build and run their own application without need to manage their application physical or virtual.
- AWS lambda
Allows to run code without having to provision or manage servers
Event-driven pay as you go compute service (when an event triggers code run in that time you are charged)

AWS Fargate
- Serverless compute engine for containers
- focus on building applications without need to manage the underlying servers
- Compatible with ECS or EKS
#### Amazon Lightsail
![[img-20240909-011904-43833b51.png]]
---
#### Storage
- Object Storage
Files broken down into pieces called objects, which are place in buckets
Stores massive amounts of unstructured data (like photos videos) best suit for static data that don't change
Components of an object: data, metadata, and identifier
Examples AWS simple storage , S3
- File storage 
Data is stored as pieces of information inside if a folder
Has  hierarchy, and folders can be inside  other folders
Ex Amazon EFS
- Block storage
Stores data inside blocks
Utilizes unique identifiers to make search efficient
Distributes and stores blocks in multiple places when the data is requested, the blocks are reassembled for the user
Ex Amazon EBS
#### Amazon S3
![[img-20240909-224802-c76c58a4.png]] 
- Storage Classes
![[img-20240909-224946-3590ae8a.png]]
![[img-20240909-225101-f376a8fb.png]]
![[img-20240909-225141-4a9da273.png]]
- EBS
Add blocks storage mounted to EC2 instance
Add multiple EBS volumes to one EC instance
Use as files systems or hard drives
Persistent storage
can be crypted
can be moved like an external storage
- Aws sow familly
- AWs storage Gateway:
![[img-20240910-021251-d654ff83.png]]

Connects on-premises storage to cloud storage  basically create a gate to the stored resources in AWS Cloud with minimal latency
Types:
Files bases --- **File Gateway**
Voulme base ---- **Volume Gateway** {
upload files in blocks
async backup
![[img-20240910-021742-cdec0732.png]]
}
Tape based --- **Tape Gateway**
![[img-20240910-022637-2abe8198.png]]
- AWs Backup
![[img-20240910-023202-fe9ce8c3.png]]
## Databases
- Amazon RDS
Collection of managed services to setup and operate RDatabases.
- Amazon Aurora
Fully managed relational database engine.
One of the database engines supported by Amazon RDS
- Aws Database Migration Services
AWS Data Migration Services (AWS DMS)
AWS Schema Conversion Tool (AWS SCT)
#### No SQL Databases
- Amazon DynamoDB
Fully managed serverless key-value databases (serverless = don't need to prevision a server to run something) 
Automatically scales up or down
#### In-Memory Databases:
Ideal for application that requires micro second response times or have marge spikes in traffic 
Offer low latency, high throughput, and high scalability

![[img-20240910-115541-4ad1878b.png]]
#### Option to run databases in AWS?
1 - Spinning up an Amazon **EC2** instance to host your database  gives you control but will require more active management
2 - Using a  fully managed services will save you time and money but you lose control over infrastructure
---
#### Networking
- Amazon VPC
Logically isolated section in the cloud to provision resources
Flexible and secure, allowing you to control almost every aspect of your virtual network
VPC automatically provisioned at AWS account sign-up
- Analogy of VPC
![[img-20240910-123320-97800f84.png]]
- Amazon CloudFront
CDN of amazon (content delivery network).
Based on the location of the user, origin of the website/application.
Integrates with many AWS services to provide optimal performance and security.
Makes loading websites/apps faster for end users by using edge locations to cache files and resources.
Example like we want an apple we cannot get food directly from farm but near to use there is a glossary store to buy that from it.
![[img-20240910-124059-449c9811.png]]
Scalable
No commitment
only pay for content delivered using the service
- AWS global accelerator
![[img-20240910-124338-ca9fa65a.png]]
![[img-20240910-124618-3cc536d1.png]]
- AWS Route 53 
High scalable DNS system
Reliably and cost effectively routes end users to your internet applications
Connect users requests to infrastructure running in AWS
Routes users to infrastructure outside of AWS as DNS service
![[img-20240910-125004-0d498e6f.png]]
Basic Functions of route 53
Domain registration
Domain Name System
Health check of web apps
auto naming for service discovery
creates website/apps with high availability
One of the uses is to buy a domain name with routes 53 and routes traffic to static web sites hosted with S3

---
#### AI/ML services
- Amazon Sage Maker
Fully managed Machine Learning (ML) service
Helps to build, train , and deploy Ml models for whatever use case you may have
Devlop real-world applications
- Amazon Lex
AI service to build chat bots with sophisticated voice and text conversational AI
Integrate voice assistant and chatbots to provide self-service customer service to your service to your users
- Amazon Kendra
Utilizes machine learning to help find answers faster with intelligent search
Helps customers and employees to find information they need by utilizing NLP
#### Data Analytics services
![[img-20240910-131519-ffa2c2e7.png]]
---
#### Management Tools
- AWS CloudFormation
Templates for resource deployment in AWS
Provision and deploy fully configured infrastructure
Free to Use
Pay only resources used in the template
Update or manage template using AWS Management Console, CLI, or SDK
Version control available
Bring to live infrastructure as code
- Cloud Trail
Monitoring and auditing of IT infrastructure for compliance, user activity/API usage tracking, and risk auditing
log and monitor account activities and event history
Simplify compliance audits
Discover and troubleshoots security and operational issues
**Event tracker and security analysis tool to keep AWS Cloud compliant and secure**
- Cloud Watch
Monitoring and management system for AWS infrastructure
Natively integrated with over 70 AWS services
Gain system wide visibility into resource utilization, application performance, and operational health
Setup alarms to notify about important things or define preconfigured triggers to solve common issues
![[img-20240910-160257-e6ecdcb3.png]]
![[img-20240910-180559-8ba0aeed.png]]
![[img-20240910-180634-a7c8675c.png]]
![[img-20240910-180717-fc81126a.png]]
![[img-20240910-180745-3a2ed196.png]]
