Deploy the Frontend Pipeline

Let’s bring up the Frontend Rails application!

Copy/Paste the following commands into your Cloud9 workspace:

cd ~/environment/ecsdemo-frontend
mu pipeline up -t $GITHUB_TOKEN

The output will include warning lines about IAM. These can be safely ignored since we aren’t building the environment with this pipeline.

This will take 5 minutes to create the pipeline.

After the CodePipeline is built, watch it run. Once it runs, check for deployed tasks in your ECS cluster.

You can watch the pipeline steps in the terminal:

mu svc show -w -t

You can also follow the pipeline logs:

mu pipeline logs -f

And follow the task logs:

mu svc logs -f acceptance

This will take 10 minutes for the pipeline to build and deploy the application.