A beginner-friendly live demo showing one pull-request merge become a deployed website through GitHub, AWS CodePipeline, CodeBuild, private Amazon S3, and CloudFront.
- Open a prepared PR that changes
demo/app.jsfrom v1 to v2. - Merge the PR into
main. - AWS CodeConnections detects the new commit.
- CodePipeline runs Source → Check → Deploy.
- Refresh the CloudFront URL and reveal the new website.
CloudFormation quick-create requires the template to be hosted in Amazon S3. The organizer runs this once in AWS CloudShell:
AWS_REGION=us-east-1 bash scripts/publish-launch-template.shThe script validates and publishes the template, then prints a ready-to-share Launch Stack URL and Markdown button. See docs/one-click-deployment.md. Stack creation still requires review plus the one-time GitHub authorization handshake.
Use AWS CloudShell in us-east-1:
curl -fsSL "https://raw.githubusercontent.com/Fsociety-Bulc/AWSSCDWorkshop/refs/heads/main/infra/template.yaml" -o /tmp/awsscd-workshop.yaml && aws cloudformation deploy --stack-name aws-scd-workshop --region us-east-1 --template-file /tmp/awsscd-workshop.yaml --capabilities CAPABILITY_IAMAfter deployment, open the stack Outputs:
- Open
ConnectionSetupUrl, selectawsscdworkshop-github, and choose Update pending connection. - Authorize the AWS Connector for GitHub app for
Fsociety-Bulc/AWSSCDWorkshop. - Open
PipelineConsoleUrland choose Release change once for the initial deployment. - Open
WebsiteUrlafter Source, Check, and Deploy are green.
The connection authorization is a one-time human trust decision. Every later merge to main starts the pipeline automatically.
demo/— static website changed during the workshopbuildspec.yml— CodeBuild validation and packaginginfra/template.yaml— complete AWS environmentscripts/bootstrap.sh— optional AWS CLI deploymentscripts/destroy.sh— bucket cleanup and stack deletiondocs/demo-runbook.md— timed PR-merge demo instructionsslides/anddist/— presentation sources and exports
node --check demo/app.js
npm ci
npm run buildAWS_REGION=us-east-1 bash scripts/destroy.shCloudFront deletion can take several minutes. AWS services used by this workshop may incur charges, so delete the stack after the event.
MIT. AWS and GitHub names and marks belong to their respective owners.