EC2 provide us the capability to work with work loads. You can think of it as hardware machine.
It is of four types.
* On Demand - Fixed rate by hour
* Reserved - Capacity Reservation
* Spot - Bidding based
* Dedicated hosts - physical server
** EC2 Instance Meta data **
Used to get info about an EC2 instance.
It is available on http, can provide details like ipv4 address, security groups etc.
curl http://ip/latest/meta-data/local-
Security groups are stateful, it means if you open an inbound port so same port will be opened as outbound and vice versa.
Types of placement groups.
- Clustered placement group
- Spread placemet group
- Partitioned placement group
A SPG is a group of instances that are each placed on distinct underlying hardware.
HPC- High performance compute on AWS
WAF Protection
* Ip addresses that request originate from. * Countries that request originate from. * Values in request headers. * Presence of SQL Code, might be a threat of SQL injection. * Presence of a string that might be malicious.