Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. using AWS

using AWS

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
41 Posts 34 Posters 3 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • cm0002@lemmy.worldC [email protected]
    This post did not contain any content.
    A This user is from outside of this forum
    A This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #25

    I never have that problem with Digital Ocean πŸ˜†

    1 Reply Last reply
    3
    • cm0002@lemmy.worldC [email protected]
      This post did not contain any content.
      A This user is from outside of this forum
      A This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #26

      That's why pay-as-you-go payment model is completely unfitting for the world of computers.

      Prices can rack up dramatically without you noticing.

      1 Reply Last reply
      15
      • H [email protected]

        Good point. Maybe it depends on what I want to happen when that load spike comes.

        melodiousfunk@slrpnk.netM This user is from outside of this forum
        melodiousfunk@slrpnk.netM This user is from outside of this forum
        [email protected]
        wrote on last edited by [email protected]
        #27

        Maybe it depends on what I want to happen when that load spike comes.

        I don't know what they wanted to happen, but at my old place the load spike overloaded the UPS units.

        Me: "we really shouldn't be running these at 85 90 95%."

        Brass: "That's not 100. Find room to ingest this company we bought when the CEO made a friend at a circlejerk."

        Overnight server update check: blip

        UPS: Bypass mode, bitches!

        Β―\_(ツ)_/Β―

        1 Reply Last reply
        4
        • cm0002@lemmy.worldC [email protected]
          This post did not contain any content.
          carrylex@lemmy.worldC This user is from outside of this forum
          carrylex@lemmy.worldC This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #28

          1 Reply Last reply
          24
          • cm0002@lemmy.worldC [email protected]
            This post did not contain any content.
            A This user is from outside of this forum
            A This user is from outside of this forum
            [email protected]
            wrote on last edited by [email protected]
            #29

            asdf

            C 1 Reply Last reply
            14
            • P [email protected]

              I'm very new to programming and somehow have a job where I have to write Python scripts. Someone on my team mentioned that we use AWS and now I'm scared. Can someone explain how you accidentally rack up such a bill?

              F This user is from outside of this forum
              F This user is from outside of this forum
              [email protected]
              wrote on last edited by [email protected]
              #30

              AWS has a multitude of different offerings with confusing pricing structures. They have zero incentive to make them understandable.

              That said, chances are your new company has people who understand this already and know how to manage it. Hopefully, they'll put up some guardrails that prevent you and others from running up a big bill. I wouldn't expect a junior programmer to know how to do this, but that's ok as long as the company is managed right. Granted, that can be a big if sometimes.

              1 Reply Last reply
              2
              • oderus@lemmy.worldO [email protected]

                It's actually difficult. You can set a budget so AWS will alert you when you hit it.

                They have a price calculator that'll calculate costs before you do anything.

                Inbound Internet is free. Only outboard costs you anything.

                Network transfers between VPC's using private links are free.

                AWS accounts are free.

                Lambda functions are ultra cheap as you only pay for the time you use it.

                S3 is object storage with 11 9's of uptime and it's cheaper than any enterprise NAS.

                Basically you'd have to setup something wrong and ignore it for weeks to incur a large bill.

                kairubyte@lemmy.dbzer0.comK This user is from outside of this forum
                kairubyte@lemmy.dbzer0.comK This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #31

                Or leak your creds and let a crypto miner in. But your point still stands.

                1 Reply Last reply
                3
                • B [email protected]

                  I enabled Cloudtrail to log all DynamoDB read/write data events when trying to troubleshoot an issue. Even though I only left this enabled for a few days, the Cloudtrail line item was $5k more than it should have been. My back of the napkin math with assumptions came out to be 100 times less than that, so I had a really awkward support email asking them to reverse the charges, which they did fortunately.

                  ronsijm@programming.devR This user is from outside of this forum
                  ronsijm@programming.devR This user is from outside of this forum
                  [email protected]
                  wrote on last edited by [email protected]
                  #32

                  A lot of the times this comes down to a user error.

                  For example, very similar to your case, I knew someone that enabled Cloudtrail, and configured some things to have Cloudtrail logs dumped on S3. Guess what? Dumping things on S3 also creates a Cloudtrail that gets logged to S3 that Cloudtrail logs. Etc

                  Doing things like that and creating a loop can get you massive bills

                  B 1 Reply Last reply
                  3
                  • P [email protected]

                    I'm very new to programming and somehow have a job where I have to write Python scripts. Someone on my team mentioned that we use AWS and now I'm scared. Can someone explain how you accidentally rack up such a bill?

                    ronsijm@programming.devR This user is from outside of this forum
                    ronsijm@programming.devR This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #33

                    Can someone explain how you accidentally rack up such a bill?

                    For example: You can deploy your Python script as a Lambda. Imagine somewhere in the Python script you'd call your own lambda - twice. You basically turned your lambda into a Fork Bomb that will spawn infinite lambdas

                    1 Reply Last reply
                    2
                    • ronsijm@programming.devR [email protected]

                      A lot of the times this comes down to a user error.

                      For example, very similar to your case, I knew someone that enabled Cloudtrail, and configured some things to have Cloudtrail logs dumped on S3. Guess what? Dumping things on S3 also creates a Cloudtrail that gets logged to S3 that Cloudtrail logs. Etc

                      Doing things like that and creating a loop can get you massive bills

                      B This user is from outside of this forum
                      B This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #34

                      Yeah, in my case, I wasn't familiar with the settings for Cloudtrail Data Events, and didn't realize you could select which events to log, based on the actor or resource, as opposed to all events in DynamoDB. That would have saved me a lot processing power to filter the logs to look for the actions I was looking for.

                      1 Reply Last reply
                      0
                      • A [email protected]

                        asdf

                        C This user is from outside of this forum
                        C This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #35

                        There's lots of costs to AWS. They'll rope you in with the whole free tier for compute and storage. But AWS has charges for outbound traffic, detailed logging, elastic IPs, etc.

                        It's a whole job to just do cost analysis for cloud services.

                        1 Reply Last reply
                        1
                        • cm0002@lemmy.worldC [email protected]
                          This post did not contain any content.
                          B This user is from outside of this forum
                          B This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #36

                          You can host your own AWS, Costs ALOTTTT LESS

                          douglasg14b@lemmy.worldD 1 Reply Last reply
                          1
                          • P [email protected]

                            I'm very new to programming and somehow have a job where I have to write Python scripts. Someone on my team mentioned that we use AWS and now I'm scared. Can someone explain how you accidentally rack up such a bill?

                            S This user is from outside of this forum
                            S This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #37

                            If you spin it up, fucking own it. When you're done with it, shut it down. I have long lost count of the number of times I've reached out to a team to ask about the coin miner they are running on some random EC2 instance only to find out that some jackass spun it up for a test, gave it a public IP, set the VPC to allow any inbound traffic, installed all kinds of random crap and then never updated it. Nor did it get shutdown when the test ended. So, a year and a half later, when the software was woefully out of date, someone hacked it and spun up a coin miner. Oh, and the jackass who set it up didn't bother to enable logging or security monitoring. But, they sure as hell needed the ability to spin stuff up on their own. Because working with IT to get it done right would be too hard for their fragile little ego.

                            1 Reply Last reply
                            3
                            • B [email protected]

                              You can host your own AWS, Costs ALOTTTT LESS

                              douglasg14b@lemmy.worldD This user is from outside of this forum
                              douglasg14b@lemmy.worldD This user is from outside of this forum
                              [email protected]
                              wrote on last edited by [email protected]
                              #38

                              You can't really host your own AWS, You can self-host various amalgamations of services that imitate some of the features of AWS, but you can't really self-host your own AWS by any stretch of the imagination.

                              And if you're thinking with something like localstack, that's not what it's for, and it has huge gaps that make it unfit for live deployment (It is after all meant for test and local environments)

                              1 Reply Last reply
                              9
                              • B [email protected]

                                The term you’re looking for is government-subsidized fossil fuels.

                                K This user is from outside of this forum
                                K This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #39

                                Not really. About 55 percent of the power today came from renewables.

                                1 Reply Last reply
                                1
                                • cm0002@lemmy.worldC [email protected]
                                  This post did not contain any content.
                                  M This user is from outside of this forum
                                  M This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #40

                                  My personal best is $4K because of one unchecked option.

                                  1 Reply Last reply
                                  4
                                  • cm0002@lemmy.worldC [email protected]
                                    This post did not contain any content.
                                    Z This user is from outside of this forum
                                    Z This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #41

                                    That's why you self-host!

                                    1 Reply Last reply
                                    1
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups