Microsoft Azure and Amazon Web Service
===
## Virtual Machine
| | AWS | Azure |
| -------- | -------- | -------- |
|**Pricing Model**| **[On-Demand](https://)**: You pay for computing capacity by per hour or per second depending on which instances you run.<br> <br> **[Reserved Instances(RI)](https://aws.amazon.com/ec2/pricing/reserved-instances/pricing/)**: Provide a significant discount (up to **75%**) compared to On-Demand pricing and provide a capacity reservation when used in a specific Availability Zone. You have to enter a contract. See [Standard vs Convertible Offering Classes](https://docs.aws.amazon.com/whitepapers/latest/cost-optimization-reservation-models/standard-vs.-convertible-offering-classes.html)| **[Pay as you go](https://azure.microsoft.com/en-us/pricing/details/virtual-machines/windows/)**: Pay for compute capacity by the second, with no long-term commitment or upfront payments. Increase or decrease compute capacity on demand. Start or stop at any time and only pay for what you use. <br><br> **[Reserved Virtual Machine Instances](https://azure.microsoft.com/en-us/pricing/details/virtual-machines/windows/):** An Azure Reserved Virtual Machine Instance is an advanced purchase of a Virtual Machine for one or three years in a specified region. The commitment is made up front, and in return, you get up to **72%** price savings compared to pay-as-you-go pricing. Reserved Virtual Machine Instances are flexible and can easily be exchanged or returned. |
|**Instance Type**|- General Purpose **<M>** <br> - Computed Optimized **<C>** <br> - Memory Optimized **<R>**|- General Purpose **(B)** <br> - Computed Optimized **(F)**<br> - Memory Optimized **(E)**|
## Database
- Relational databases:
| | AWS | MS Azure |
| -------- | -------- | -------- |
| **Model** | [Amazon RDS for PostgreSQL](https://aws.amazon.com/rds/postgresql/) | [Azure Database for PostgreSQL](https://azure.microsoft.com/en-us/services/postgresql/) |
|**Pricing**|https://aws.amazon.com/rds/postgresql/pricing/|https://azure.microsoft.com/en-us/pricing/details/postgresql/server/|
## Cloud Storage
#### AWS S3 (Simple Storage Service)
- [S3 Tiers/Classes](https://aws.amazon.com/s3/storage-classes/): **Standard**, Infrequently Accessed (IA), One Zone - IA, Glacier.
- [S3 Pricing](https://aws.amazon.com/s3/pricing/): **Storage pricing**, Request Pricing, Data Transfer pricing,..
#### MS Azure Blob Storage
- Blob Storage Classes: Hot, Cool and Archive are equivalent to Standard, IA and Glacier of S3
- [Blob Storage Pricing](https://azure.microsoft.com/en-us/pricing/details/storage/blobs/)