Nice video. Just 1 advice, if a person is viewing this topic, it means he/she already knows how to setup a basic django project. Yes? So instead you can directly jump to the point.
Hi Karan, Thank you for your feedback. I'm glad that you enjoyed the video. Some people enjoy structure and to follow-along irrespective of whether they understand an easy or hard topic. And yes you are correct, there are those that want to get straight to the point. This is why I added in chapters for the video to cater for everyone.
I need a few weeks to finish an essay. After that, I plan to binge-watch your videos, and also your course from Udemy I MUST get good with Django I am tired of being just a Frontend
Good luck with the essay! Thank you so much for all the support!! Yes, Django is definitely a valuable framework to know if you want to add to your front-end skills!
Great video. I'd like to put everything onto AWS. I've already done that with a basic Django web site. But how do I put a Celery server on AWS? And how do I put a Redis message broker onto AWS? I think if you added both those things to your series on Django and Celery, that would really be a useful addition.
Hi Andy, Thank you for reaching out and for your feedback. I appreciate it! Regarding your questions. Here is a general guideline to help you: To put a Celery server and Redis message broker on AWS, you can follow these general steps: Launch an Amazon Elastic Compute Cloud (EC2) instance: This will serve as the server for your Celery and Redis setup. Install Celery and Redis: SSH into your EC2 instance and install Celery and Redis using your preferred package manager. Configure Celery: Create a Celery configuration file that defines your Celery app, including the broker URL (Redis) and result backend (e.g., RabbitMQ, Amazon SQS). Configure Redis: Edit the Redis configuration file to allow external connections and set up any necessary authentication. Start the Celery worker: Start a Celery worker process on your EC2 instance, specifying the app and concurrency settings. Test the setup: Send a test task to the Celery worker and ensure it completes successfully. Configure and start Celery beat: If you need periodic tasks, configure and start Celery beat. Secure your setup: Ensure that your Celery and Redis setup is secure by following AWS best practices. That's a very good suggestion, perhaps if I have time, I will make a video on that. Thank you.
@@CloudWithDjango Thank you for the response. As with all things on AWS, that's quite a 'series of events' to negotiate, without getting lost along the way, but I'll give it a go! :-)
My pleasure, Andy! Yes, unfortunately, it's quite a process and rather intense in regards to the necessary steps. There isn't much leeway around that. I would suggest that you take your time each step of the way and go from there. All the best!
You have a very clear way of explaining. It's the simplest thing I've seen so far. I hope more videos like this will come. I want to get some advice from you. How can I reach you?
Thank you, I appreciate your kind feedback. Yes, sure! You are more than welcome to sign-up for my 'coding mentorship/consultant' program, at the following link: www.cloudwithdjango.com/coaching/ Please bear in mind that I do charge a fee for this.
Thank you for the video super helpful, I am running a small application on AWS Fargate its using angular for frontend and django for backend. right now I have 2 containers when i introduce celery does that mean i need a new container for the worker? i think that part is confusing me on how I need to accomplish this. thanks again all great videos
I have a problem connecting to redis server provided by railway. I have a configuraion with django and redis under docker. With redis running into docker it works fine but If I add railway redis url it connect, receive tasks inside redis but don't execute them! What could be the problem?
Start a celery instance:
celery -A worker -l INFO --without-gossip --without-mingle --without-heartbeat -Ofair --pool=solo
Nice video.
Just 1 advice, if a person is viewing this topic, it means he/she already knows how to setup a basic django project. Yes? So instead you can directly jump to the point.
Hi Karan,
Thank you for your feedback. I'm glad that you enjoyed the video.
Some people enjoy structure and to follow-along irrespective of whether they understand an easy or hard topic. And yes you are correct, there are those that want to get straight to the point. This is why I added in chapters for the video to cater for everyone.
I need a few weeks to finish an essay.
After that, I plan to binge-watch your videos, and also your course from Udemy
I MUST get good with Django
I am tired of being just a Frontend
Good luck with the essay! Thank you so much for all the support!! Yes, Django is definitely a valuable framework to know if you want to add to your front-end skills!
Great video. I'd like to put everything onto AWS. I've already done that with a basic Django web site. But how do I put a Celery server on AWS? And how do I put a Redis message broker onto AWS? I think if you added both those things to your series on Django and Celery, that would really be a useful addition.
Hi Andy,
Thank you for reaching out and for your feedback. I appreciate it!
Regarding your questions. Here is a general guideline to help you:
To put a Celery server and Redis message broker on AWS, you can follow these general steps:
Launch an Amazon Elastic Compute Cloud (EC2) instance: This will serve as the server for your Celery and Redis setup.
Install Celery and Redis: SSH into your EC2 instance and install Celery and Redis using your preferred package manager.
Configure Celery: Create a Celery configuration file that defines your Celery app, including the broker URL (Redis) and result backend (e.g., RabbitMQ, Amazon SQS).
Configure Redis: Edit the Redis configuration file to allow external connections and set up any necessary authentication.
Start the Celery worker: Start a Celery worker process on your EC2 instance, specifying the app and concurrency settings.
Test the setup: Send a test task to the Celery worker and ensure it completes successfully.
Configure and start Celery beat: If you need periodic tasks, configure and start Celery beat.
Secure your setup: Ensure that your Celery and Redis setup is secure by following AWS best practices.
That's a very good suggestion, perhaps if I have time, I will make a video on that. Thank you.
@@CloudWithDjango Thank you for the response. As with all things on AWS, that's quite a 'series of events' to negotiate, without getting lost along the way, but I'll give it a go! :-)
My pleasure, Andy!
Yes, unfortunately, it's quite a process and rather intense in regards to the necessary steps. There isn't much leeway around that. I would suggest that you take your time each step of the way and go from there.
All the best!
You have a very clear way of explaining. It's the simplest thing I've seen so far. I hope more videos like this will come. I want to get some advice from you. How can I reach you?
Thank you, I appreciate your kind feedback.
Yes, sure! You are more than welcome to sign-up for my 'coding mentorship/consultant' program, at the following link:
www.cloudwithdjango.com/coaching/
Please bear in mind that I do charge a fee for this.
Thank you for the video super helpful, I am running a small application on AWS Fargate its using angular for frontend and django for backend. right now I have 2 containers when i introduce celery does that mean i need a new container for the worker? i think that part is confusing me on how I need to accomplish this. thanks again all great videos
the weather where you are is partly cloudy (on screen, below left) , is using Django the reason for it?.... hmm.... suspicion
Hahahaha... It's definitely because of Django!
Awesome tutorials, great job!
Thank you so much! Of course, it's a pleasure.
Thank you for such an great video!!
My pleasure! Thank you for taking the time to watch it! :)
Can you pls make one video how to add celery and redis on AWS along with django project?? There are very shoddy resources out there.
Thank you for your suggestion!
I have a problem connecting to redis server provided by railway. I have a configuraion with django and redis under docker. With redis running into docker it works fine but If I add railway redis url it connect, receive tasks inside redis but don't execute them! What could be the problem?
eecution is the problem of celery
Is this enough for a person who's staring to incorporate celery with Django or one must get in more depth
Hi. I'd say that it can be equal to both
Thanks dude perfect video, please keep goin!!!
I appreciate the feedback, thank you! :)
It is a pleasure!
Can we use celery to build activity stream
Hi,
Yes, it should be possible to do so with Celery.
Tnk u but could u pls implement celery beat redis on AWS EC2?
Thank you for the suggestion!
🥳
Woowww thank you very much
My pleasure, Anil! :)