AWS is a broad public cloud spanning compute (EC2, ECS, EKS, Lambda), storage (S3, EBS), networking (VPC) and hundreds of managed services - best operated declaratively with IaC and least-privilege IAM.
Why teams use it
- The widest set of managed services and regions
- Deep IAM and networking controls for secure platforms
- First-class IaC support via Terraform and CloudFormation
Install it
curl 'https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip' -o awscli.zip
unzip awscli.zip && sudo ./aws/install
aws configure sso # prefer SSO over long-lived keysA first working config
A least-privilege S3 read policy as Terraform.
data "aws_iam_policy_document" "read_assets" {
statement {
actions = ["s3:GetObject"]
resources = ["arn:aws:s3:::acme-assets/*"]
}
}
resource "aws_iam_policy" "read_assets" {
name = "read-assets"
policy = data.aws_iam_policy_document.read_assets.json
}Run and verify
aws sts get-caller-identity
aws s3 ls
aws eks update-kubeconfig --name prod --region eu-west-1Mistakes to avoid early
- Long-lived access keys instead of SSO/OIDC roles
- Over-broad IAM policies with wildcard actions and resources
- Public S3 buckets and security groups open to 0.0.0.0/0
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.