i tried to follow along with you to set up kamal using postgresql and digitalOcean and i was really upset with other videos out there as they dont show the simple way to deploy and i always have errrors at runtime so by far i hope i can still follow what i see from your video and make it work i hope
Hopefully this video helps you get unstuck! However, this video uses an older version of Kamal so there are a few differences compared to the latest 2.x version. I have another video in my channel talking about the differences in case you get stuck. If you need help, feel free to reach out to me any time.
Kamal 2 deprecated the kamal env push command shown in this tutorial. That could be a good timing for a version 2 of this video, with another cloud provider?
Sorry if there was any confusion on this older video - at the time I published it I didn't know Kamal would change a lot in a short time! I have a video on this channel that covers how to upgrade to Kamal 2.0, which mentions that this command is no longer available. It would be great to make an updated version of this video, so I'll do my best to make that happen. Thanks for the suggestion!
Awesome video! One point though - doesn't manually running kamal setup kind of defeat the purpose of using terraform in the first place? We have multiple prod and non-prod environments running on Kamal and I'm trying to automate the provisioning of new envs through terraform, but this seems to be the only manual step in the entire journey
You can likely automate this whole process, from provisioning servers with Terraform to running that initial kamal setup command. Depending on how complex your setup is, you should be able to handle this with just about any CI/CD solution out there. I think Kamal isn't really built for this type of scenario, though, so I can see it getting messy quickly, especially if you need to do a lot of templating/modifiying the deploy.yml file for Kamal. If you're scaling up your app through multiple services, you're probably better off creating a golden image of your initial Kamal setup that you can use when provisioning new servers so you can bypass that step, and can simply focus on updating the Docker container for your app
Thanks for the suggestion, I'll work on this! I have a video showing how to set up SSL using load balancers, but it would also be nice to have a video showing how to use it on a single server since not everyone needs a load balancer for small apps.
i tried to follow along with you to set up kamal using postgresql and digitalOcean and i was really upset with other videos out there as they dont show the simple way to deploy and i always have errrors at runtime so by far i hope i can still follow what i see from your video and make it work i hope
Hopefully this video helps you get unstuck! However, this video uses an older version of Kamal so there are a few differences compared to the latest 2.x version. I have another video in my channel talking about the differences in case you get stuck. If you need help, feel free to reach out to me any time.
Absolutely fantastic and so comprehensive!
Thank you.
Thank you so much, I'm glad you found it valuable!
Kamal 2 deprecated the kamal env push command shown in this tutorial. That could be a good timing for a version 2 of this video, with another cloud provider?
Sorry if there was any confusion on this older video - at the time I published it I didn't know Kamal would change a lot in a short time! I have a video on this channel that covers how to upgrade to Kamal 2.0, which mentions that this command is no longer available. It would be great to make an updated version of this video, so I'll do my best to make that happen. Thanks for the suggestion!
Awesome video! One point though - doesn't manually running kamal setup kind of defeat the purpose of using terraform in the first place? We have multiple prod and non-prod environments running on Kamal and I'm trying to automate the provisioning of new envs through terraform, but this seems to be the only manual step in the entire journey
You can likely automate this whole process, from provisioning servers with Terraform to running that initial kamal setup command. Depending on how complex your setup is, you should be able to handle this with just about any CI/CD solution out there.
I think Kamal isn't really built for this type of scenario, though, so I can see it getting messy quickly, especially if you need to do a lot of templating/modifiying the deploy.yml file for Kamal.
If you're scaling up your app through multiple services, you're probably better off creating a golden image of your initial Kamal setup that you can use when provisioning new servers so you can bypass that step, and can simply focus on updating the Docker container for your app
Please make a video about ssl certificates in this config
Thanks for the suggestion, I'll work on this! I have a video showing how to set up SSL using load balancers, but it would also be nice to have a video showing how to use it on a single server since not everyone needs a load balancer for small apps.