November 29, 2026
Updated: November 29, 2026
What the provider secures and what you test, the rules of the three large providers, the five test areas, and the scoping inputs.
Mohammed Khalil

Cloud penetration testing is a manual attack simulation against the parts of a cloud environment that you configure: identities, storage, networks, virtual machines, containers and serverless code. The provider's own infrastructure is not yours to test.
That split decides the scope, and each provider publishes rules for it. This page covers the split, the rules of the three large providers, the five areas a test covers and what to prepare.
AWS describes the split in its shared responsibility model. AWS is responsible for "protecting the infrastructure that runs all of the services offered in the AWS Cloud", and the customer's share "will be determined by the AWS Cloud services that a customer selects." The same idea applies on Azure and Google Cloud: the provider secures the platform, and you secure what you configure on it.
| Layer | Who secures it | In your penetration test? |
|---|---|---|
| Data centers, hardware, hypervisor | Provider | No |
| Internals of managed services | Provider | No |
| Identity and access configuration | You | Yes |
| Network configuration and exposure | You | Yes |
| Operating systems on your virtual machines | You | Yes |
| Storage settings and the data in them | You | Yes |
| Containers, clusters and serverless code you deploy | You | Yes |
| Your applications | You | Yes, usually as a separate application test |
The more a service is managed for you, the less there is to test below the configuration. With a managed database, the test is about who can reach it and with what rights, not about the database server.
All three providers let you test your own resources without asking first. The limits differ.
| Provider | Approval needed? | Limits stated in the policy |
|---|---|---|
| AWS | No, for the services on its permitted list | No testing of AWS infrastructure or the services themselves. Denial-of-service activity falls under a separate DDoS simulation testing policy. Testing that includes command and control needs prior approval |
| Microsoft Azure | No | Follow the Microsoft Cloud penetration testing rules of engagement. No access to other customers' data or systems |
| Google Cloud | No | Follow the Acceptable Use Policy and Terms of Service. Tests must affect only your own projects |

The wording is worth reading in the source. The AWS penetration testing policy says: "Customers are not permitted to conduct any security assessments of AWS infrastructure or the AWS services themselves." Microsoft's Azure penetration testing page states: "As of June 15, 2017, Microsoft no longer requires pre-approval to conduct a penetration test against Azure resources." Google's security FAQ says you are "not required to contact us", and that tests must "only affect your projects".
Provider approval is one thing. Written authorization from the owner of the accounts is another, and it is always needed. Resilience tests such as load or denial-of-service simulation have their own provider rules and should be agreed separately.

A sixth question runs through all five: what did your logging see? Ask the testers for a timeline of their main actions so you can compare it with your alerts.
The five areas are the same on every provider. The names, the defaults and the escalation paths are not, and that is where provider-specific skill matters. Each platform has its own guide:
If you run more than one cloud, scope each one on its own and then test the connections between them: shared identities, peered networks and pipelines that deploy to both.
| Input | Why the tester needs it |
|---|---|
| Accounts, subscriptions or projects in scope | Sets the boundary and confirms ownership |
| The organization structure above them | Permissions are often granted at a higher level |
| Starting identity for the test | None, a low-privilege user, or a read-only reviewer role |
| Services in use | Decides which provider rules and which skills apply |
| Connections to on-premises networks and other clouds | Decides whether those paths are tested |
| Production or a copy | Sets how careful the test has to be |
| Third parties with access | Managed service providers may need to agree |
| Test window and an emergency contact | Keeps production safe |
For the scope document itself, see our guide to penetration testing scope.
A configuration review, or a CSPM tool, compares settings with a benchmark and lists what is weak. A penetration test starts from an identity or an exposed service and shows how far it gets by joining weak settings together. The review is wide and repeatable. The test is narrower and shows consequences. Most teams need both, and the review is the cheaper one to run often. For the tooling used in testing, see cloud penetration testing tools.
Not for your own resources on AWS, Azure or Google Cloud, within the limits each policy sets. You do need written authorization from the account owner.
It can test how you have configured them: who can reach them and with what rights. It cannot attack the service itself, which belongs to the provider.
A network test follows packets between hosts. A cloud test follows permissions between identities. Both look at exposure, but in the cloud a single over-wide permission can matter more than an open port.
On a regular cycle and after major changes, such as a new account structure, a migration or a new way for workloads to get credentials. For how test evidence is used in audits, see cloud compliance requirements.
Write down the accounts in scope, the structure above them and the identity the testers start from. Those three lines settle most of the effort. DeepStrike provides manual cloud penetration testing across AWS, Azure and Google Cloud. If you are comparing providers, see our list of cloud penetration testing companies.
Mohammed Khalil is a Cybersecurity Architect at DeepStrike, specializing in advanced penetration testing and offensive security operations. With certifications including CISSP, OSCP, and OSWE, he has led numerous red team engagements, focusing on cloud security, application vulnerabilities, and adversary emulation. His work involves dissecting complex attack chains and developing resilient defense strategies for clients in the finance, healthcare, and technology sectors.

Stay secure with DeepStrike penetration testing services. Reach out for a quote or customized technical proposal today
Contact Us