AWS Native Tooling - Pranav-SA/thesis-support-examples GitHub Wiki

AWS Native Tooling

AWS offers Fault Injection Service for assisting Gamedays. The process comprises Actions, Targets, and Stop Conditions. To use AWS FIS, you run experiments on your AWS resources to test your theory of how an application or system will perform under fault conditions. To run experiments, you first create an experiment template. An experiment template is the blueprint of your experiment. It contains the actions, targets, and stop conditions for the experiment. After you create an experiment template, you can use it to run an experiment. While your experiment is running, you can track its progress and view its status. An experiment is complete when all of the actions in the experiment have run.

Possible Actions include:

  • Fault injection actions
  • Wait action
  • CloudWatch actions
  • Amazon EC2 actions
  • Amazon ECS actions
  • Amazon EKS actions
  • Amazon RDS actions
  • Systems Manager actions

Note: AWS FIS is actively maturing and information might not be up to date. For latest information, visit FIS Reference.

The following image depicts how FIS targets other services through actions using AWS SSM:

image

Example

Possible Targets can be identified below example:

image

An example scenario is presented here.

Pricing

With AWS FIS, you pay only for what you use. There are no upfront costs or minimum fees. You are charged based on the duration that action is active. The AWS FIS price is $0.10 per action-minute for all regions except AWS GovCloud (US-East and US-West), where the price is $0.12 per action-minute. Action is the fault injection activity that is run during an experiment. For example, increasing CPU utilization on an instance or failing over a database is called an action.

Duration is the amount of time that an action is run and its effects monitored. It is calculated from the time an action starts until it stops, rounded to the nearest minute.

For example: If you have an experiment that includes 2 actions that run in parallel for 20 minutes each and 1 action that runs for 10 minutes after the previous action is complete, then your cost would be calculated as follows:

Total action-minutes = 2 actions x 20 minutes + 1 action x 10 minutes = 50 action-minutes Charge to run the experiment = 50 action-minutes x $0.10 per action-minute = $5