Комментарии:
For anyone getting this error: CannotStartContainerError: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: process_linux.go:338: getting the final child's pid from pipe caused: read init-p: connection reset by peer: unkno
The cause is there's not enough memory assigned for your Task. If you followed along to the video, in task definition, change memory from 1 to 512 and CPU to 512 as well. Hope it helps
What was the policy document for?
I didn't need to use it ... ?
Super nice....thanks, vey useful, especially the task definition part.
Ответитьwow, this skipped over more things than a kangaroo on a trampoline. Didn't even show where he copied the cli commands from!
ОтветитьIn the new UI we can't select a host port. How can I make it like 8888:5000?
ОтветитьIf I use fargate, does it mean I don't need to define any EC2/ECS ? Thanks.
ОтветитьWhat did you change at 12.33 to make your task run
ОтветитьAwesome video ++++++++++++ 🙂
ОтветитьCan you please share the flask/python code so we can completely follow along? That's be super helpful.
ОтветитьFor me it says SSL_ERROR_RX_RECORD_TOO_LONG when I try to access port 8888. What could be the issue here?
ОтветитьCould you please share the source code. it would be helpful to all.
ОтветитьNice. You've explained in less than 20 minutes what takes hours of crawling over terrible AWS documentation.
ОтветитьAwesome!
Ответитьi am getting this error
Stopped reason
Essential container in task exited. Do u know about this error.
Thank you Sir Very much for your guidance
ОтветитьMy task was stuck at provisioning
Ответитьwonderful tutorial!!!!!!
ОтветитьGreat tutorial, thank you.
ОтветитьThis is a great tutorial! Thank you very much.
It'll be great to see this being done using a CI/CD pipeline!
Thank you. Extremely helpful info.
ОтветитьTutorial also works for running serverless Fargate tasks (at least in Nov'22 🙂).
ОтветитьThank you for the great tutorial! Based my observation and the time of this video, I guess you were using an Intel Mac?
For anyone also on M1 chip Mac: I use Apple M1 chip Mac and it creates ARM64 image by default. It’s not runnable on EC2 t3.micro instance.
If you still want to run the an ARM64 image with EC2, you’ll need to select instances powered by Graviton, for example t4g.micro, which can run ARM64 workload. OR you need to run `docker buildx build` to build an amd64 image at the beginning.
Thank you! We should petition to put these type of videos on the documentation and pay the salary of the stupid fucker who wrote the documentation to these guys instead.
ОтветитьThe cat gifs make everything worth it
ОтветитьPlease do one showing how to run a private registry.. :(
Ответитьway too complex.
ОтветитьGreat intro for me
ОтветитьThanks
ОтветитьThanks for this awesome tutorial!
For anyone actually trying to deploy some kind of code that needs to be built on the machine, please take EXTRA care in making sure that the instance type has more than enough memory to actually build the app and start it properly. Figured this out only after ssh-ing into the EC2 container and interactively running commands on the docker image to try and manually build the project
I have followed the steps until a cluster was created but I haven't got an active EC2 instance.
Ответитьluv it
ОтветитьGreat video - really helps with understanding ECR, ECS and EC2. 😀
ОтветитьThe video was very helpful. Thanks for sharing such a great content. But it is confusing the part you call the image and the repository 'test', having them with the same name makes the watcher confused if they are using other names.
ОтветитьLove your video!! Thanks!!..quick and easy !...with no garbage! God Bless you!
You won one subscriber!
so freaking angry. just "essential container in task exited" and thats it. task definition just STOpped all the time
ОтветитьAfter I create my cluster successfully without any errorsI do NOT have any running EC2 instances. no idea why...
ОтветитьI have a doubt here, what is the need to create a service when a task can do the work just fine? thanks in advance.
ОтветитьTo anybody using an M1 Mac and getting "(Essential container in task exited)" error, I realized I was building with arm64 and the architecture of the ECS Cluster is AMD64. To solve this issue, use "docker buildx build --platform linux/amd64 -t app ." and then tag it again and publish it to the repository. Wasted one hour on this.
ОтветитьPart about VPC very helpt, thank you very very much!
ОтветитьIf it possible to get a "ssh key .pem file" by this method??
ОтветитьMahnn, you was dishing out the info hitting me like arrows, had a take nap to recover from the information overload.
ОтветитьJjjjjjjjjjjjjjjjjjjjjjjjjjj
ОтветитьThanks for this it was exactly what I was looking for to learn about ECS. Great tutorial!
ОтветитьYou sir are a lifesaver! I've been trying to figure this out for a week.
I do have a question. I created the ECS cluster but i don't see any ECS instances, even though i have an image pushed to ECR. Any idea what i'm missing?