Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "not enough coffee in this world for me"
-
// Rant 1
---
Im literally laughing and crying rn
I tried to deploy a backend on aws Fargate for the first time. Never used Fargate until now
After several days of brainwreck of trial and error
After Fucking around to find out
After Multiple failures to deploy the backend app on AWS Fargate
After Multiple times of deleting the whole infrastructure and redoing everything again
After trying to create the infrastructure through terraform, where 60% of it has worked but the remaining parts have failed
After then scraping off terraform and doing everything manually via AWS ui dashboard because im that much desperate now and just want to see my fucking backend work on aws and i dont care how it will be done anymore
I have finally deployed the backend, successfully
I am yet unsure of what the fuck is going on. I followed an article. Basically i deployed the backend using:
- RDS
- ECS
- ECR
- VPC
- ALB
You may wonder am i fucking retarded to fail this hard for just deploying a backend to aws?
No. Its much deeper than you think. I deployed it on a real world production ready app way.
- VPC with 2 public and 2 private subnets. Private subnets used only for RDS. Public for ALB.
- Everything is very well done and secure. 3 security groups: 1 for ALB (port 80), 1 for Fargate (port 8080, the one the backend is running on), 1 for RDS postgres (port 5432). Each one stacked on top and chained
- custom domain name + SSL certificate so i can have a clean version of the fully working backend such as https://api.shitstain.com
- custom ECS cluster
- custom target groups
- task definitions
Etc.
Right now im unsure how all of this is glued together. I have no idea why this works and why my backend is secure and reachable. Well i do know to some extent but not everything.
To know everything, I'll now ask some dumbass questions:
1. What is ECS used for?
2. What is a task definition and why do i need it?
3. What does Fargate do exactly? As far as i understood its a on-demand use of a backend. Almost like serverless backend? Like i get billed only when the backend is used by someone?
4. What is a target group and why do i need it?
5. Ive read somewhere theres a difference between using Fargate and... ECS (or is it something else)? Whats the difference?
Everything else i understand well enough.
In the meantime I'll now start analyzing researching and understanding deeply what happened here and why this works. I'll also turn all of this in terraform. I'll also build a custom gitlab CI/CD to automate all of this shit and deploy to fargate prod app
// Rant 2
---
Im pissing and shitting a lot today. I piss so much and i only drink coffee. But the bigger problem is i can barely manage to hold my piss. It feels like i need to piss asap or im gonna piss myself. I used to be able to easily hold it for hours now i can barely do it for seconds. While i was sleeping with my gf @retoor i woke up by pissing on myself on her bed right next to her! the heavy warmness of my piss woke me up. It was so embarrassing. But she was hardcore sleeping and didnt notice. I immediately got out of bed to take a shower like a walking dead. I thought i was dreaming. I was half conscious and could barely see only to find out it wasnt a dream and i really did piss on myself in her bed! What the fuck! Whats next, to uncontrollably shit on her bed while sleeping?! Hopefully i didnt get some infection. I feel healthy. But maybe all of this is one giant dream im having and all of u are not real9 -
CERTIFIED RECOVERY SERVICES: CRYPTO RECOVERY EXPERTS YOU CAN TRUST
Certified recovery services is totally incredible! I mean, for real, I never thought that I'd need a miracle to recover from a "simple" software update, but here we are. I was drinking coffee, clicking that update button like a good grown-up, and then out of nowhere—boom—my Bitcoin wallet that held $250,000 was more locked up than my grandad's liquor cabinet on holidays with the family.
Now, my grandfather used to always tell me, "If you're gonna lose your mind, at least do it with a beer in your hand," but you know what—there ain't enough beer in this world when you realize that your recovery word is misspelled. I rechecked that piece of paper a million times hoping that magically the letters would reorder themselves. Spoiler alert—they did not.
Cue the panic. I paced my living room back and forth, talking to my dog as if he knew the solution. Grandad's words came ringing in my head again: "If you mess up, don't cry—fix it. Or at least cry while you're fixing it." So, with the Google at my command and a tear in my eye, I found Certified Recovery Services.
I'll admit, I was skeptical. It was too good to be true, like the TV adverts grandad loved to watch where the mop also made coffee. But necessity created boldness. Right from the first phone call, their customer service was professional but also understanding—like they could tell I was two steps from hugging my laptop and apologizing to it.
They told me the whole thing to me in calming tones and reassured me that all was not lost (though my sanity threatened to be lost). Their updates were so regular, I came to look forward to their emails even more than my pizza delivery man brings mine. Within days—bingo, presto, like magic—my wallet was returned. All $250,000, sitting there as if it never even departed. I nearly kissed one on my screen.
Grandad had a saying: "Life's gonna hit you in the face. Duck, or hire someone wiser than you." And that wiser person, it turns out, was Certified Recovery Services. They saved my money and my blood pressure, at least. So if your web world falls in, don't panic—down a pint, remember grandad's words of wisdom, and ring Certified Recovery Services. They'll sort you out.
Here's Their Info Below:
WhatsApp: (+1(740)258‑1417 )1
