Access the ECS service, select the FCJ_Cluster cluster, go to Services, select FCJ_Service, then Delete service and confirm Delete.
After deleting the service, select Delete cluster to delete the cluster, confirm and press Delete.
Access the CloudFormation service, confirm that all stacks with names related to FCJ_Cluster have been successfully deleted.
Access the CodePipeline service, select the FCJ_Pipeline pipeline and Delete pipeline.
Select CodeCommit on the left menu, select the FCJ_Repo repo and Delete repository.
Select CodeBuild on the left menu, select the FCJ_Build_Project project, then select Action and Delete.
Access the S3 service, select the codepipeline-… bucket and delete the FCJ_Pipeline folder. You can choose to keep this bucket to deploy other pipelines later or completely delete this bucket.
Access the ECR service, select the fcj_image_repo repo and Delete.
Access the IAM service, go to Roles and search for codebuild, select the codebuildFCJ… role and Delete.
Repeat deleting steps with role ecsTaskExecutionRole.
Repeat deleting steps with role AWSCodeDeployRoleForECS.
Access the EC2 service, go to Load balancers, select FCJ_ALB, then Actions and Delete load balancer.
Continue on the EC2 console, go to Target groups, select FCJ_TG, then Actions and Delete.
Access the VPC service, go to Subnets, select 3 subnets fcj-subnet-…, then Actions and Delete subnet.
Continue on the VPC console, go to Security groups, select FCJ_SG, then Actions and Delete security groups.
Access the CloudWatch service, go to Log groups, select group aws/codebuild/FCJ_Build_Project, then Actions and Delete log group(s).