# AWS

## Why AWS?

* 32% market share since 2006
* Facebook, Netflix, Airbnb, LinkedIn, Twitch, BBC, Samsung, MI

## Important Products

* RDS - supports relational databases such as PostgreSQL, MYSQL, Oracle, etc.
* Elastic Beanstalk\
  \- similar to AppEngine of Google Cloud\
  \- takes care of the backend infrastructure
* EC2 (Elastic Compute Cloud)\
  \- Pros: Flexible instances \
  \- Cons: You handle security, load balancing, etc.
* Amplify
  * Pros
    * Firebase competitor.
    * Get started quickly for fast prototyping by shielding the complexities of AWS services
  * Cons
    * Not learning much about AWS
    * Features are restricted
* ECS (Elastic Containers Service)\
  \- For Dockers
* S3 - storage service
* ElasticSearch - text-based search queries
* Lambda - serverless applications
* Aurora
  * RDS plus replicas
  * Cheaper and faster
  * Architecture held by AWS
* Route 53 (Domain Mapping)
* Cloudfront (Cache the files)
* Lightsail (WordPress)

## Tutorials

📽️ Picking the Right Hosting Options: [youtube.com/watch?v=8eGRJCYSUsU](https://www.youtube.com/watch?v=8eGRJCYSUsU)

📽️ EC2 vs ECS vs Lambda: [youtube.com/watch?v=-L6g9J9\_zB8](https://www.youtube.com/watch?v=-L6g9J9_zB8)

📽️ Deploy on EC2: [youtube.com/watch?v=Islmm-LMu38](https://www.youtube.com/watch?v=Islmm-LMu38)

📽️ Deploy a Node Express API to EC2 with IP Access Set-up: [youtube.com/watch?v=T-Pum2TraX4](https://www.youtube.com/watch?v=T-Pum2TraX4)

📽️ Host Your Website AWS EC2: [youtube.com/watch?v=IJiadKeipco](https://www.youtube.com/watch?v=IJiadKeipco)

📽️ Amplify\
&#x20;   \- Deploy NextJS: [youtube.com/watch?v=0B-hMvMggm8](https://www.youtube.com/watch?v=0B-hMvMggm8)\
&#x20;   \- Caching Problem: [youtube.com/watch?v=BjjnDu0KRfE](https://www.youtube.com/watch?v=BjjnDu0KRfE)

📽️ Create a PostgreSQL database on RDS and Connect with PGAdmin:\
&#x20;    \- <https://www.youtube.com/watch?v=Vi44UHVYWEg> \
&#x20;    \- <https://www.youtube.com/watch?v=I\\_fTQTsz2nQ>
