Skip to content

AWS Real-Time Dev to Pre-Prod to Production Deployment

Level:Intermediate
Time:2-3 hours
Cost:medium
Works locally:No
Cloud creds:Yes
Cleanup:No
Reviewed:2026-05-30
Validation:test -f buildspec.yml -a -f appspec.yml

Environment-isolated AWS deployment lab.

Outcome Passing pipeline run plus scan/deploy evidence
Tools used HTML, Nginx, CodeBuild, CodeDeploy, AWS, AWS CodePipeline
Best fit Intermediate - 2-3 hours
Student workstation Repository files CI/CD pipeline AWS account Validation proof
  • Install or review: HTML, Nginx, CodeBuild, CodeDeploy, AWS, AWS CodePipeline.
  • Use your own cloud account credentials and keep them out of commits.
  • This project expects cloud resources, so verify budget alerts and cleanup first.
  • Open the safety guide before running commands that create infrastructure.
Cost and credential stance

Cost risk is medium. Cloud target: AWS. Cloud credentials needed: Yes. Always use your own account, never commit secrets, and confirm cleanup before creating paid infrastructure.

Use this flow before you run commands:

  1. Read the cost and credential warning above.
  2. Review the validation, troubleshooting, cleanup, and portfolio proof sections below.
  3. Follow the original project guide preserved near the bottom of this page.
  4. Return to the validation and cleanup checks before you capture portfolio evidence.

Run the project validation command before and after meaningful changes:

Terminal window
test -f buildspec.yml -a -f appspec.yml
  • Run test -f buildspec.yml -a -f appspec.yml first so local tooling issues are visible early.
  • If a command fails, check tool versions, working directory, and required environment variables.
  • For cloud failures, confirm account identity, region, quotas, and least-privilege IAM.
  • For pipeline failures, check repository secrets, runner permissions, and pinned action versions.

No dedicated cleanup command was detected in the project README. Treat this as a warning: before provisioning anything, write down the exact delete, destroy, or rollback steps for your environment.

  • Validation command output: test -f buildspec.yml -a -f appspec.yml
  • Screenshot or terminal proof: Passing pipeline run plus scan/deploy evidence
  • Notes explaining what changed, what failed, and how you fixed it
  • Cleanup evidence, especially for cloud or Kubernetes resources

The original README content is preserved here for lab-specific commands and context. Headings are intentionally demoted so the page outline stays focused on the standard lab flow.

External image reference aws-devops
🛡️ 2026 DevSecOps Enhancements (What You Will Learn)
Section titled “🛡️ 2026 DevSecOps Enhancements (What You Will Learn)”

This project enforces the DevSecOps principle of Environment Isolation. Rather than deploying all stages (Dev, Pre-Prod, Prod) into a single VPC, modern 2026 architectures mandate strict separation using separate VPCs or, ideally, entirely separate AWS Accounts governed by AWS Organizations. This guarantees that a breach in the Dev environment cannot pivot laterally into Production.

Use the guide first.

The full learning flow stays on this page. Open GitHub only when a step asks you to inspect code, fork the lab, or download source assets.