From the course: AWS DevOps: Continuous Docker Deployment to AWS Fargate from GitLab

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Testing the pipeline

Testing the pipeline

- [Instructor] From the EC2 Dashboard, click on Load Balancers. Select the load balancer that you had used for your ECS service, and under DNS name, click the copy button. In a new browser tab, type http://, paste in the DNS name for your application load balancer, and then add a /graphql to the end of it and hit enter. Our Fargate containers are serving a GraphQL endpoint. And so you can test this by putting into the left hand query editor, right at the very bottom, curly brace, hello, and then a closing curly brace. And then hit the run button at the top. This will return to you the only response that we have programmed into this GraphQL service. Let's change that response message and see if our pipeline is working. To test out our pipeline, open up the server.js file that's in your cloned repository. You'll see a line in there that says, return 'Hello world!'. Let's change that message. Before the closing single quote, add, This is a change from GitLab, and then save the file and…

Contents