Dear @raymond.baoly
I hope you are doing well.
I am currently working on a lab task on the KodeKloud platform, and I have encountered an issue that is preventing me from completing the task successfully.
The task name: AWS Level 4 Task 6 : Deploying Containerized Applications with AWS ECS issue
I have carefully followed the given instructions, but the result does not match the expected outcome. I have also tried to troubleshoot the issue, but the problem still persists.
Could you please check and assist me with this issue?
Thank you in advance for your support.
Hi @azer.chelebiyev
Try referring to this solution and see if it helps.
Hi @Santosh_KodeKloud
Task requirements are not same
Latest action execution message
The provided role does not have sufficient permissions to access S3
I have provided s3 full access.
The names used will be different – they’re randomized. Just change the names to match the task description.
Hi @rob_kodekloud
Could you help me related this task?
The solution Santosh recommended is a good place to start – I’ve tried it, and it works. You just need to edit the variables to match the ones in your specific version of the task. Try it, it works.
Dear @rob_kodekloud
The requirements of the task are as follows:
- Create an ECR repository named
nautilus-ecr-repo for storing Docker images.
- Create a private S3 bucket named
nautilus-app-1718 with versioning enabled, to store the Python Flask application’s source code, the source code is available on AWS client host under /root/pyapp.zip. Upload /root/pyapp.zip file to the bucket.
- Create an ECS cluster named
nautilus-ecs-cluster, a service named nautilus-ecs-service and a task definition named nautilus-ecs-task. Also configure it to use an application load balancer named nautilus-ecs-alb along with a target group named nautilus-ecs-tg so that the application can be accessible via the Load Balancer’s DNS URL.
- Set up a
CodeBuild named nautilus-build-project and a CodePipeline named nautilus-pipeline with three stages: Source, Build, and Deploy. The Source stage must pull the source code from s3 bucket, the Build stage must build the Docker image and push it to the ECR repo, and the Deploy stage must deploy the newly built image to the ECS cluster.
Hello,
This task has been resolved.
Thank you for support.