Search code examples
amazon-web-servicesamazon-ec2pipelineamazon-ecsaws-code-deploy

AWS Testing/Staging/Development Environment


I have some ready-made pipelines built using CodePipeline. Let's say I wish to link them to a testing environment (whether on EC2 or ECS). How can I achieve that?

I appreciate someone mentioning the steps/procedure from a high-level perspective.

So far I have tried the below: 1. Rerun the current pipelines on different branches prior to merging them to the main/working branch. 2. Create an EC2 instance to temporarily test the backend API


Solution

  • One can leverage Amazon ECS via creating a staging environment and link it to a testing domain hosted inside a zone on Route 53. Additionally, this staging environment can be linked to Amazon CodeSuite (CodeBuild and CodeDeploy w/ Code Pipeline).

    The same applies for EC2.