AWS Compute Services
- Web Applications
- Batch Processing:
- This is processing of transactions in a group or batch
- No user interaction is required once the batch processing starts
- These Batch Processing jobs run at regularly schedule times (overnight) or on an needy basis.
- Examples:
- Bill generation systems
- Consolidating faulty transactions/refunds etc….
- Payroll Systems
- For running these kind of systems, we need servers with some operating systems and some set of softwares installed.
Billing Exercise
- Problem
Server - silver
=> 8 vCPU
=> 32 GB of RAM
=> Charges => 15 rupees/hour
Server - Gold
=> 16 vCPU
=> 64 GB of RAM
=> Charges => 25 rupees/hour
Storage:
Hardisk => 1 TB => 4 rupees/hour
I will be charging for server when it is running.
I will be chargin for the disk as long as you are using it.
March month:
5 silver servers => ran them for 15 days and deleted
2 gold servers => ran them for 15 days and you have shutdown
How much do you need to pay me? (# waiting till 9:55 AM )
- Solution
silver
per hour => 15
per day => 15 * 24 => 360
5 silver servers per day => 5 * 360 = 1800
15 days => 15 * 1800 => 27,000
disk per hour => 4
per day => 24 * 4 = 96
5 silver servers (5 disks) => 5 * 96 => 480
15 days => 15 * 480 => 7200
price => 27000 + 7200 => 34200
Gold
per hour => 25
per day => 25*24 => 600
2 servers per day => 1200
15 days => 15 * 1200 => 18000
Disk
disk per hour => 4
per day => 24 * 4 = 96
2 servers => 192
total usage = 31 * 192 = 5952
gold => 18000 + 5952 => 23,952
Gold + Silver => 34200 + 23,952 => 57952