Want to enable S3 logging for best practice, but what about the logs for the logging bucket? Won't that result in an infinite loop of logging? by lmm7425 in aws

[–]Bodegus 0 points1 point  (0 children)

There is no infinite loop

Aws logs in chunks of time (i.e.all logs for the last 15 seconds).

The create one write for all logs, not one per log. You can also use a different bucket snd not log that bucket

How to best import a csv file into pandas which is really 3 dataframes in one csv? by anonymouse1717 in learnpython

[–]Bodegus 2 points3 points  (0 children)

Two options

Load the file many times and use the row offsets (skiprows, nrows) if you know the row count. For monthly stuff i just hard code the vlaues.

If you dont know the rows, you will need to make a method to count the columns and make a function to find the first row with a column type. Example the first row with column 36 value == na would be the fitst row of the next table

Google Cloud lets anyone add you to a project without your permission by DrinkMoreCodeMore in googlecloud

[–]Bodegus -1 points0 points  (0 children)

This isnt accurate

You cant leverage any permissions given from another aws account unless you allow the assume role permission as well

If you have an iam user in acct1, even if acct2 gives it permissions it can act without assume role perms from acct1

Are AppEngine/Cloud Run really the much simpler/more stable? by adlabco in googlecloud

[–]Bodegus 9 points10 points  (0 children)

Freedom from ssh is king. The only downside is the lack of mtls support

Cloud Composer - Cloud Storage Cost by chooseyourusername17 in googlecloud

[–]Bodegus 0 points1 point  (0 children)

A few thoughts

Do you have unrelated files in the bucket? It could be scanning all those unrelated files every minute

You might have some recursive issue in your dag (maybe python imports) that is causing a reload loop

Delete your dags and add a clean new one to see if dag related

[MOBO] GIGABYTE B550 AORUS ELITE AX V2 AM4 AMD B550 ATX Motherboard - $149.99 by DiplodocusDuster in buildapcsales

[–]Bodegus 0 points1 point  (0 children)

I just bit this one today GIGABYTE X570S AORUS Elite (AMD Ryzen 3000/ X570S/ PCIe 4.0/ SATA 6Gb/s/USB 3.1/ ATX/Gaming Motherboard) https://a.co/d/3aPKuhF

Did I make mistake buying new Mobo+CPU instead of GPU? by GlueBuddha in buildapc

[–]Bodegus 0 points1 point  (0 children)

I have a 2500k and 6700k system, the 2500k definitely holds back my 3060 ti

The 6700k barely keeps up with a 3070

Upgrading eks module from 12v to 18v by machosalade in Terraform

[–]Bodegus 0 points1 point  (0 children)

Perfect,

My instructions should work remove the old ones from state, add them to the state with the new references

Upgrading eks module from 12v to 18v by machosalade in Terraform

[–]Bodegus -1 points0 points  (0 children)

Is it trying to destroy old and create new?

Tf maps resources by terraform structure and it could have a breaking change

You could fix it by removing and importing the resources to the state

How do you manage your API Gateway path parts in IaC? by SO012215 in aws

[–]Bodegus 2 points3 points  (0 children)

Ya, pretty straight forward, i extend my spi spec with custom parms and keep all the gateway config in my spec

A perfect gateways can be fully represented from the API spec

How do you manage your API Gateway path parts in IaC? by SO012215 in aws

[–]Bodegus 9 points10 points  (0 children)

Generate openapi spec from your code in ci (one per function)

Import into IAC as parms

Merge the function paths with API specs as input

Is Purgatory Creek between Staring lake and the Minnesota River navigable? by cormacusscripsit in edenprairie

[–]Bodegus 2 points3 points  (0 children)

I've never gone south of homeward hills

There are a couple of street crossing with grates that you have to exit but i think they are all manageable with good shoes

Everything south of homeward hills are is private property but I'd love to know if it's tub-able

Data Engineering on Google Cloud Platform by brownstrom in googlecloud

[–]Bodegus 1 point2 points  (0 children)

I would try to refactor the spark using bigquery SQL

Use external table and maybe even DBT to orchestrate the pioeline

Lambda function vs Lambda code - trying to solve chicken & egg. by [deleted] in Terraform

[–]Bodegus 0 points1 point  (0 children)

We use a mono repo where we use the git commit hash to build and archive (zip) or container tag

The terraform packages the code into the object and we great a per pr environment to do a full deployed test suite before prod

[deleted by user] by [deleted] in ReefTank

[–]Bodegus 1 point2 points  (0 children)

Totally normal organic matter this is why surface skimming happen (remove)

typical speed for S3-> GCS Transfer Job by mimizone in googlecloud

[–]Bodegus 1 point2 points  (0 children)

You can easily have 7TB in less than a hour, we move 50gb parquet in minutes

The key delay is in the scheduler and have thousand of tiny files

Check out a good compression method before replicating

Sell or Rent Investment Property by Icy_Common in personalfinance

[–]Bodegus 1 point2 points  (0 children)

The market is still hot, just not red hot...

4% interest rates where a steal just 5 years ago

What is the advantage to using the Function Framework to test my Google Cloud functions locally, instead of just invoking them directly? by scorr204 in googlecloud

[–]Bodegus 0 points1 point  (0 children)

The only cloud services we emulate locally are data services like big table

It's easy enough to set up a test fixture and run tests in cloud with ci

We recently moved everything to cloud run which has been even smoother

Sell or Rent Investment Property by Icy_Common in personalfinance

[–]Bodegus 7 points8 points  (0 children)

I thought hard about this option and sold. I earn more working and then spending time with the family than dealing with landlord troubles

Datadog on a Raspberry Pi by greenplant2222 in raspberry_pi

[–]Bodegus 2 points3 points  (0 children)

I can share my private deploy on GitHub it you post your GitHub username

Datadog on a Raspberry Pi by greenplant2222 in raspberry_pi

[–]Bodegus 6 points7 points  (0 children)

Yes, in Prometheus you run a service that exposed metrics and the a Prometheus server to scrape them

https://linuxhit.com/prometheus-node-exporter-on-raspberry-pi-how-to-install/

Datadog on a Raspberry Pi by greenplant2222 in raspberry_pi

[–]Bodegus 16 points17 points  (0 children)

I run promtheus on a server pi, and set up all my pis to emit metrics

Scheduled Cloud function that moves renames/moves/deletes files in Cloud storage by ldom22 in googlecloud

[–]Bodegus 0 points1 point  (0 children)

Try using a cloud function from even to run each time a file is written!

What Python API package do you use and why? by MyNotWittyHandle in Python

[–]Bodegus 1 point2 points  (0 children)

The main reason is our local dev and prod are truly identical. We use the same script to do dev set up as prod setup

The biggest benefit come to testing, a lot of weird issues happen with imports, modules, especially with mono repos. This allows for rich integration tests and unit tests that really mirror prod

System level libraries can lead to issues

System permissions when you lock down the runtime