Deployment Architecture: GitHub Actions & AWS OIDC

In this phase of the lab, we transitioned from manual S3 uploads to an enterprise-grade automated deployment pipeline.

Why AWS OIDC with GitHub Actions?

Key Components

  • AWS IAM OIDC Identity Provider: Configured with URL https://token.actions.githubusercontent.com and audience sts.amazonaws.com.
  • IAM Role Trust Policy: Allows sts:AssumeRoleWithWebIdentity conditioned on repo:techcoachralph/aws-s3-livestream-website-demo:*.
  • GitHub Actions Workflow: Uses aws-actions/configure-aws-credentials@v4 with permissions: id-token: write.
  • Amazon S3 Bucket: Configured for Static Website Hosting with public read policy or CloudFront Origin Access Control (OAC).
Back to Home