Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Building a CI/CD Pipeline on AWS: Deploying a Dockerized 2048 Game with CodePipeline, CodeBuild, ECR, and ECS Fargate

* By Rashid • Tags: aws, devops, docker, cicd * I built a complete CI/CD pipeline on AWS: every git push to GitHub now builds a Docker image and deploys it to the cloud automatically, with no manual steps. In this post I’ll walk through what I built, the errors I hit, and how I fixed them. The errors taught me more than the happy path did. The problem CI/CD solves Without automation, deploying…

Rashid demonstrates a complete CI/CD pipeline on AWS, automating the deployment of a Dockerized 2048 game game from GitHub to the cloud. This eliminates the need for manual steps and ensures consistent releases. The pipeline involves GitHub pushing code, triggering CodePipeline, which in turn runs CodeBuild to build and push a Docker image to Amazon ECR.

The image is then deployed to an ECS Fargate service, which runs the container without the need for managed servers. Security roles and permissions are crucial, such as allowing CodeBuild to pass its role to CodePipeline. The source code, buildspec.yml, must be customized with correct account ID and region values, as well as using a buildspec file instead of inserting build commands.

Proper IAM policies are needed for services to hand roles to each other, and care must be taken not to expose sensitive information like access keys. Once the pipeline is in place, a single git push updates the live site with new changes, proving the effectiveness of this automated system. For production use, further enhancements like HTTPS load balancing, image tagging for rollbacks, automated testing, and infrastructure as code with Terraform are recommended.

After completing this project, Rashid plans to rebuild it using Terraform and GitHub Actions to compare different approaches.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

More from Dev.to on urgent.news

Get the news by email. Yesterday's most-covered stories, every morning.

See today's edition · More options

More in Tech

Twelve small sites, one developer: live cameras, public data, and the boring parts that keep them alive

I run a small portfolio of sites on my own: travel live-camera maps, job and learning portals built on public data, a regional real-estate listing site, and a local MCP server that connects a Chrome…

  • Live cameras on 12 small sites maintained for constant availability
  • Travel sites offer real-time public live cameras on a map
  • Mato MCP server connects Chrome browser to AI applications locally

When Enforcing TLS 1.3 Broke Our CI Builds

Originally published on Medium: https://medium.com/@seshikanthguduri/when-enforcing-tls-1-3-broke-our-ci-builds-d0b026e699eb The registry got more secure. The builds got red.

  • Enforcing TLS 1.3 on artifact registry broke CI builds
  • Registry tightened requirements to TLS 1.3, dropped older versions
  • Fix involved setting TLS client protocols and updating upload scripts

More from Sunday, 6 December 2026 →