AWS Killed Codedamn: Bye AWS, Hello Vercel

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025

Комментарии • 131

  • @ALLINONETECH6
    @ALLINONETECH6 3 года назад +38

    You deserve a very big appreciation for making this video for us even after so much frustration.

  • @shashydass4114
    @shashydass4114 3 года назад +28

    Thanks for posting this. Its important to learn from what goes wrong as well as what goes right. As a dev its really frustrating to have stuff fail when paid for infrastructure breaks from underneath you.

  • @yashlalit3036
    @yashlalit3036 3 года назад +95

    Lol 😂😂😂 just... couple of days ago you made a video on how to scale backend with AWS and today this video pops out can't believe. But very informative video 👍👍.

  • @jose6183
    @jose6183 3 года назад +16

    Thanks for the video. These are the struggles that come with building a business. Lessons learned. Thanks for sincerity and transparency.

    • @gamebuz6030
      @gamebuz6030 3 года назад +2

      You just told what I wanted to convey. Seriously the transparency is highly appreciated!!

  • @awrjkf
    @awrjkf 3 года назад +6

    I enjoy your content about architecture & the back-end so much. Even though I am a front-end dev, I sit down grab coffee & snacks and watch your videos. Gives me a bigger picture of what I am doing. Knowledgeable & fun at the same time.

  • @visheshgarg4523
    @visheshgarg4523 3 года назад +9

    how things have gone in just 3 days

  • @thegreywalker
    @thegreywalker 3 года назад +6

    I watched till the End ... Keep posting more Backend Videos I like them and in a Process to build my Own Startup ... So it helps me a lot .. I am in 12th but Aspiration of having more knowledge drives me to watch every video of yours till the end ... Thanks Mehul Bhaiya it's amazing to learn from you ...

  • @WebDevCody
    @WebDevCody 3 года назад

    We have a multi region active-active setup. It seemed like our west users were unaffected. I’m not sure if saying cloudfront went down because our users could still view the Ui, but yeah maybe deploying new changes during this outage was not working as expected which brought down your ui

    • @codedamn
      @codedamn  3 года назад +1

      you're right, cloudfront was not fully down. It would have kept working fine for us too if only a deployment change would have completely crashed/not propagated. But for some reason, a new deployment did not propagate properly and at the same time the old deployment was invalidated successfully. After this, cloudfront stopped incremental static regeneration for some unknown reason (lambda@edge failing with NoSuchKey errors), and no further deployment was possible for a very long time. I do believe this would mean certain parts of cloudfront were down.

    • @WebDevCody
      @WebDevCody 3 года назад

      @@codedamn curious, did you happen to have multiple origins setup? I’m assuming you had an s3 bucket containing you UI hosted on east, but did you also have another failover origin coiffured?

  • @saurabh9446
    @saurabh9446 3 года назад +4

    I was thinking about codedamn last night when us-east-1 went down 😂. Thanks for posting it though.

  • @koby9340
    @koby9340 3 года назад +4

    Thank you for your transparency Mehul Much respect for you and the team

  • @matrixtoogood5601
    @matrixtoogood5601 3 года назад +13

    AWS has been having too many outages in the past 3-4 years. I have shifted many loads to GCP

  • @sidwebworks9871
    @sidwebworks9871 3 года назад +13

    When Mehul says, that "Something happend, I am still not sure what this reason was."
    You know it's a big issue.

  • @vanshajpoonia1
    @vanshajpoonia1 3 года назад +9

    Bye Vercel, Hello AWS
    bye AWS, Hello Vercel... OP 😂😂

    • @codedamn
      @codedamn  3 года назад +1

      and now back to AWS 😂

  • @kishanbharda9501
    @kishanbharda9501 3 года назад

    There are tons of videos over the internet about how to learn frontend and how to learn backend. But there is only fews resources that shows how actually to put projects on production and which types of issues will be there etc. Thanks for sharing this type of real problems.

  • @tfleming675
    @tfleming675 3 года назад

    Was it Cloud Front? CLoud front needs to get data from Route 53 as you changed domains.

  • @shaunwallace1307
    @shaunwallace1307 3 года назад +2

    Once you move to a more “diy” architecture, you gain flexibility but definitely open yourself up to risk. I would suggest looking at infrastructure as code (terraform) etc for easily migrating from region to region

  • @aadhinana
    @aadhinana 3 года назад

    What about creating cloud formation templatates of your infra to make the switches easier? Wont that work?

  • @linuoud
    @linuoud 3 года назад

    I watched this video till the end. It's good to know what's happening in the backend and what are the options we have to solve this.
    Yeah, it's interesting and helpful.

  • @elamandeep
    @elamandeep 3 года назад +1

    Why don't you use azure or gcp??

    • @tfleming675
      @tfleming675 3 года назад

      They can and have failed as well - multi region would have been helpful

  • @Youngnishantx
    @Youngnishantx 3 года назад

    Why not netlify ??

  • @prathameshdukare
    @prathameshdukare 3 года назад +1

    Thanks Mehul for making this video
    I'll got to know about lots of things
    🤗🤗🤗

  • @rushinparikh6133
    @rushinparikh6133 3 года назад

    Watched till the end. Thanks for all the info.

  • @JagdeepSinghKalsi
    @JagdeepSinghKalsi 3 года назад +1

    I would suggest to use terraform to setup the infrastructure items, to allow setting up a completely new system in a matter of minutes - in a different region

    • @codedamn
      @codedamn  3 года назад +2

      It’s not about IaaC. We already do that. But when global services like cloudfront are facing problems your multi region effort wouldn’t work

    • @JagdeepSinghKalsi
      @JagdeepSinghKalsi 3 года назад +1

      @@codedamn In that case, I'd suggest having IaaC (using Terraform) setup in a way that allows switching to GCP (that's probably the most underrated cloud provider ATM) - playing around with that from some time and it is pretty promising when it comes to global outages like this.
      Automating more than that would probably come under "paranoid-SRE" (in a good way though)

    • @WebDevCody
      @WebDevCody 3 года назад

      @@JagdeepSinghKalsi i haven’t done a multi provider setup using terraform. Is it pretty one-to-one or would it require a lot of refactoring to get your aws code deployed to GcP? It sounds like a lot of work for a smaller business with limited resources.

  • @techworld3043
    @techworld3043 3 года назад

    I am loving your recent videos

  • @jeevankumar8298
    @jeevankumar8298 3 года назад

    Hii sir, I have created two separate next js project one for desktop and another for mobile. Now I want to load specific website based on user-agent, can you please guide me how to configure this on server like vercel. Thanks sir

  • @vrajshah6519
    @vrajshah6519 3 года назад +1

    Hey Mehul, can you make a video about how you guys setup lambda functions for nextjs without using amplify?

    • @codedamn
      @codedamn  3 года назад +2

      we use serverless-nextjs, I'll explain the architecture as a video soon here

  • @sunilpoojari91
    @sunilpoojari91 3 года назад

    Great Video!
    All your videos are very informative. 💯

  • @siemen_subbaiah
    @siemen_subbaiah 3 года назад +3

    Man the thumbnail is 🥵

  • @yogeshvishnole1264
    @yogeshvishnole1264 3 года назад

    Your videos are really highly practical .
    You are superb sir

  • @HariKrishna-mi6is
    @HariKrishna-mi6is 3 года назад

    Great. I am impressed. I am buying full stack course from codedamn

  • @alinawaz4034
    @alinawaz4034 3 года назад

    Thanks for posting this when you are frustrated, relay like your videos\

  • @HarshSingh-hk8fe
    @HarshSingh-hk8fe 3 года назад

    Your'e such a gem big fan sir💯🔥🙏

  • @joelhager3106
    @joelhager3106 3 года назад

    Vercel: 'look who came crawling back...'

  • @coderlicious6565
    @coderlicious6565 2 года назад

    I'm begining to think that I ever think up a good saas idea, that I would need to have my softwarwe running on multiple platforms simultaneiously to make sure it doesn't go down and customers don't get pissed and leave. Like have one copy running on vercel and another on netlify or something like that.

  • @JohnSnow-gi7iv
    @JohnSnow-gi7iv 3 года назад

    Why did you choose US data centers over others

  • @edwardmacnab354
    @edwardmacnab354 3 года назад

    Wow , who would have thought that you would ever need a backup (Plan). It's an Optimistic World out there , a very very trusting one , and therein opens up a world of potential (difficulty)

  • @AntoVinish
    @AntoVinish 3 года назад

    This a great video and your learnings are put together in a nice way. Just a thought what about using a simple http server for hosting the static files as a fallback in any of the existing backend servers to avoid additional infrastructure cost. Of course need to compromise on performance during the fallback as it is going to be temporary.

  • @shyammohankunwar3006
    @shyammohankunwar3006 3 года назад +1

    Just 3 days ago you uploaded Bye Vercel, Hello AWS 🥺🙂

  • @charan775
    @charan775 3 года назад

    curious to know why aren't you using aws Bombay zone? most of your customers are from India right

  • @Musicfan0702
    @Musicfan0702 3 года назад

    Thanks for sharing the experience.

  • @smaranh
    @smaranh 3 года назад

    Video on what is AWS CloudFront, please?

  • @RonaldDas42
    @RonaldDas42 3 года назад +2

    Mutli-Cloud DNS is the way to go. Check the recent HN discussion regarding AWS downtime, it's a goldmine

  • @siddhantkhare1659
    @siddhantkhare1659 3 года назад

    Next Video, Migrating To GCP :)
    Very Informative Video ❤

  • @xoldyckk176
    @xoldyckk176 3 года назад +1

    Why have you hosted it on US based servers aren't there servers in Asia closer to India?

    • @codedamn
      @codedamn  3 года назад +1

      we get global traffic, not just from India. And US servers seems to have the best bandwidth rates/network capacities

    • @xoldyckk176
      @xoldyckk176 3 года назад

      @@codedamn oh that's good. I thought you were an Indian startup so you'd get most of the traffic from India.

  • @poujhit
    @poujhit 3 года назад +2

    What a turn of events.

  • @tomislavbalabanov8008
    @tomislavbalabanov8008 3 года назад

    The thing is that if you are not following the 5 pillars of AWS which literally is telling you to deploy to multiple regions/zones/edges whatever you can, depending on the scenario ( if that's not your plan, then you are better off using some VPS services like DO, Vultr, Linode etc..). The main idea of AWS is to go global in minutes and automatically recover from failure and you should've setup a disaster recovery plan. The thing you mentioned that you don't want to create a EC2 instance in some other Region is no-brainier, since Vercel actually is doing the same to you, they are hosting on AWS so us-east-1 is down for them as well, so they are hosting your website on some other region as well, the only difference is that they have that automated, and it's pretty easy to set it up. Why would you not want to create a new instance in another region? It could be on-demand instance so you will not be billed if it's not used at the moment.
    Maybe your next video should be a lesson learned and how to setup AWS the correct way :)
    Btw. no offense, I enjoy watching your videos and have learned a ton of stuff, but this is just a recommendation! :)

    • @codedamn
      @codedamn  3 года назад +1

      I think most people missed the point in the video. We had the capacity to recover the backend very quickly. The problem was that cloudfront deployment went down. Cloudfront is a global service by AWS having something critical in us-east-1. Therefore it doesn’t matter if you were multi region because if you triggered a cloudfront deployment update yesterday your website would go down. To avoid total failure for yesterday, the ONLY solution was multi-cloud. Not multi region

    • @codedamn
      @codedamn  3 года назад +1

      Vercel is NOT using AWS Cloudfront - the entry point for a Nextjs website. They have their own CDNs. We don’t use vercel for Backends (then and now)

    • @tomislavbalabanov8008
      @tomislavbalabanov8008 3 года назад

      @@codedamn That's true, because they need to instantly purge the cache for incremental static generation. Which in this case saved them from being down.
      My point was, that if you didn't started the rebuild of the website, but leave it as it is, since it was not part impact, but instead just rebuild the backend on different region, you would've had the issue that you had.

  • @Ashwin.Ravichandran
    @Ashwin.Ravichandran 3 года назад

    😂😂😂great chain of contents from you

  • @saikumarkandikonda431
    @saikumarkandikonda431 3 года назад

    Till the end as always

  • @iHariPatel
    @iHariPatel 3 года назад

    Does your company has sponsors?

  • @mukeshbisht2411
    @mukeshbisht2411 3 года назад

    Thanks for sharing. Bro..awesome

  • @stephenajulu
    @stephenajulu 3 года назад

    Thanks for this video!

  • @sundayamizo
    @sundayamizo 3 года назад +1

    Well well well, how the turn tables.

  • @mdfaiyazulhussain8752
    @mdfaiyazulhussain8752 3 года назад

    Respect for you and your team mehul.

  • @devmrin
    @devmrin 3 года назад +1

    Lol, request to make this a series now Mehul 😄

  • @abhishekvishwakarma9045
    @abhishekvishwakarma9045 3 года назад +1

    8:00 lol moment🤣 can't stop laughing, jokes apart, great insights from every bit of video 🔥

  • @yogeshvishnole1264
    @yogeshvishnole1264 3 года назад

    I WATCHED THIS VIDEO TILL THE END!

  • @itsprabinkumarbaniya
    @itsprabinkumarbaniya 3 года назад

    I watched this video till the end 👍

  • @arlandmv4053
    @arlandmv4053 3 года назад

    thank you for the info

  • @VenkatGudavalli
    @VenkatGudavalli 3 года назад +1

    When US cloud services rain
    Indian businesses get floods

  • @wsh4and
    @wsh4and 3 года назад

    Lol, I just saw your video about moving from vercel to aws and now you’re moving back to vercel? So confusing lol

  • @surajbisht5224
    @surajbisht5224 3 года назад +1

    Is this what they call irony ?

  • @abdulrenishr
    @abdulrenishr 3 года назад

    Appreciated

  • @infiniteloop1709
    @infiniteloop1709 3 года назад +2

    Seems like you are having a love-hate relationship with vercel

    • @codedamn
      @codedamn  3 года назад +3

      love the platform hate the pricing beyond 1TB bandwidth

  • @notyournormaldev1419
    @notyournormaldev1419 3 года назад

    😂😂👌 main twist after mid of the video he himself laughs 😅

  • @tonyfield5407
    @tonyfield5407 Год назад

    Watched till end

  • @SHARDULKAUSHIK106
    @SHARDULKAUSHIK106 3 года назад

    I watched this video till the end.

  • @namesongaudel5363
    @namesongaudel5363 3 года назад

    It was at this moment that he knew he f*cked up

  • @soaring_dove
    @soaring_dove 3 года назад +1

    People get night sweats, you on the other hand, sweat the nights off trying to keep an orchestra alive. 🤣

  • @twerkyfingers
    @twerkyfingers 2 года назад

    Love your content

  • @stephenajulu
    @stephenajulu 3 года назад

    I watched this video till the end

  • @claystation6360
    @claystation6360 3 года назад

    lol I saw your last video on bye vercel/aws. If you end up staying with vercel let us know haha

    • @codedamn
      @codedamn  3 года назад

      no we're back on aws 😂

  • @jamesvelopmenthagood8998
    @jamesvelopmenthagood8998 3 года назад

    Things change fast apparently

  • @suryavirkapur
    @suryavirkapur 3 года назад

    GCP + Cloudflare 👑

  • @adarshkmr93
    @adarshkmr93 3 года назад

    bollywood script right here codedamn x vercel

  • @amnotagamer6750
    @amnotagamer6750 3 года назад

    Brother can u please make video in Gatsby vs next am totally confused please will be waiting for your video brother

  • @rahathosen8441
    @rahathosen8441 3 года назад

    welcome to Vercel again😁

  • @VenkatGudavalli
    @VenkatGudavalli 3 года назад

    2lakh subs🥁

  • @musbell
    @musbell 3 года назад

    Lol 😂. Welcome back

    • @codedamn
      @codedamn  3 года назад

      nah 😂 we're back on aws

    • @musbell
      @musbell 3 года назад

      @@codedamn Farewell : )

  • @officialismailshah
    @officialismailshah 3 года назад

    You are giving your best to the yt that's inspires me... Great Content.....

  • @kathirkarthik2602
    @kathirkarthik2602 3 года назад

    i watched this video till the end

  • @avinashsudhanshu
    @avinashsudhanshu 3 года назад

    I saw one of your video, stating why you swiched to aws from varcel...... Please settle this for once

    • @codedamn
      @codedamn  3 года назад

      I am stunned by the ignorance when people comment without watching the video

    • @codedamn
      @codedamn  3 года назад

      We did not move permanently back to vercel, only for the downtime associated with deployments with cloudfront. Please watch the video :(

  • @mukulr5171
    @mukulr5171 3 года назад

    🙌

  • @srohith9
    @srohith9 3 года назад

    I watched till the End

  • @asutoshpanda1508
    @asutoshpanda1508 3 года назад

    I watched till end

  • @soulninjadev
    @soulninjadev 3 года назад

    lol 😂😂 I love these videos

  • @ankitagarwal4914
    @ankitagarwal4914 3 года назад

    Hello Codedamn- I see there is a video of yours on 5 Dec 2021 (Bye Vercel , Hello AWS-ruclips.net/video/Do92vKNr3Og/видео.html).
    And after 3 days there is another "Bye AWS, Hello Vercel". I am bit confused, please clarify or summarize both videos.
    I really appreciate your tutorials

  • @ruffdmx99
    @ruffdmx99 3 года назад

    Didn't you just make a video about leaving Vercel due to their billing and bandwidth prices?

    • @codedamn
      @codedamn  3 года назад

      I did, and our company account on vercel is still frozen due to billing issues - I moved the codedamn deployment for 12 hours on my hobby account while AWS fixed the cloudfront issues.

  • @ralphluedecke
    @ralphluedecke 3 года назад

    Another fact why being in the community.

  • @vernevens1598
    @vernevens1598 11 месяцев назад

    When you trust corruption you get what you deserve

  • @ancoorbanerjee
    @ancoorbanerjee 3 года назад

    Bro, you jinxed AWS nothing else. AWS must be blaming you for that as well. 😂😂😂

  • @CypherAFhhhh
    @CypherAFhhhh 3 года назад

    One word: Varnish.

  • @srinjoychoudhury2246
    @srinjoychoudhury2246 3 года назад

    Cloudflare is the way

  • @iHariPatel
    @iHariPatel 3 года назад +1

    Omg

  • @roguegenesis7020
    @roguegenesis7020 3 года назад

    Lol that was fast

  • @pritpalsingh5927
    @pritpalsingh5927 3 года назад

    😂😂😂😂

  • @stancobridge
    @stancobridge 3 года назад

    lol... to fro

    • @codedamn
      @codedamn  3 года назад

      Anything to keep the site live

  • @belaldif6689
    @belaldif6689 3 года назад

    You can use flux instead, a decentralized AWS ❤❤

  • @charan775
    @charan775 3 года назад

    vercel itsel uses aws ig

    • @codedamn
      @codedamn  3 года назад +1

      they don't use cloudfront CDN. They have their own/custom CDN implementation. That's why vercel new deployments were unaffected yesterday

  • @fawazsullia5620
    @fawazsullia5620 3 года назад

    Bruh, make up your mind xD

    • @codedamn
      @codedamn  3 года назад

      It IS AWS. Can’t help if you’d not watch the full video :)

    • @fawazsullia5620
      @fawazsullia5620 3 года назад

      @@codedamn Chill man. Just messing around. Love your videos

  • @emon-ahmed
    @emon-ahmed 3 года назад

    I don't Know BUT I Think, Your Video's Title is Going To be Negative Day By Day. Please Put Positive Titles Man. This is a very bad way to get views.