Security with Amazon Web Services is mostly correct, boring defaults applied consistently. Here is the short list that removes most of the risk.
Safe defaults
- Scan IaC (tfsec/Checkov) for open buckets and wide security groups
- Enforce MFA, rotate credentials, and enable org-wide guardrails (SCPs)
Wire it into the pipeline
Authenticate from CI with OIDC, not stored keys.
permissions: { id-token: write, contents: read }
steps:
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::1234:role/ci
aws-region: eu-west-1Reinforcing habits
- Use SSO for humans and OIDC roles for CI - no static keys
- Write least-privilege IAM and manage everything via IaC
- Turn on CloudTrail, GuardDuty and budget alerts
Want senior help putting Amazon Web Services to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.