Hacker News new | ask | show | jobs
by narenkmano 1094 days ago
Congrats on the launch! I've had to deploy python/java services on AWS ECS services (for blue-green deploys) multiple times over the last six months and it's always been a pain to setup it up. Especially in a startup where I want to move as fast as possible it's been a pain to set up manually.

Is that something that is easy to setup with Argonaut?

2 comments

This is central to what we do. I'd be happy to give you a demo. How it is done: (1) kubernetes and some essential tools for certificate and ingress management are setup. (2) connect github or gitlab repos and you get a push to deploy experience as the CI gets setup

I assume you are already containerized, so there is not much to be done. There is a one time setup of a kubernetes cluster (EKS) that aws takes about 25mins for.

This will give you a rolling zero down-time deploy out of the box along with a few other goodies. You can checkout a quick demo here (~4m) - https://www.youtube.com/watch?v=8DZsYXxA2tQ

Are you using terraform?
No, doing everything by hand in the console, which has been super annoying. But don't want to spend time setting up terraform right now.
You're going to waste more time setting things up by hand. It's also error prone, and when you have to replicate things across environments (dev, test, prod, at a minimum), you'll spend a ton of time figuring out what you missed.

The console is really only meant for prototyping. AWS should really emphasize this more.

How does one convert a prototype generated by clicking around in the console - into terraform code? Is there a best practice approach?
Check out Former2.
As an aside: argonaut sets everything up using terraform (everything is autogenerated from templates), though the tf code itself is not yet exposed to users. We're working on that functionality soon.
Well, that's likely the issue. You're spending more time avoiding doing it the way that will make everything go more smoothly