Description

Hands-on Challenge Day - CI/CD with Docker on AWS using CodeCommit

Introduction

Challenge Scenario

Let's consider a scenario where InnovateTech, a tech startup, is developing a new web application aimed at providing innovative solutions to common business problems. They have decided to use AWS for their infrastructure needs, specifically focusing on implementing a CI/CD pipeline to automate their deployment process using Docker, AWS CodeCommit, AWS CodeBuild, and Amazon ECS.

Problem Statement: InnovateTech's development team is spending too much time on deployment processes, which is slowing down their ability to deliver new features. They need a streamlined process that automates builds, tests, and deployments, allowing them to focus more on development and less on operational tasks.

Your Mission: Create a CI/CD pipeline using AWS CodeCommit, AWS CodeBuild, and Amazon ECS to automate the process of building, testing, and deploying a Dockerized web application.

Challenge: Automating Web Application Deployment with Docker on AWS

Prerequisites

Initial Setup

Create a Cloud9 instance

Navigate to Cloud9 service and create a new Cloud9 instance called innovate

Part 1: Creating the ECS Cluster, AWS Code Commit and ECR repository

Creating the ECS Cluster

Creating the CodeCommit repository