CodeHiRise (@codehirise) profile picture

Wander in the wonderful world of electronics, web dev and in between

linux server
Joined January 2023
Replying to @ElitzaVasileva
Wow this is great @ElitzaVasileva 🔥
1
1
17
Replying to @HsanC_
Congrats 🎊 its not easy to grow a saas
40
Replying to @brankopetric00
Use EC2 Auto Scaling Groups for horizontal scaling. Use CloudFront CDN for caching with VPC origins via an internal load balancer. Use Redis to cache expensive DB reads and DB read replicas. For writes, use an SQS queue for handling bursts.
820
Replying to @brankopetric00
Monolith on ECS should be a good starting point. Revisit EKS if there is an absolute need for it. Saving money is crucial for a startup in the early stage.
1
274
CodeHiRise retweeted
Replying to @JeremyDeceuster
Yep, that works as a lightweight local guardrail. It makes Socket Firewall the default path for everyday installs. For macOS/Linux users, the equivalent in zsh/bash would be: alias npm="sfw npm" alias yarn="sfw yarn" alias pnpm="sfw pnpm" alias pip="sfw pip" alias uv="sfw uv" alias cargo="sfw cargo"
7
6
1
101
8,608
Day 7 of 7 cloud best practices that can save your production launch 👇 7/7 Tag your cloud resources early. Every resource should have tags like: • Environment • Service name • Owner • Cost center Untagged infrastructure becomes impossible to track as systems grow. #devops
28
Spent a few hours debugging a Next.js app on ECS Service Connect failing health check. Turns out I missed setting HOSTNAME=0.0.0.0 in task definition env vars 🤦‍♂️ #nextjs #aws #devops
41
Try using iac tools like Terraform/Pulumi for your next project. @HashiCorp @PulumiCorp #terraform #pulumi
33
That’s how cloud environments turn into unmanageable snowflakes. With Infrastructure as Code everything is version controlled and reproducible down to the exact state. This makes environment provisioning and management far more predictable.
1
23
Day 6 of 7 cloud best practices that can save your production launch 👇 6/7 Use Infrastructure as Code from day one. Manual cloud changes feel fast early on Until nobody remembers: • What changed • Who changed it • Why it changed #terraform #iac #cloud #devops #aws
1
47
Replying to @tan_stack @TansTack
At this point i think its better to scan every package version by npmjs before publishing.
1
2,128
These values should live in configs, secrets managers, or environment variables not inside your codebase. This will make sure we can easily swap them without costly database backfills. #cloud #devops #software #development #aws
40
Day 5 of 7 cloud best practices that can save your production launch 👇 5/7 Never hardcode environment-specific values into your application. Things like: • Bucket names • Queue URLs • Regions • API endpoints • Database hosts
1
28
But do not run critical customer-facing systems or stateful apps like databases on infrastructure that can disappear with little warning. Before using Spot ask: “What happens if this server vanishes in 30 seconds?” Cheap infrastructure becomes very expensive during outages.
22
Day 4 of 7 cloud best practices that can save your production launch 👇 4/7 Not every workload belongs on Spot instances. Spot is great for: • Batch jobs • Background workers • Temporary workloads If interruption is acceptable, Spot can massively reduce cloud costs.
1
22
Randomly changing outbound IPs will eventually break: • Third-party integrations • Firewall rules • Webhooks • Enterprise whitelisting Static IPs save a surprising amount of operational pain later.
27
Day 3 of 7 cloud best practices that can save your production launch 👇 3/7 Keep your ingress and egress IPs predictable. These are the main entryways and exits to your environment.
1
39
Use: • Public subnets for load balancers and nat gateways • Private subnets for applications and databases A single misconfigured security group should not expose your entire infrastructure. Good network isolation makes your infrastructure secure and keep things organized.
22