The cloud security misconfigurations to fix first: MFA, public storage, over-broad permissions, open ports, logging, keys and backups, in priority order.
In this article
The cloud security misconfigurations to fix first are the ones that expose data or hand over control: publicly readable storage, accounts without multi-factor authentication, over-broad permissions, open management ports, missing logging and unrotated access keys. Most cloud breaches involve a setting that was wrong or left at default, not a clever exploit, so a focused review of a handful of settings removes a large share of real-world risk.
Why misconfiguration is the usual culprit
Cloud platforms make it fast to create resources and just as fast to create them badly. A developer opens a storage bucket to test something, a database is given a public address for convenience, an administrator role is granted "temporarily". Under the shared responsibility model, the provider secures the underlying infrastructure but you are responsible for how you configure and use the services. If that idea is new, read the cloud shared responsibility model explained first. The checks below apply to AWS, Azure and Google Cloud alike, though the setting names differ, so confirm details in each provider's documentation.
The first ten fixes, in priority order
1. Multi-factor authentication on every human account
Start with the root or global administrator account, then all administrators, then everyone. A stolen password for a cloud administrator is the fastest route to total compromise. Keep the root account for emergencies only, with a strong unique password, hardware or passkey based MFA and no access keys. Use named accounts for daily work.
2. Publicly accessible storage
Object storage such as S3, Azure Blob and Google Cloud Storage is a classic source of data leaks. Block public access at the account or organisation level, then allow exceptions deliberately. Check every bucket and container, including old ones created for projects that ended. If something must be public, such as website images, keep it separate from anything private and review it periodically.
3. Over-broad permissions
Look for wildcard permissions, administrator roles given to services and users who changed teams but kept old access. Apply least privilege: a deployment pipeline needs to deploy, not to read every database. Remove unused roles and review who holds privileged access every quarter. This is the same idea behind zero trust, applied to cloud identity.
4. Management ports open to the internet
SSH (port 22), RDP (port 3389) and database ports should rarely be open to the whole internet. Restrict by source address, or better, use a bastion service, session manager or VPN so no inbound administration port is exposed at all. Search security group and firewall rules for 0.0.0.0/0 on anything that is not a public web port.
5. Databases and internal services reachable from outside
Databases, caches, message queues and admin consoles belong in private networks, reachable only from the applications that need them. Confirm that managed database instances are not publicly addressable, and that default or empty credentials are not in use.
6. Logging and alerting switched off
If you cannot see what happened, you cannot investigate. Enable the provider's audit logs for management actions (CloudTrail, Azure Activity Log, Cloud Audit Logs), store them in a separate protected location, and set a retention period that matches your needs. Alert on high risk events such as new administrator roles, disabled logging, or logins from unusual places. See monitoring and alerting for how to avoid noisy alerts.
7. Long-lived access keys and leaked secrets
Static keys in code, configuration files or chat messages are routinely harvested by automated scanners. Prefer short-lived credentials and workload identities, store secrets in a managed secrets service, and rotate or delete old keys. Our guide to CI/CD secrets management covers how to do this in pipelines.
8. Unencrypted data
Turn on encryption at rest for storage, databases and backups, and require TLS in transit. Most providers make this a checkbox, but older resources may have been created without it. Decide who controls encryption keys and who may use them.
9. Unmanaged resources and sprawl
Forgotten virtual machines, test environments and unused accounts are unpatched and unwatched. Use tagging to record owners and purposes, and review anything without an owner. Bonus: this overlaps with cost clean-up, as described in cloud cost optimisation.
10. Backups that cannot save you
Check that backups exist, are stored separately from the system they protect, are protected from deletion by the same compromised account and have been restored in a test. See the 3-2-1 backup rule and why untested backups fail.
Quick reference table
| Misconfiguration | What can go wrong | Typical fix |
|---|---|---|
| No MFA on admins | Account takeover, full control | Enforce MFA, protect root |
| Public storage | Data leak | Block public access, review each bucket |
| Wildcard permissions | Small compromise becomes large | Least privilege, regular review |
| Open SSH or RDP | Brute force, exploitation | Restrict sources, use bastion or session manager |
| Public database | Data theft, ransom | Private network, firewall rules |
| No audit logs | No evidence after an incident | Enable, centralise, alert |
| Static access keys | Leaked credentials reused | Short-lived credentials, secrets manager |
How to find these issues in your own account
- Use the provider's built-in tools. Each major platform offers a security posture or advisor service that flags many of the items above. They are a good first pass.
- Look at identity first. List administrators, roles with wildcard permissions and keys older than your rotation policy.
- List everything internet facing. Public IP addresses, load balancers, storage and databases. Question each one.
- Compare against a benchmark. The CIS Foundations Benchmarks for each cloud, and the provider's own well-architected security guidance, are standard references.
- Define it in code. Once fixed, describe the correct state in infrastructure as code so it does not drift. Our Terraform basics article is a starting point, and policy checks can stop a bad change before it is deployed.
- Repeat. Configuration drifts. Schedule the review, or feed it into your vulnerability management routine.
Common mistakes
- Fixing the symptom, not the process. If anyone can create a public bucket, someone will. Use guardrails such as organisation policies that prevent it.
- Assuming default settings are secure. Defaults vary by service and age. Verify.
- Ignoring non-production accounts. Attackers do not care that it is a test account if it contains real data or connects to production.
- Granting admin to speed up a project. Temporary access should expire automatically.
- No owner for cloud security. If it belongs to everyone, it belongs to no one.
The Irish and EU angle
If your cloud resources hold personal data, GDPR expects appropriate technical and organisational security, and a misconfigured store that exposes personal data may be a personal data breach with notification duties. Where data is stored and who can access it also matters for international transfers, covered in GDPR international transfers. Check current guidance from the Data Protection Commission and NCSC Ireland. This is not legal advice.
A word on safe change
Security fixes can break things that quietly depended on a weak setting. Before closing a port or tightening a role, check recent access logs to see what actually uses it, announce the change to the teams involved and apply it in a test environment first where you can. Make one change at a time, keep a record of the previous value and have a rollback ready. This discipline lets you move quickly on the urgent items without causing an outage that makes people resist the next round of fixes.
What to do next
- Enforce MFA on all administrators and secure the root account today.
- Enable account level blocking of public storage access and review exceptions.
- List internet facing resources and close any management or database port that does not need to be open.
- Turn on audit logging to a protected location.
- Run the provider's posture tool and fix the high findings.
If you would like help with this, the CloudWiss team in Dublin can talk it through, from a configuration review to setting up guardrails. See our cyber security services and, for the platform side, our cloud and DevOps services.
Share this article
General educational information, not legal or professional advice for your specific situation.
