Hi, thank you so much for the detailed work. It really helps a lot & one question at 15:05 line 8 there with ecr login we are exposing some credentials to login to the ECR Image, do we need to use env. variable for those data or exposing them is safe. Thanks!
Thanks for the feedback. You should never store/mention credentials in the code. Please try using env variables. Most secured way will be using aws secret manager or any other 3rd party vault service.
Thx for the vid, it helped me a lot but I have a question. Everytime we do a Deploy the IP adress is going to change, how do we call the API in the frontend of the application then? Do you have a video teaching how to build a API gateway or a ALB for this specific case?
Thanks for the feedback. I have not created video on this specific case. But i do have videos on ALB: ruclips.net/video/c4DeyLesQr8/видео.htmlsi=7OGLwipYb06IfKsw ruclips.net/video/joYSji0cKCo/видео.htmlsi=Wz6_UxdVOTqNIahD But you have suggested good topic. I will soon create tutorial on it.
I keep on having this error at Step 3, when I try to add a service: There was an error deploying spring-demo-service Resource handler returned message: "Error occurred during operation 'ECS Deployment Circuit Breaker was triggered'." (RequestToken: 3a3c79ab-388a-3f41-41f3-4fb1c169d1fb, HandlerErrorCode: GeneralServiceException)
Hi brother, so far so good but I've had an error with the codedeploy. Is there any reason why it says my container doesn't exist? I have made sure in the buildspec that the ecr repo uri has the same container name.
I had the same issue, was able to pick up the container name is different from the repository name. Use the container name defined under the task definition, it worked for me once I used it.
Hi Bro anything needs to be tweaked? => ERROR [2/3] RUN apk add --no-cache curl 0.1s ------ > [2/3] RUN apk add --no-cache curl: 0.136 /bin/sh: 1: apk: not found ------
Error while executing command: mvn clean install. Reason: exit status 1 Error while executing command: docker push $REPOSITORY_URI:latest. Reason: exit status 1 i m facing these errors in Step 2
The best video am looking for, successfully setup the demo CICD pipeline. Kudos 😍
Thanks for the feedback
Todays options on AWS console are little different, in couple of configs - but 98% of the video works AS IS.
Loved It!!!!!
Thanks for the feedback.
Excellent..!! followed all the steps and able to run it successfully.. thanks a lot mate.. you are helping a lot...
Thanks for the feedback.👍
This the best video on CICD. Excellent.
Thanks for the feedback.
Hi, thank you so much for the detailed work. It really helps a lot & one question at 15:05 line 8 there with ecr login we are exposing some credentials to login to the ECR Image, do we need to use env. variable for those data or exposing them is safe. Thanks!
Thanks for the feedback. You should never store/mention credentials in the code. Please try using env variables. Most secured way will be using aws secret manager or any other 3rd party vault service.
Very good demo.. I liked it as you have shown the steps very clearly.. thanks..
Thanks for the feedback.
Great lesson!
Thx for the vid, it helped me a lot but I have a question. Everytime we do a Deploy the IP adress is going to change, how do we call the API in the frontend of the application then? Do you have a video teaching how to build a API gateway or a ALB for this specific case?
Thanks for the feedback. I have not created video on this specific case.
But i do have videos on ALB:
ruclips.net/video/c4DeyLesQr8/видео.htmlsi=7OGLwipYb06IfKsw
ruclips.net/video/joYSji0cKCo/видео.htmlsi=Wz6_UxdVOTqNIahD
But you have suggested good topic. I will soon create tutorial on it.
It is really good stepwise details 👍
Thanks for the feedback.
I keep on having this error at Step 3, when I try to add a service:
There was an error deploying spring-demo-service
Resource handler returned message: "Error occurred during operation 'ECS Deployment Circuit Breaker was triggered'." (RequestToken: 3a3c79ab-388a-3f41-41f3-4fb1c169d1fb, HandlerErrorCode: GeneralServiceException)
this is an awesome video thanks a lot! what if i want to specify the version of the task definition i want to use?
There option to select revision while selecting a task definition (in the process of creating service)
Is there any action on CI/CD to promote legal automation of ECS?😁
Could you please elaborate.
Thank You. This is very useful. 👃
Thanks for the feedback.
Hi brother, so far so good but I've had an error with the codedeploy. Is there any reason why it says my container doesn't exist? I have made sure in the buildspec that the ecr repo uri has the same container name.
I’m not sure, check if there is proper IAM role/permission assigned in your deployment.
I had the same issue, was able to pick up the container name is different from the repository name. Use the container name defined under the task definition, it worked for me once I used it.
can we work on springboot application only without adding any dependencies to that
Dependencies required for REST controller and sending application health metrics from application.
what if we use docker compose?
You can use docker-compose command if you add docker-compose.yml file
Thank you, brother.
👍
Can I use a different application with your pipeline since I am not familiar with Java.
Yes you can use any application. You will have to use docker commands in Dockerfile according to your application.
Hi Bro anything needs to be tweaked?
=> ERROR [2/3] RUN apk add --no-cache curl 0.1s
------
> [2/3] RUN apk add --no-cache curl:
0.136 /bin/sh: 1: apk: not found
------
Can you elaborate more
great video
Thanks for the feedback
Thanks !
👍
Error while executing command: mvn clean install. Reason: exit status 1
Error while executing command: docker push $REPOSITORY_URI:latest. Reason: exit status 1
i m facing these errors in Step 2
I am getting Error like connection refuse to connect(Communication failure ) when I try to run the image in docker -run
Please check ports you are using. Run docker command with port e.g “docker run -p 8080:8080 your-image-name”. Change port here accordingly
It's failing on step 5 of Dockerfile:
=> ERROR [3/3] ADD target/springboot-aws-deploy-service.jar springboot-aws-deploy-service.jar
Check your jar name. May be check version name in build.gradle file .