AWS security costs
How much does AWS Security Agent cost?
AWS Security Agent costs $50.00 per task-hour for penetration testing, with a 2-month trial that includes up to 400 task-hours each month. Costbrake reads AWS Cost Explorer plus live estimates and alerts you when a service first shows up this month above $1, such as a new Security Agent charge.
What AWS charges for
AWS Security Agent has been renamed Continuum for penetration testing, within AWS Continuum. If you're looking for AWS Security Agent pricing, the paid penetration testing rate is now on the AWS Continuum pricing page.
Continuum is pay-as-you-go, with no upfront costs or minimum fees. Its pricing page covers penetration testing and a separate capability, Continuum for code vulnerabilities.
| Capability or usage | Price | Billing detail |
|---|---|---|
| On-demand penetration testing | $50.00 per task-hour | Metered per second; partial seconds charged proportionally |
| Finding revalidation | First three per finding free | Additional revalidations billed by task-hour duration |
| Continuous pentest runs | No charge while in preview | Applies however the run is started; other AWS resources still cost money |
| Continuum for code review | No charge while in preview | Quotas still apply |
| Continuum for design review | No charge while in preview | Quotas still apply |
| Continuum for threat modeling | No charge while in preview | Quotas still apply |
A task-hour measures active work performed by the agent within a task. It isn't an hour on your clock. Multiple tasks run concurrently during a test, and total billable task-hours typically exceed the duration you see.
That's the billing catch.
Check which free usage applies
New Continuum for penetration testing customers get a 2-month free trial starting with their first penetration test run. Each trial month includes up to 400 penetration testing task-hours, but usage beyond that allowance is charged at the standard rate, as is usage after the trial ends.
The trial applies only to penetration testing, not Continuum for code vulnerabilities. AWS also lists penetration testing as included in the AWS Free Tier plan for new AWS customers.
And preview pricing is separate from the trial. Continuous pentest runs aren't charged while continuous pentesting is in preview, regardless of how you start them. You still pay for other AWS resources, including hosting the application being tested.
The Security Agent pricing guide lists the preview exceptions.
Work out a penetration test bill
How much does an hour-long test cost? You need the task-hours, not just the elapsed time.
AWS's API penetration test example finishes in about 1 hour but consumes 3 hours, 27 minutes, and 45 seconds of cumulative task time:
- Total task time: 12,465 seconds.
- Billable task-hours: 12,465 ÷ 3,600 = 3.4625.
- Charge: 3.4625 × $50/hour = $173.13.
That's the example's charge at the listed rate, before any applicable free allowance. The observed duration alone doesn't give you that bill.
AWS's availability announcement lists on-demand penetration testing in six AWS Regions: US East (N. Virginia), US West (Oregon), Europe (Ireland), Europe (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Tokyo).
Don't mix up the code pricing
Continuum for code vulnerabilities has separate charges. It isn't the same pricing entry as the Security Agent code review capability that's free in preview.
Its monthly context fee is billed through ContinuumContext-Code. Rates per 1 million protected lines of code are $200 for the first 10 million, $180 for the next 90 million, $160 above 100 million through 1 billion, $130 above 1 billion through 10 billion, and $100 above 10 billion.
Security work also carries an inference fee through ContinuumInference: $10 per Continuum inference unit (CIU).
Both charges appear on the Continuum pricing page. The penetration testing trial doesn't cover them.
Control task-hours and set alerts
Start with the run itself, then watch the charges across runs.
- Check the All runs table. It shows duration and task-hours for every run; selecting a run opens the same values in its run summary.
- Open the Logs tab for task-level usage. Each task lists its task-hours, and the task detail panel shows both duration and task-hours.
- Don't use
PentestExecutionDurationas your billable-hours total. That Amazon CloudWatch metric reports run duration in seconds.
Use AWS Cost Explorer to track charges across runs, and create an AWS Budgets budget for notifications when charges pass your chosen threshold.
Quotas aren't spending limits. Monthly review quotas can block further reviews until the following month, but they don't cap penetration testing spend. Configuration quotas on Agent Spaces and penetration test projects limit capacity too. Raising a quota doesn't change the billing rate.
For the test configuration:
- Target specific URL paths and exclude URLs you don't want tested.
- Select only the risk types you need. Each additional risk type adds tasks.
- Watch the logs and stop a run that's exploring areas you don't care about. Accrued task-hours remain chargeable until the job stops, except for continuous pentest runs in preview.
- Reuse configurations and compare task-hours across runs to build a cost baseline.
Watch the wider bill with Costbrake
Costbrake can monitor AWS alongside your other cloud, AI and SaaS spending. For AWS, it reads Cost Explorer billed costs, which can be up to a day behind, plus live CloudWatch-based estimates for supported workloads.
Those live estimates aren't a Security Agent task-hour meter. Use the run's task-hours for that.
Costbrake's Free plan checks hourly; Pro and Team check every 5 minutes. It alerts on spikes, budget thresholds, month-end forecasts and new charges. AWS Cost Explorer requests for Costbrake add roughly $2 a month to your AWS bill.
See agent setup to connect AWS, or Costbrake pricing for plan limits.
Questions and answers
Is AWS Security Agent free?
Not generally. On-demand penetration testing costs $50.00 per task-hour, with a 2-month trial offering up to 400 task-hours each month for new penetration testing customers. Continuous pentesting, code review, design review and threat modeling have no charge while their respective previews apply.
How is AWS Security Agent billed?
Penetration testing is billed per task-hour, metered per second, with partial seconds charged proportionally. Concurrent tasks add to cumulative billable task time, so elapsed test duration isn't the billed duration.
How much does an AWS penetration test cost?
For this service, AWS's API test example costs $173.13 for 3.4625 task-hours, despite finishing in about 1 hour. Its routine e-commerce test example consumes 24 task-hours and costs $1,200.00.
Does stopping a test stop all charges?
You're charged for task-hours accrued until the job stops. Continuous pentest runs are exempt while in preview, but other AWS resources you use still carry their own charges.
How do I control AWS Security Agent costs?
Narrow the scope, select only needed risk types, monitor logs and stop off-track runs. Compare task-hours across reused configurations, track charges in Cost Explorer and set AWS Budgets notifications; service quotas don't cap penetration testing spending.
Sources
Updated