News for hackers. Stuff that matters.

colomofo

It depends how you deploy the app containers.

If you use a container orchestration service (ECS, GKE) then you use that system to upgrade container image with new app versions.

If you use autoscaling groups / managed instance groups, then you use that to replace VMs with new ones running containers with the new app image.

Using rolling updates, the load balancer drains connections to a container and then it is replaced.

Ideally this is done using your IaC system. So a deployment just involves changing the container image (app version) and applying the update.

Yeah, I'd never use SMS for 2FA in 2023. Mine is not a security sensitive use-case.

I'm currently planning to use Twilio or Plivo with their Lookup APIs to filter out VOIP-type phone numbers and to send messages.

The lookups seem to basically double the cost (for U.S. numbers) but is still relatively affordable.

Somewhat worried about A2P 10DLC since I've never dealt with it and don't know how much of a blocker or delayer it is.

I'd really just like a cheaper (but reliable) service that combines texts to exclusively personal mobile numbers.

Cloud SQL from GCP or RDS from AWS should both work just fine. They're just about the only companies I trust managed databases from.
I've built infra for a lot of different orgs over a long period of time. My recommendation is that unless (and until) you're building for scale, you Keep It Simple, Stupid (KISS).

Use an IaC system (Terraform, Pulumi, etc) to manage everything from Day 1:

1. Use a major cloud provider (AWS or GCP, probably)

2. Get a managed HTTP load balancer (ELB, ALB, whatever)

3. Run your app on 3+ containers behind it (running on bare VMs, K8S, whatever you prefer)

4. Set up a managed database cluster with Postgres or MySQL

5. Run 2 machines (for redundancy) for asynchronous jobs (using cron, a message bus, or DIY)

6. Store any large files in cloud storage and put them behind a CDN

That's all 99% of companies will ever need to do. These are all old technologies that Just Work.

Ask HN: What are the best services for sending texts to real numbers?

Hoping to get some advice from other HN startup people.I'd like to send SMS messages to users that are 100% opt-in and welcomed by the users. Nothing to do with spam.But I only want to send SMS messages to users with "real" cell phone numbers because I'd like to also use it as a abuse-reduction mechanism.And I'd like to restrict costs so that I'm not spending more than...

( Read More... | 4 comments | 2 points | on HN )

Ask HN: Colo recommendations and pricing in Silicon Valley for startups?

Hey fellow HN'ers, working on a rapidly growing startup and I need to get some servers racked. I've done it many times but it's been a few years since I've set up anything in Silicon ValleyWondering if anyone can recommend some South Bay (San Jose, Sunnvale, Santa Clara, or nearby) colocation facilities and share pricing?I'd love to rent a small cage (3-9 racks) but willing...

( Read More... | 1 comment | on HN )