Blog space
Cloud Security and the Shared Responsibility Model – Where AWS, Azure and GCP End and You Begin
In this article you will read:
-
What cloud security and shared responsibility mean
-
Most common cloud misconfigurations
-
How to maintain control and compliance in cloud environments
Updated: 20 October 2026
What is the Shared Responsibility Model in cloud security? The Shared Responsibility Model is the division of security accountability between a cloud provider (AWS, Azure, GCP) and the customer. The provider is responsible for security “of the cloud” – physical data centres, the hypervisor, physical networking, and hardware. The customer is responsible for security “in the cloud” – data, identity configuration, service configuration, encryption choices, access control, and monitoring.
IBM Cost of a Data Breach Report 2024 found that breaches spanning multiple environments (multi-cloud and hybrid) cost an average of USD 4.75 million – not because AWS is insecure, but because S3 buckets are left public, Security Groups allow 0.0.0.0/0 inbound access, and IAM roles carry AdministratorAccess for production services. The most expensive cloud security mistakes are organisational, not infrastructural.
Cloud security – at a glance:
- Gartner forecasts that through 2025, 99% of cloud security incidents will result from customer error rather than provider infrastructure failures – the primary vector being misconfiguration that is invisible to the standard subscription price
- Enabling S3 Block Public Access at the AWS account level (not only per bucket) is a single configuration change that eliminates an entire class of breach – responsible for thousands of customer data exposures globally
- PCI DSS v4.0.1 applies identically to cloud resources as to on-premises – Security Groups are the firewall control from Requirement 1.2, IAM policies are the access control from Requirement 7; a QSA will request a Security Group export during the assessment
- AWS CloudTrail must be enabled in ALL regions and for ALL services within the CDE – partial logging coverage is both a compliance gap and a detection gap for the SIEM
- RDS encryption at rest and in transit requires deliberate enablement – PCI DSS Requirement 3.5 applies to RDS databases in exactly the same way as to on-premises servers
- Patronusec, as an accredited QSA, conducts scope assessments and PCI DSS assessments for AWS, Azure, and GCP environments – mapping cloud controls to specific PCI DSS v4.0.1 requirements from the first day of the engagement
Table of Contents
How does the Shared Responsibility Model differ across IaaS, PaaS, and SaaS?
| Layer | IaaS (EC2, Azure VM) | PaaS (RDS, App Service) | SaaS (Microsoft 365, Salesforce) |
|---|---|---|---|
| Physical data centre and hardware | Provider | Provider | Provider |
| Hypervisor | Provider | Provider | Provider |
| Operating system and patching | Customer | Provider | Provider |
| Virtual network configuration (VPC, Security Groups) | Customer | Customer | Customer |
| Identity management (IAM) | Customer | Customer | Customer |
| Data encryption | Customer | Shared | Shared |
| Access permission configuration | Customer | Customer | Customer |
| Customer data | Customer | Customer | Customer |
The practical consequence for PCI DSS:
Migrating from on-premises to AWS RDS (PaaS) removes your responsibility for patching the database operating system – but does not remove your responsibility for: Security Group configuration controlling access to RDS, encryption at rest and in transit, access management, query monitoring and logging. All of these are PCI DSS requirements that remain firmly with the customer in every cloud model.
What are the most costly cloud misconfigurations in AWS, Azure, and GCP?
Misconfiguration 1: Public S3 buckets (or Azure Blob / GCS buckets)
Thousands of data breaches have resulted from a bucket with accidentally changed public access settings. Application logs, backups, and customer data made accessible without authentication.
Fix: enable AWS S3 Block Public Access at the account level (not per bucket). Add an AWS Config Rule that continuously monitors for public access and alerts immediately.
Misconfiguration 2: Security Groups with inbound 0.0.0.0/0 on ports 22 or 3389
SSH and RDP open to the entire internet – an open invitation for brute-force bots and vulnerability scanners. The rule was added “temporarily during troubleshooting” and never removed.
Fix: use AWS Systems Manager Session Manager (zero open SSH/RDP ports), a VPN, or a bastion host restricted to specific IP addresses. Add an AWS Config Rule alerting on any inbound 0.0.0.0/0 rule on administrative ports.
Misconfiguration 3: IAM roles with AdministratorAccess for application services
A Lambda function sending email notifications has AdministratorAccess. A web server EC2 instance has AdministratorAccess. Compromising any service means full account takeover.
Fix: apply least privilege to every service. A Lambda function sending email: ses:SendEmail and nothing more. Use AWS IAM Access Analyzer to detect overly permissive policies continuously.
Misconfiguration 4: Unencrypted RDS instances
Encryption at rest for RDS must be enabled at instance creation – an existing unencrypted instance cannot be encrypted in place; it requires a snapshot and restore to a new encrypted instance. Snapshots inherit the encryption state of the source.
Fix: encryption at rest mandatory for all RDS instances in the CDE. Force TLS for connections (rds.force_ssl=1 for PostgreSQL, require_secure_transport=ON for MySQL).
Misconfiguration 5: Incomplete CloudTrail coverage
CloudTrail logs API calls only in the regions where it is enabled, by default. A multi-region trail is required when CDE infrastructure spans multiple regions.
Fix: CloudTrail multi-region trail with log file integrity validation enabled, and S3 Object Lock on the log bucket to prevent deletion.
Patronusec Insight: In cloud environment assessments conducted as part of PCI DSS and ISO 27001 engagements, finding Security Groups with inbound 0.0.0.0/0 on administrative ports is the norm, not the exception. Not because IT teams are careless – but because a “temporary” rule added during an incident has no removal process without a formally reviewed change management procedure. A single AWS Config Rule with automated alerting takes an hour to configure and eliminates an entire risk class. As part of our scope assessment engagements, we map the CDE in cloud environments and configure continuous compliance controls before the QSA identifies the same issues during Stage 1.
Not confident that your AWS, Azure, or GCP environment is correctly configured for PCI DSS or ISO 27001?
Patronusec conducts cloud security assessments – reviewing Security Group configuration, IAM policies, CloudTrail coverage, encryption settings, and CDE segmentation. Gap report with priorities delivered within 10 working days.
Book a cloud security assessment
How does PCI DSS v4.0.1 apply specifically to AWS resources?
Requirement 1 (network and firewalls):
AWS Security Groups = firewall controls. VPC = network. Subnet = network segment. The QSA will request an export of Security Group configurations for the CDE and verify that rules are minimal and have documented business justifications. No 6-monthly firewall rule review = a finding.
Requirement 3 (data at rest):
AWS KMS + RDS encryption + S3 Server-Side Encryption = encryption at rest. The QSA will verify KMS key configuration and encryption settings on every CDE resource. An unencrypted RDS instance in the CDE = a finding.
Requirement 7 (access control):
AWS IAM policies = access control. The QSA will review IAM policies for all principals (users, roles, groups) with access to CDE systems. AdministratorAccess for production services = a finding.
Requirement 10 (logging):
CloudTrail + CloudWatch = logging infrastructure. CloudTrail must cover all regions containing CDE infrastructure. Retention: minimum 12 months (S3 Standard for the first 90 days, then S3 Glacier via lifecycle policy). Incomplete regional coverage = a finding.
Patronusec Insight: Organisations migrating from on-premises to AWS often assume the CDE scope has shrunk after the migration. In practice, the scope frequently grows: additional services supporting the payment application – Lambda functions for notifications, API Gateway, SQS queues – may be connected-to the CDE and subject to PCI DSS requirements. In our scope assessment engagements, we map every AWS service in the payment application architecture and determine which is in-scope, connected-to, or out-of-scope. This assessment before Stage 1 eliminates surprises when the QSA reviews the architecture for the first time.
FAQ – Cloud Security and the Shared Responsibility Model
Does AWS’s SOC 2 or ISO 27001 certificate cover my PCI DSS obligations?
No. AWS’s certificates cover the layers for which AWS is responsible (infrastructure security). Your application, data, configuration, and access management remain your responsibility. Download the AWS PCI DSS Compliance Package from AWS Artifact and build a Responsibility Matrix showing what AWS covers and what remains with you as the customer.
What should CDE segmentation look like in AWS for PCI DSS?
A dedicated VPC for the CDE (or a dedicated AWS account), Security Groups restricting traffic to the minimum required ports and source IP addresses, and NACLs as an additional network layer. Segmentation must be technically verifiable – a QSA expects penetration testing results confirming that traffic between CDE and non-CDE segments is blocked, not merely a network diagram asserting that it is.
How long should CloudTrail retention be for PCI DSS?
Under PCI DSS v4.0.1 Requirement 10.5.1, audit logs must be retained for at least 12 months, with the most recent three months immediately available for analysis. In cloud environments, organisations must ensure these retention requirements are met in accordance with their shared responsibility arrangements.
Does migrating to Stripe or a similar PSP eliminate PCI DSS obligations?
Partially. If Stripe or a similar provider handles the complete checkout experience and your systems never see the PAN, the scope reduces dramatically (potentially to SAQ A with approximately 22 questions). If your systems collect card data and pass it to Stripe, those systems are in the CDE and subject to the full PCI DSS requirements.
How does Patronusec conduct cloud security assessments?
We conduct a cloud-specific scope assessment: mapping resources to the CDE, reviewing Security Group exports, performing IAM policy analysis via AWS IAM Access Analyzer, checking CloudTrail regional coverage, verifying RDS and S3 encryption configuration, and technically testing network segmentation. We deliver a gap report with priorities and documentation ready for the QSA Stage 1 review.
How much does a cloud security assessment cost with Patronusec?
Pricing depends on the complexity of the cloud environment (number of regions, AWS accounts, services in the CDE) and the regulatory scope (PCI DSS, ISO 27001, or both). After a free 30-minute scope-assessment call, we provide a fixed-price quotation with a guaranteed delivery timeline.
Cloud security – free consultation
Patronusec, as an accredited QSA, conducts scope assessments and PCI DSS assessments for AWS, Azure, and GCP environments across the UK and EU – with experience in fintech, e-commerce, and retail.
In a free 30-minute consultation we will help you:
- Assess your CDE scope in the cloud environment and identify connected-to resources
- Identify high-risk configurations (Security Groups, IAM, CloudTrail) requiring remediation before Stage 1
- Explain how the Shared Responsibility Model maps to specific PCI DSS v4.0.1 requirements
- Recommend continuous compliance monitoring tools appropriate for your cloud stack (AWS Config, Security Hub, Azure Policy)
Free consultation | PCI DSS certification | Gap analysis | Penetration testing | vCISO